Search in sources :

Example 1 with RunRefSimulationOp

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

the class RunRefSimulation method compute0.

@Override
protected void compute0(TaskContext context, final ClientTaskStatusSupport clientTaskStatusSupport) throws Exception {
    // get input
    ImageTimeSeries<FloatImage> normTimeSeries = context.getData(normalizedTimeSeries);
    ROI cellROI = context.getData(cellROI_2D);
    double referenceDiffusionRate = 1.0;
    // do op
    RunRefSimulationOp op = new RunRefSimulationOp();
    ImageTimeSeries<FloatImage> solution = op.compute0(cellROI, normTimeSeries, referenceDiffusionRate, context.getLocalWorkspace(), clientTaskStatusSupport);
    // set output
    context.setData(refSimTimeSeries, solution);
    context.setData(refSimDiffusionRate, referenceDiffusionRate);
}
Also used : RunRefSimulationOp(org.vcell.vmicro.op.RunRefSimulationOp) FloatImage(cbit.vcell.VirtualMicroscopy.FloatImage) ROI(cbit.vcell.VirtualMicroscopy.ROI)

Aggregations

FloatImage (cbit.vcell.VirtualMicroscopy.FloatImage)1 ROI (cbit.vcell.VirtualMicroscopy.ROI)1 RunRefSimulationOp (org.vcell.vmicro.op.RunRefSimulationOp)1