Package loci.formats.in
Class SDTInfo
java.lang.Object
loci.formats.in.SDTInfo
SDTInfo encapsulates the header information for
Becker & Hickl SPC-Image SDT files.
- Author:
- Curtis Rueden ctrueden at wisc.edu
-
Field Summary
FieldsModifier and TypeFieldDescriptionshortshortADC sample delay (SPC-930).shortintlong[]long[]static final shortstatic final shortstatic final shortstatic final Stringlongreserved2 now contains block (set) length.shortNumber of the block in the file.intSee blockType defines below.intintstatic final StringlongNo of photons.floatfloatfloatfloatintRouting channel number.intintfloatfloatCorrelation time [ms].intCross FCS routing channel number when chan = crossChan and mod == crossMod - Auto FCS otherwise - Cross FCS.intCross FCS module number.longMacro time clock of cross FCS module in 0.1 ns units.intCurrent cycle (accumulation cycle in FLOW mode) - (if multi-cycle measurement).intCurrent measured page.intCurrent step (if multi-step measurement).intCycles (accumulation cycles in FLOW mode).static final StringFor normal .sdt files (setup + data).intintOffset of the first data block.intOffset of the data block from the beginning of the file.Date of creation.shortshortDetector type (SPC-930 in camera mode).shortstatic final StringFor .sdt files created using DLL function SPC_save_data_to_sdtfile (no setup, only data).shortfloatMacro time of the last photon.intstatic final StringFor .sdt files created in FIFO mode (setup, data blocks = Decay, FCS, FIDA, FILDA & MCS curves for each used routing channel).intBit 0 = 1 - decay curve calculated.intNo of FCS values.int0 - linear FCS with log binning (100 bins/log) when bit 15 = 1 (0x8000) - Multi-Tau FCS where bits 14-0 = ktau parameter.intNo of FIDA values.floatInterval time [ms] for FIDA histogram.shortintNo of FILDA values.floatInterval time [ms] for FILDA histogram.intScan clocks bits 2-0 (frame, line, pixel), rates_read - bit 15.intintstatic final StringFor .sdt files created automatically in Continuous Flow mode measurement (no setup, only data).booleanbooleanbooleanbooleanbooleanintintintintint4 subsequent fields valid only for Camera mode or FIFO_IMAGE mode.intshortshortLength of the info part.intOffset of the info part which contains general text information (Title, date, time, contents etc.).longLong blockNo - see remarks below.shortLine predivider = 2 ** (linediv).shortUse or not Master Clock (SPC140 multi-module).floatfloat(-1.0 - not set).floatMaximum rates during the measurement.floatintNo of MCS values.intNumber of MCS_TA points.floatInterval time [ms] for MCS histogram.shortshortNumber of the measurement description block corresponding to this data block.intshortshortfloatfloat(-1.0 - not set).floatMinimum rates during the measurement.floatintModule number.intNew in v.8.4.Serial number of the module.Module type.intintfloatlongMacro time clock in 0.1 ns units.shortshortintOffset to the data block header of the next data block.shortno_of_data_blocks valid only when in 0 ..shortfloatintfloatintNo of Fifo overruns when > 0 fcs curve & endTime are not valid.intshortfloatshortshort2 = disabled line markers.shortfloatlongintshortSoftware revision number (lower 4 bits >= 10(decimal)).intintintintstatic final StringFor .set files (setup only).intLength of the setup data.intOffset of the setup text data (system parameters, display parameters, trace parameters etc.).intLast SPC_test_state return value (status).intshortfloatTime from start to - disarm (simple measurement) - or to the end of the cycle (for complex measurement).shortfloatfloatfloatstatic final StringshortfloatfloatfloatfloatTime of creation.intintshortshortintstatic final Stringstatic final StringshortX axis representation (SPC-930).shortGain for XY ADCs (SPC930).static final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate longreadUnsignedLong(loci.common.RandomAccessInputStream in)
-
Field Details
-
BH_HEADER_CHKSUM
public static final short BH_HEADER_CHKSUM- See Also:
-
BH_HEADER_NOT_VALID
public static final short BH_HEADER_NOT_VALID- See Also:
-
BH_HEADER_VALID
public static final short BH_HEADER_VALID- See Also:
-
SETUP_IDENTIFIER
For .set files (setup only).- See Also:
-
DATA_IDENTIFIER
For normal .sdt files (setup + data).- See Also:
-
FLOW_DATA_IDENTIFIER
For .sdt files created automatically in Continuous Flow mode measurement (no setup, only data).- See Also:
-
DLL_DATA_IDENTIFIER
For .sdt files created using DLL function SPC_save_data_to_sdtfile (no setup, only data).- See Also:
-
FCS_DATA_IDENTIFIER
For .sdt files created in FIFO mode (setup, data blocks = Decay, FCS, FIDA, FILDA & MCS curves for each used routing channel).- See Also:
-
X_STRING
- See Also:
-
Y_STRING
- See Also:
-
T_STRING
- See Also:
-
C_STRING
- See Also:
-
X_IMG_STRING
- See Also:
-
Y_IMG_STRING
- See Also:
-
BINARY_SETUP
- See Also:
-
width
public int width -
height
public int height -
timeBins
public int timeBins -
channels
public int channels -
timepoints
public int timepoints -
revision
public short revisionSoftware revision number (lower 4 bits >= 10(decimal)). -
infoOffs
public int infoOffsOffset of the info part which contains general text information (Title, date, time, contents etc.). -
infoLength
public short infoLengthLength of the info part. -
setupOffs
public int setupOffsOffset of the setup text data (system parameters, display parameters, trace parameters etc.). -
setupLength
public int setupLengthLength of the setup data. -
dataBlockOffs
public int dataBlockOffsOffset of the first data block. -
noOfDataBlocks
public short noOfDataBlocksno_of_data_blocks valid only when in 0 .. 0x7ffe range, if equal to 0x7fff the field 'reserved1' contains valid no_of_data_blocks. -
dataBlockLength
public int dataBlockLength -
measDescBlockOffs
public int measDescBlockOffs -
noOfMeasDescBlocks
public short noOfMeasDescBlocks -
measDescBlockLength
public short measDescBlockLength -
headerValid
public int headerValid -
reserved1
public long reserved1 -
reserved2
public int reserved2 -
chksum
public int chksum -
info
-
setup
-
hasMeasureInfo
public boolean hasMeasureInfo -
time
Time of creation. -
date
Date of creation. -
modSerNo
Serial number of the module. -
measMode
public short measMode -
cfdLL
public float cfdLL -
cfdLH
public float cfdLH -
cfdZC
public float cfdZC -
cfdHF
public float cfdHF -
synZC
public float synZC -
synFD
public short synFD -
synHF
public float synHF -
tacR
public float tacR -
tacG
public short tacG -
tacOF
public float tacOF -
tacLL
public float tacLL -
tacLH
public float tacLH -
adcRE
public short adcRE -
ealDE
public short ealDE -
ncx
public short ncx -
ncy
public short ncy -
page
public int page -
colT
public float colT -
repT
public float repT -
stopt
public short stopt -
overfl
public int overfl -
useMotor
public short useMotor -
steps
public int steps -
offset
public float offset -
dither
public short dither -
incr
public short incr -
memBank
public short memBank -
modType
Module type. -
synTH
public float synTH -
deadTimeComp
public short deadTimeComp -
polarityL
public short polarityL2 = disabled line markers. -
polarityF
public short polarityF -
polarityP
public short polarityP -
linediv
public short linedivLine predivider = 2 ** (linediv). -
accumulate
public short accumulate -
flbckY
public int flbckY -
flbckX
public int flbckX -
bordU
public int bordU -
bordL
public int bordL -
pixTime
public float pixTime -
pixClk
public short pixClk -
trigger
public short trigger -
scanX
public int scanX -
scanY
public int scanY -
scanRX
public int scanRX -
scanRY
public int scanRY -
fifoTyp
public short fifoTyp -
epxDiv
public int epxDiv -
modTypeCode
public int modTypeCode -
modFpgaVer
public int modFpgaVerNew in v.8.4. -
overflowCorrFactor
public float overflowCorrFactor -
adcZoom
public int adcZoom -
cycles
public int cyclesCycles (accumulation cycles in FLOW mode). -
hasMeasStopInfo
public boolean hasMeasStopInfo -
status
public int statusLast SPC_test_state return value (status). -
flags
public int flagsScan clocks bits 2-0 (frame, line, pixel), rates_read - bit 15. -
stopTime
public float stopTimeTime from start to - disarm (simple measurement) - or to the end of the cycle (for complex measurement). -
curStep
public int curStepCurrent step (if multi-step measurement). -
curCycle
public int curCycleCurrent cycle (accumulation cycle in FLOW mode) - (if multi-cycle measurement). -
curPage
public int curPageCurrent measured page. -
minSyncRate
public float minSyncRateMinimum rates during the measurement. -
minCfdRate
public float minCfdRate(-1.0 - not set). -
minTacRate
public float minTacRate -
minAdcRate
public float minAdcRate -
maxSyncRate
public float maxSyncRateMaximum rates during the measurement. -
maxCfdRate
public float maxCfdRate(-1.0 - not set). -
maxTacRate
public float maxTacRate -
maxAdcRate
public float maxAdcRate -
mReserved1
public int mReserved1 -
mReserved2
public float mReserved2 -
hasMeasFCSInfo
public boolean hasMeasFCSInfo -
chan
public int chanRouting channel number. -
fcsDecayCalc
public int fcsDecayCalcBit 0 = 1 - decay curve calculated. Bit 1 = 1 - fcs curve calculated. Bit 2 = 1 - FIDA curve calculated. Bit 3 = 1 - FILDA curve calculated. Bit 4 = 1 - MCS curve calculated. Bit 5 = 1 - 3D Image calculated. -
mtResol
public long mtResolMacro time clock in 0.1 ns units. -
cortime
public float cortimeCorrelation time [ms]. -
calcPhotons
public long calcPhotonsNo of photons. -
fcsPoints
public int fcsPointsNo of FCS values. -
endTime
public float endTimeMacro time of the last photon. -
overruns
public int overrunsNo of Fifo overruns when > 0 fcs curve & endTime are not valid. -
fcsType
public int fcsType0 - linear FCS with log binning (100 bins/log) when bit 15 = 1 (0x8000) - Multi-Tau FCS where bits 14-0 = ktau parameter. -
crossChan
public int crossChanCross FCS routing channel number when chan = crossChan and mod == crossMod - Auto FCS otherwise - Cross FCS. -
mod
public int modModule number. -
crossMod
public int crossModCross FCS module number. -
crossMtResol
public long crossMtResolMacro time clock of cross FCS module in 0.1 ns units. -
hasExtendedMeasureInfo
public boolean hasExtendedMeasureInfo -
imageX
public int imageX4 subsequent fields valid only for Camera mode or FIFO_IMAGE mode. -
imageY
public int imageY -
imageRX
public int imageRX -
imageRY
public int imageRY -
xyGain
public short xyGainGain for XY ADCs (SPC930). -
masterClock
public short masterClockUse or not Master Clock (SPC140 multi-module). -
adcDE
public short adcDEADC sample delay (SPC-930). -
detType
public short detTypeDetector type (SPC-930 in camera mode). -
xAxis
public short xAxisX axis representation (SPC-930). -
hasMeasHISTInfo
public boolean hasMeasHISTInfo -
fidaTime
public float fidaTimeInterval time [ms] for FIDA histogram. -
fildaTime
public float fildaTimeInterval time [ms] for FILDA histogram. -
fidaPoints
public int fidaPointsNo of FIDA values. -
fildaPoints
public int fildaPointsNo of FILDA values. -
mcsTime
public float mcsTimeInterval time [ms] for MCS histogram. -
mcsPoints
public int mcsPointsNo of MCS values. -
mcstaPoints
public int mcstaPointsNumber of MCS_TA points. -
blockNo
public short blockNoNumber of the block in the file. Valid only when in 0..0x7ffe range, otherwise use lblock_no field obsolete now, lblock_no contains full block no information. -
dataOffs
public int dataOffsOffset of the data block from the beginning of the file. -
nextBlockOffs
public int nextBlockOffsOffset to the data block header of the next data block. -
allBlockOffsets
public long[] allBlockOffsets -
allBlockLengths
public long[] allBlockLengths -
blockType
public int blockTypeSee blockType defines below. -
measDescBlockNo
public short measDescBlockNoNumber of the measurement description block corresponding to this data block. -
lblockNo
public long lblockNoLong blockNo - see remarks below. -
blockLength
public long blockLengthreserved2 now contains block (set) length.
-
-
Constructor Details
-
SDTInfo
Constructs a new SDT header by reading values from the given input source, populating the given metadata table.- Throws:
IOException
-
-
Method Details
-
readUnsignedLong
- Throws:
IOException
-