use of org.vcell.vmicro.op.ImportRawTimeSeriesFromHdf5FluorOp in project vcell by virtualcell.
the class ImportRawTimeSeriesFromHdf5Fluor method compute0.
@Override
protected void compute0(TaskContext context, ClientTaskStatusSupport clientTaskStatusSupport) throws Exception {
// get input
int zSlice = context.getDataWithDefault(zSliceIndex, 0);
File hdf5File = new File(context.getData(this.vcellHdf5File));
String fluorName = context.getData(this.fluorDataName);
Double maxFluor = context.getData(this.maxIntensity);
Boolean isNoise = context.getData(this.bNoise);
// do op
ImportRawTimeSeriesFromHdf5FluorOp op = new ImportRawTimeSeriesFromHdf5FluorOp();
ImageTimeSeries<UShortImage> timeRawData = op.importTimeSeriesFromHDF5Data(hdf5File, fluorName, maxFluor, isNoise, zSlice);
// set output
context.setData(rawTimeSeriesImages, timeRawData);
}
Aggregations