Class SDTInfo

java.lang.Object
loci.formats.in.SDTInfo

public class SDTInfo extends Object
SDTInfo encapsulates the header information for Becker & Hickl SPC-Image SDT files.
Author:
Curtis Rueden ctrueden at wisc.edu
  • 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

      public static final String SETUP_IDENTIFIER
      For .set files (setup only).
      See Also:
    • DATA_IDENTIFIER

      public static final String DATA_IDENTIFIER
      For normal .sdt files (setup + data).
      See Also:
    • FLOW_DATA_IDENTIFIER

      public static final String FLOW_DATA_IDENTIFIER
      For .sdt files created automatically in Continuous Flow mode measurement (no setup, only data).
      See Also:
    • DLL_DATA_IDENTIFIER

      public static final String DLL_DATA_IDENTIFIER
      For .sdt files created using DLL function SPC_save_data_to_sdtfile (no setup, only data).
      See Also:
    • FCS_DATA_IDENTIFIER

      public static final String 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

      public static final String X_STRING
      See Also:
    • Y_STRING

      public static final String Y_STRING
      See Also:
    • T_STRING

      public static final String T_STRING
      See Also:
    • C_STRING

      public static final String C_STRING
      See Also:
    • X_IMG_STRING

      public static final String X_IMG_STRING
      See Also:
    • Y_IMG_STRING

      public static final String Y_IMG_STRING
      See Also:
    • BINARY_SETUP

      public static final String 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 revision
      Software revision number (lower 4 bits >= 10(decimal)).
    • infoOffs

      public int infoOffs
      Offset of the info part which contains general text information (Title, date, time, contents etc.).
    • infoLength

      public short infoLength
      Length of the info part.
    • setupOffs

      public int setupOffs
      Offset of the setup text data (system parameters, display parameters, trace parameters etc.).
    • setupLength

      public int setupLength
      Length of the setup data.
    • dataBlockOffs

      public int dataBlockOffs
      Offset of the first data block.
    • noOfDataBlocks

      public short noOfDataBlocks
      no_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

      public String info
    • setup

      public String setup
    • hasMeasureInfo

      public boolean hasMeasureInfo
    • time

      public String time
      Time of creation.
    • date

      public String date
      Date of creation.
    • modSerNo

      public String 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

      public String modType
      Module type.
    • synTH

      public float synTH
    • deadTimeComp

      public short deadTimeComp
    • polarityL

      public short polarityL
      2 = disabled line markers.
    • polarityF

      public short polarityF
    • polarityP

      public short polarityP
    • linediv

      public short linediv
      Line 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 modFpgaVer
      New in v.8.4.
    • overflowCorrFactor

      public float overflowCorrFactor
    • adcZoom

      public int adcZoom
    • cycles

      public int cycles
      Cycles (accumulation cycles in FLOW mode).
    • hasMeasStopInfo

      public boolean hasMeasStopInfo
    • status

      public int status
      Last SPC_test_state return value (status).
    • flags

      public int flags
      Scan clocks bits 2-0 (frame, line, pixel), rates_read - bit 15.
    • stopTime

      public float stopTime
      Time from start to - disarm (simple measurement) - or to the end of the cycle (for complex measurement).
    • curStep

      public int curStep
      Current step (if multi-step measurement).
    • curCycle

      public int curCycle
      Current cycle (accumulation cycle in FLOW mode) - (if multi-cycle measurement).
    • curPage

      public int curPage
      Current measured page.
    • minSyncRate

      public float minSyncRate
      Minimum rates during the measurement.
    • minCfdRate

      public float minCfdRate
      (-1.0 - not set).
    • minTacRate

      public float minTacRate
    • minAdcRate

      public float minAdcRate
    • maxSyncRate

      public float maxSyncRate
      Maximum 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 chan
      Routing channel number.
    • fcsDecayCalc

      public int fcsDecayCalc
      Bit 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 mtResol
      Macro time clock in 0.1 ns units.
    • cortime

      public float cortime
      Correlation time [ms].
    • calcPhotons

      public long calcPhotons
      No of photons.
    • fcsPoints

      public int fcsPoints
      No of FCS values.
    • endTime

      public float endTime
      Macro time of the last photon.
    • overruns

      public int overruns
      No of Fifo overruns when > 0 fcs curve & endTime are not valid.
    • fcsType

      public int fcsType
      0 - 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 crossChan
      Cross FCS routing channel number when chan = crossChan and mod == crossMod - Auto FCS otherwise - Cross FCS.
    • mod

      public int mod
      Module number.
    • crossMod

      public int crossMod
      Cross FCS module number.
    • crossMtResol

      public long crossMtResol
      Macro time clock of cross FCS module in 0.1 ns units.
    • hasExtendedMeasureInfo

      public boolean hasExtendedMeasureInfo
    • imageX

      public int imageX
      4 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 xyGain
      Gain for XY ADCs (SPC930).
    • masterClock

      public short masterClock
      Use or not Master Clock (SPC140 multi-module).
    • adcDE

      public short adcDE
      ADC sample delay (SPC-930).
    • detType

      public short detType
      Detector type (SPC-930 in camera mode).
    • xAxis

      public short xAxis
      X axis representation (SPC-930).
    • hasMeasHISTInfo

      public boolean hasMeasHISTInfo
    • fidaTime

      public float fidaTime
      Interval time [ms] for FIDA histogram.
    • fildaTime

      public float fildaTime
      Interval time [ms] for FILDA histogram.
    • fidaPoints

      public int fidaPoints
      No of FIDA values.
    • fildaPoints

      public int fildaPoints
      No of FILDA values.
    • mcsTime

      public float mcsTime
      Interval time [ms] for MCS histogram.
    • mcsPoints

      public int mcsPoints
      No of MCS values.
    • mcstaPoints

      public int mcstaPoints
      Number of MCS_TA points.
    • blockNo

      public short blockNo
      Number 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 dataOffs
      Offset of the data block from the beginning of the file.
    • nextBlockOffs

      public int nextBlockOffs
      Offset to the data block header of the next data block.
    • allBlockOffsets

      public long[] allBlockOffsets
    • allBlockLengths

      public long[] allBlockLengths
    • blockType

      public int blockType
      See blockType defines below.
    • measDescBlockNo

      public short measDescBlockNo
      Number of the measurement description block corresponding to this data block.
    • lblockNo

      public long lblockNo
      Long blockNo - see remarks below.
    • blockLength

      public long blockLength
      reserved2 now contains block (set) length.
  • Constructor Details

    • SDTInfo

      public SDTInfo(loci.common.RandomAccessInputStream in, Hashtable meta) throws IOException
      Constructs a new SDT header by reading values from the given input source, populating the given metadata table.
      Throws:
      IOException
  • Method Details

    • readUnsignedLong

      private long readUnsignedLong(loci.common.RandomAccessInputStream in) throws IOException
      Throws:
      IOException