Search in sources :

Example 1 with ImportRawTimeSeriesFrom2DVCellConcentrationsOp

use of org.vcell.vmicro.op.ImportRawTimeSeriesFrom2DVCellConcentrationsOp in project vcell by virtualcell.

the class ImportRawTimeSeriesFrom2DVCellConcentrations method compute0.

@Override
protected void compute0(TaskContext context, ClientTaskStatusSupport clientTaskStatusSupport) throws Exception {
    // set inputs
    File vcellSimLog = context.getData(vcellSimLogFile);
    String fluorFuncName = context.getData(fluorFunctionName);
    Double maximumIntensity = context.getData(maxIntensity);
    Boolean enableNoise = context.getData(bNoise);
    // do op
    ImportRawTimeSeriesFrom2DVCellConcentrationsOp op = new ImportRawTimeSeriesFrom2DVCellConcentrationsOp();
    ImageTimeSeries<UShortImage> imageTimeSeries = op.importRawTimeSeries(vcellSimLog, fluorFuncName, maximumIntensity, enableNoise);
    // set output
    context.setData(rawTimeSeriesImages, imageTimeSeries);
}
Also used : ImportRawTimeSeriesFrom2DVCellConcentrationsOp(org.vcell.vmicro.op.ImportRawTimeSeriesFrom2DVCellConcentrationsOp) UShortImage(cbit.vcell.VirtualMicroscopy.UShortImage) File(java.io.File)

Aggregations

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