Search in sources :

Example 1 with ImportRawTimeSeriesFromHdf5FluorOp

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);
}
Also used : ImportRawTimeSeriesFromHdf5FluorOp(org.vcell.vmicro.op.ImportRawTimeSeriesFromHdf5FluorOp) UShortImage(cbit.vcell.VirtualMicroscopy.UShortImage) File(java.io.File)

Aggregations

UShortImage (cbit.vcell.VirtualMicroscopy.UShortImage)1 File (java.io.File)1 ImportRawTimeSeriesFromHdf5FluorOp (org.vcell.vmicro.op.ImportRawTimeSeriesFromHdf5FluorOp)1