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);
}
Aggregations