public class ExtractSlice extends Task<NamedChannelsInput,SharedStateSelectedSlice>
Expects a second-level output "stack" to determine which slices are outputted or not.
Constructor and Description |
---|
ExtractSlice() |
executeJob, isInputCompatibleWith
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
public SharedStateSelectedSlice beforeAnyJobIsExecuted(Outputter outputter, ConcurrencyPlan concurrencyPlan, List<NamedChannelsInput> inputs, ParametersExperiment parameters) throws ExperimentExecutionException
Task
Task.executeJob(org.anchoranalysis.experiment.task.ParametersUnbound<T, S>)
.beforeAnyJobIsExecuted
in class Task<NamedChannelsInput,SharedStateSelectedSlice>
outputter
- the output-manager for the experiment (not for an individual job)concurrencyPlan
- available numbers of processors that can call Task.executeJob(org.anchoranalysis.experiment.task.ParametersUnbound<T, S>)
inputs
- a list of inputs, each will result in at least one call to Task.executeJob(ParametersUnbound)
.parameters
- the experiment-parameters.Task.executeJob(org.anchoranalysis.experiment.task.ParametersUnbound<T, S>)
and to Task.afterAllJobsAreExecuted(S, org.anchoranalysis.io.output.outputter.InputOutputContext)
.ExperimentExecutionException
- if a fatal error occurs executing this step of the
experiment.public InputTypesExpected inputTypesExpected()
Task
This is usually the class of T (or sometimes the absolute base class InputFromManager).
inputTypesExpected
in class Task<NamedChannelsInput,SharedStateSelectedSlice>
public void doJobOnInput(InputBound<NamedChannelsInput,SharedStateSelectedSlice> input) throws JobExecutionException
Task
doJobOnInput
in class Task<NamedChannelsInput,SharedStateSelectedSlice>
input
- the input for the job.JobExecutionException
- if an error occurs executing a particular job, that is not
otherwise suppressed.public void afterAllJobsAreExecuted(SharedStateSelectedSlice sharedState, InputOutputContext context) throws ExperimentExecutionException
Task
Task.executeJob(org.anchoranalysis.experiment.task.ParametersUnbound<T, S>)
.afterAllJobsAreExecuted
in class Task<NamedChannelsInput,SharedStateSelectedSlice>
sharedState
- the shared-statecontext
- IO-context for experiment (not for an individual job)ExperimentExecutionException
- if a fatal error occurs executing this step of the
experiment.public OutputEnabledMutable defaultOutputs()
Task
defaultOutputs
in class Task<NamedChannelsInput,SharedStateSelectedSlice>
public boolean hasVeryQuickPerInputExecution()
Task
hasVeryQuickPerInputExecution
in class Task<NamedChannelsInput,SharedStateSelectedSlice>
public FeatureListProvider<FeatureInputStack> getScoreProvider()
public void setScoreProvider(FeatureListProvider<FeatureInputStack> scoreProvider)
public StackProvider getStackEnergy()
public void setStackEnergy(StackProvider stackEnergy)
public boolean isFindMaxima()
public void setFindMaxima(boolean findMaxima)
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.