Package loci.formats.in
Class PrairieMetadata
java.lang.Object
loci.formats.in.PrairieMetadata
Metadata structure for Prairie Technologies' TIFF-based format.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassA Prairie<Frame>, beneath a<Sequence>.classA Prairie<File>beneath a<Frame>.classA Prairie<Sequence>.static interfaceA value in a Prairie metadata dictionary.static classA leaf value with an actualPrairieMetadata.ValueItem.value()as well as an optionalPrairieMetadata.ValueItem.description().static classA table of values. -
Constructor Summary
ConstructorsConstructorDescriptionPrairieMetadata(Document xml, Document cfg, Document env) Creates a new Prairie metadata by parsing the given XML, CFG and/or ENV documents. -
Method Summary
Modifier and TypeMethodDescriptionint[]Gets the list of active channel indices, in sorted order.Gets thebitDepthrecorded in the configuration.Gets the map of configuration key/value pairs.Gets thevalueof the given configurationkey.intGets the number of recorded cycles.intGets the maximum cycle value.intGets the minimum cycle value.getDate()Gets the date of the acquisition.getFile(int cycle, int index, int channel) Gets theFrameat the given (cycle,index,channel).Gets the firstSequence.getFrame(int cycle, int index) Gets theFrameat the given (cycleandindex).Gets the firstlaserPowerrecorded in the configuration.getSequence(int cycle) Gets theSequenceat the givencycle.Gets allSequences, ordered bycycle.Gets thevalueof the givenkey, at the top-level<PVScan>element.Gets the table ofPVScankey/value pairs.Gets thewaitTimerecorded in the configuration.booleanGets whether the stage position X coordinates are inverted (i.e., left-to-right).booleanGets whether the stage position Y coordinates are inverted (i.e., bottom-to-top).
-
Constructor Details
-
PrairieMetadata
Creates a new Prairie metadata by parsing the given XML, CFG and/or ENV documents.- Parameters:
xml- The XML document to parse, or null if none available.cfg- The CFG document to parse, or null if none available.env- The ENV document to parse, or null if none available.
-
-
Method Details
-
getWaitTime
Gets thewaitTimerecorded in the configuration. -
getActiveChannels
public int[] getActiveChannels()Gets the list of active channel indices, in sorted order.These indices correspond to the configuration's
channelkeys flagged asTrue. -
isInvertX
public boolean isInvertX()Gets whether the stage position X coordinates are inverted (i.e., left-to-right). -
isInvertY
public boolean isInvertY()Gets whether the stage position Y coordinates are inverted (i.e., bottom-to-top). -
getBitDepth
Gets thebitDepthrecorded in the configuration. -
getLaserPower
Gets the firstlaserPowerrecorded in the configuration. -
getConfig
Gets thevalueof the given configurationkey. -
getConfig
Gets the map of configuration key/value pairs. -
getDate
Gets the date of the acquisition. -
getCycleMin
public int getCycleMin()Gets the minimum cycle value. Matches the smallestcycleattribute found, and hence will not necessarily equal1(though in practice it usually does). -
getCycleMax
public int getCycleMax()Gets the maximum cycle value. Matches the largestcycleattribute found, and hence will not necessarily equalsequences#size()(though in practice it usually does). -
getCycleCount
public int getCycleCount()Gets the number of recorded cycles. This value is equal togetCycleMax()-getCycleMin()+ 1. -
getFirstSequence
Gets the firstSequence. -
getSequence
Gets theSequenceat the givencycle. -
getSequences
Gets allSequences, ordered bycycle. -
getFrame
Gets theFrameat the given (cycleandindex). -
getFile
Gets theFrameat the given (cycle,index,channel). -
getValue
Gets thevalueof the givenkey, at the top-level<PVScan>element. -
getValues
Gets the table ofPVScankey/value pairs.
-