Class IndependentChannels
Converts each channel independently and creates a single-channeled stack from the conversion.
An identical channel-name is used to identify it among the outputted stacks.
- Author:
- Owen Feehan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconvert
(Set<String> channelNames, ChannelGetterForTimepoint channelGetter, Logger logger) Converts a particular set of channels.boolean
Iff true and we cannot find a channel in the file, we ignore it and carry onvoid
setIgnoreMissingChannel
(boolean ignoreMissingChannel) Iff true and we cannot find a channel in the file, we ignore it and carry onMethods inherited from class org.anchoranalysis.bean.AnchorBean
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
-
Constructor Details
-
IndependentChannels
public IndependentChannels()
-
-
Method Details
-
convert
public NamedStacks convert(Set<String> channelNames, ChannelGetterForTimepoint channelGetter, Logger logger) throws OperationFailedException Description copied from class:ChannelConvertStyle
Converts a particular set of channels.- Specified by:
convert
in classChannelConvertStyle
- Parameters:
channelNames
- a set of names of the channels to convert.channelGetter
- gets a particular channel at a particular time-point.logger
- the logger.- Returns:
- the results of the conversion.
- Throws:
OperationFailedException
- if the conversion fails to successfully complete.
-
isIgnoreMissingChannel
public boolean isIgnoreMissingChannel()Iff true and we cannot find a channel in the file, we ignore it and carry on -
setIgnoreMissingChannel
public void setIgnoreMissingChannel(boolean ignoreMissingChannel) Iff true and we cannot find a channel in the file, we ignore it and carry on
-