Class SPCSpectrumReader.SubFileParser

    • Field Detail

      • m_OffsetPointersDir

        protected boolean m_OffsetPointersDir
        whether to use the offset points directory.
      • m_Exponent

        protected byte m_Exponent
        the scaling exponent.
      • m_YasIEEE32bit

        protected boolean m_YasIEEE32bit
        whether Y values are stored in IEEE 32bit floats.
      • m_Index

        protected int m_Index
        the subfile index.
      • m_ZAxis

        protected float m_ZAxis
        the Z axis value.
      • m_ZAxisEnd

        protected float m_ZAxisEnd
        the Z axis end value.
      • m_Noise

        protected float m_Noise
        the peak picking noise level.
      • m_NumPoints

        protected int m_NumPoints
        the number of points.
      • m_NumScans

        protected int m_NumScans
        the number of scans.
      • m_WAxis

        protected float m_WAxis
        the W axis value.
      • m_Spectrum

        protected Spectrum m_Spectrum
        the parsed spectrum.
    • Constructor Detail

      • SubFileParser

        public SubFileParser​(SPCSpectrumReader.AbstractParser parent,
                             byte[] data,
                             int offset,
                             boolean offsetPointersDir)
        Initializes the parser.
        Parameters:
        parent - the parent parser
        data - the data to parse
        offset - the offset to use
        offsetPointersDir - whether to use the offset pointers directory