Package loci.formats.in
Class PrairieMetadata.Sequence
java.lang.Object
loci.formats.in.PrairieMetadata.Sequence
- Enclosing class:
PrairieMetadata
A Prairie
<Sequence>.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetCycle()Gets thecycleassociated with thisSequence.getFile(int index, int channel) Gets theFrameat the given (cycle,index,channel).Gets the firstFrameof theSequence.getFrame(int index) Gets theFramewith the givenindex.intGets the number of recorded indices at thisSequence.intGets the maximum index value.intGets the minimum index value.getType()Gets thetypeassociated with thisSequence.Gets thevalueof the givenkey, beneath thisSequence, inferring the value from the parent<PVScan>section as needed.Gets the table ofFramekey/value pairs.booleanbooleanGets whether thisSequenceshould be considered a time series.voidParses metadata from the givenSequenceelement.
-
Constructor Details
-
Sequence
Creates a new sequence by parsing the given<Sequence>element.
-
-
Method Details
-
parse
Parses metadata from the givenSequenceelement. -
getType
Gets thetypeassociated with thisSequence. -
isTimeSeries
public boolean isTimeSeries()Gets whether thisSequenceshould be considered a time series. -
getCycle
public int getCycle()Gets thecycleassociated with thisSequence. -
isSpectralMode
public boolean isSpectralMode() -
getIndexMin
public int getIndexMin()Gets the minimum index value. Matches the smallestindexattribute found, and hence will not necessarily equal1(though in practice it usually does). -
getIndexMax
public int getIndexMax()Gets the maximum index value. Matches the largestindexattribute found, and hence will not necessarily equalframes#size()(though in practice it usually does). -
getIndexCount
public int getIndexCount()Gets the number of recorded indices at thisSequence. This value is equal togetIndexMax()-getIndexMin()+ 1. -
getFirstFrame
Gets the firstFrameof theSequence. -
getFrame
Gets theFramewith the givenindex. -
getFile
Gets theFrameat the given (cycle,index,channel). -
getValue
Gets thevalueof the givenkey, beneath thisSequence, inferring the value from the parent<PVScan>section as needed. -
getValues
Gets the table ofFramekey/value pairs.
-