public final class SequenceSettings
extends java.lang.Object
Maintainer note: This should be an interface, but kept as a class for backward compatibility.
Modifier and Type | Class and Description |
---|---|
static class |
SequenceSettings.Builder
SequenceSettings Builder.
|
Modifier and Type | Field and Description |
---|---|
int |
cameraTimeout
Deprecated.
use Builder and cameraTimeout() instead
|
java.lang.String |
channelGroup
Deprecated.
use Builder and channelGroup() instead
|
java.util.ArrayList<ChannelSpec> |
channels
Deprecated.
use Builder and channels() instead
|
java.lang.String |
comment
Deprecated.
use Builder and comment() instead
|
java.util.ArrayList<java.lang.Double> |
customIntervalsMs
Deprecated.
use Builder and customIntervalsMs() instead
|
double |
intervalMs
Deprecated.
use Builder and intervalMs() instead
|
boolean |
keepShutterOpenChannels
Deprecated.
use Builder and keepShutterOpenChannels() instead
|
boolean |
keepShutterOpenSlices
Deprecated.
use Builder and keepShutterOpenSlices() instead
|
int |
numFrames
Deprecated.
use Builder and numFrames() instead
|
java.lang.String |
prefix
Deprecated.
use Builder and prefix() instead
|
boolean |
relativeZSlice
Deprecated.
use Builder and relativeZSlice() instead
|
java.lang.String |
root
Deprecated.
use Builder and root() instead
|
boolean |
save
Deprecated.
use Builder and save() instead
|
boolean |
shouldDisplayImages
Deprecated.
use Builder and shouldDisplayImages() instead
|
int |
skipAutofocusCount
Deprecated.
use Builder and skipAutofocusCount() instead
|
java.util.ArrayList<java.lang.Double> |
slices
Deprecated.
use Builder and slices() instead
|
boolean |
slicesFirst
Deprecated.
use Builder and slicesFirst() instead
|
boolean |
timeFirst
Deprecated.
use Builder and timeFirst() instead
|
boolean |
useAutofocus
Deprecated.
use Builder and useAutofocus() instead
|
boolean |
useCustomIntervals
Deprecated.
use Builder and useCustomIntervals() instead
|
boolean |
usePositionList
Deprecated.
use Builder and usePositionList() instead
|
static double |
Version |
double |
zReference
Deprecated.
use Builder and zReference() instead
|
Modifier and Type | Method and Description |
---|---|
int |
acqOrderMode()
Order of the various axes during acquisition as defined in
AcqOrderMode . |
int |
cameraTimeout()
Minimum camera timeout, in ms, for sequence acquisitions
(actual timeout depends on exposure time and other factors).
|
java.lang.String |
channelGroup()
Configuration group used to define channels used in the acquisition.
|
java.util.ArrayList<ChannelSpec> |
channels()
List with channel definitions to be used in the acquisition.
|
java.lang.String |
comment()
Text comment to be attached to the acquired data.
|
SequenceSettings |
copy()
Deprecated.
When used correctly, SequenceSettings are immutable.
If you really need a copy, use copyBuilder().build();
|
SequenceSettings.Builder |
copyBuilder() |
java.util.ArrayList<java.lang.Double> |
customIntervalsMs()
Time intervals between the starts of time points in milliseconds.
|
int |
displayTimeUnit()
Time unit, only used to store preferred way to display the time.
|
static SequenceSettings |
fromJSONStream(java.lang.String stream) |
double |
getVersion() |
double |
intervalMs()
Desired interval between the start of two consecutive time points in milliseconds.
|
boolean |
keepShutterOpenChannels()
Whether to keep shutter open during channel changes.
|
boolean |
keepShutterOpenSlices()
Whether to keep shutter open during z-stack stage movements.
|
int |
numFrames()
Number of time points to be acquired.
|
java.lang.String |
prefix()
Acquisition name.
|
boolean |
relativeZSlice()
Whether to base the z Top and Bottom for a z stack relative to a referent position
or treat them as absolute values.
|
java.lang.String |
root()
Directory where data will be saved.
|
boolean |
save()
Whether the data acquisition should be stored on disk.
|
Datastore.SaveMode |
saveMode()
File format to be used to save this acquisition when
save() is set. |
boolean |
shouldDisplayImages()
Whether to display acquired data.
|
int |
skipAutofocusCount()
how many autofocus opportunities to skip.
|
java.util.ArrayList<java.lang.Double> |
slices()
Z- drive positions to be used to acquire a z-stack.
|
double |
sliceZBottomUm()
Start position of the z-stack in microns.
|
double |
sliceZStepUm()
Distance the z-drive should travel between steps when acquiring a z-stack.
|
double |
sliceZTopUm()
End position of the z-stack in microns.
|
static java.lang.String |
toJSONStream(SequenceSettings settings) |
boolean |
useAutofocus()
Whether to use autofocus before each time point / position.
|
boolean |
useChannels()
Whether to acquire multiple channels during the acquisition.
|
boolean |
useCustomIntervals()
Whether to use custom time intervals defined
customIntervalsMs() . |
boolean |
useFrames()
Whether to acquire multiple time points during the acquisition.
|
boolean |
usePositionList()
Whether to acquire at multiple positions (defined in the positionList).
|
boolean |
useSlices()
Whether to acquire z stacks during the acquisition.
|
double |
zReference()
referent z position for relative moves.
|
public static final double Version
@Deprecated public int numFrames
@Deprecated public double intervalMs
@Deprecated public boolean useCustomIntervals
@Deprecated public java.util.ArrayList<java.lang.Double> customIntervalsMs
@Deprecated public java.util.ArrayList<ChannelSpec> channels
@Deprecated public java.util.ArrayList<java.lang.Double> slices
@Deprecated public boolean relativeZSlice
@Deprecated public boolean slicesFirst
@Deprecated public boolean timeFirst
@Deprecated public boolean keepShutterOpenSlices
@Deprecated public boolean keepShutterOpenChannels
@Deprecated public boolean useAutofocus
@Deprecated public int skipAutofocusCount
@Deprecated public boolean save
@Deprecated public java.lang.String root
@Deprecated public java.lang.String prefix
@Deprecated public double zReference
@Deprecated public java.lang.String comment
@Deprecated public java.lang.String channelGroup
@Deprecated public boolean usePositionList
@Deprecated public int cameraTimeout
@Deprecated public boolean shouldDisplayImages
@Deprecated public SequenceSettings copy()
public SequenceSettings.Builder copyBuilder()
public int numFrames()
intervalMs()
. Will be overriden when
useCustomIntervals()
and customIntervalsMs()
are set.public double intervalMs()
numFrames()
.
Will be overriden when useCustomIntervals()
and customIntervalsMs()
are set.public int displayTimeUnit()
public boolean useCustomIntervals()
customIntervalsMs()
.public java.util.ArrayList<java.lang.Double> customIntervalsMs()
public java.util.ArrayList<ChannelSpec> channels()
public java.util.ArrayList<java.lang.Double> slices()
public boolean relativeZSlice()
public boolean keepShutterOpenSlices()
public boolean keepShutterOpenChannels()
public boolean useAutofocus()
public int skipAutofocusCount()
public boolean save()
public Datastore.SaveMode saveMode()
save()
is set.
Formats are defined in Datastore.SaveMode
.
Currently:
0 - Datastore.SaveMode.SINGLEPLANE_TIFF_SERIES
1 - Datastore.SaveMode.MULTIPAGE_TIFF
Datastore.SaveMode
public java.lang.String root()
public java.lang.String prefix()
public double zReference()
public java.lang.String comment()
public java.lang.String channelGroup()
public boolean usePositionList()
public int cameraTimeout()
public boolean shouldDisplayImages()
public boolean useSlices()
public boolean useFrames()
public boolean useChannels()
public double sliceZStepUm()
public double sliceZBottomUm()
public double sliceZTopUm()
public int acqOrderMode()
AcqOrderMode
.
Currently available orders:
0 - AcqOrderMode.TIME_POS_SLICE_CHANNEL
1 - AcqOrderMode.TIME_POS_CHANNEL_SLICE
2 - AcqOrderMode.POS_TIME_SLICE_CHANNEL
3 - AcqOrderMode.POS_TIME_CHANNEL_SLICE
AcqOrderMode
public double getVersion()
public static java.lang.String toJSONStream(SequenceSettings settings)
public static SequenceSettings fromJSONStream(java.lang.String stream)