18 : m_numberOfPeriods(0), m_numberOfSpectra(0), m_numberOfChannels(0),
19 m_minSpectraID(
std::numeric_limits<
specnum_t>::max()), m_maxSpectraID(0) {}
22 : m_numberOfPeriods(data.dim0()), m_numberOfSpectra(data.dim1()), m_numberOfChannels(data.dim2()),
23 m_minSpectraID(
std::numeric_limits<
specnum_t>::max()), m_maxSpectraID(0) {}
26 : m_numberOfPeriods(numberOfPeriods), m_numberOfSpectra(numberOfSpectra), m_numberOfChannels(numberOfChannels),
27 m_minSpectraID(
std::numeric_limits<
specnum_t>::max()), m_maxSpectraID(0) {}
45 return std::make_unique<DataBlockGenerator>(interval);
DataBlock: The DataBlock class holds information about a contiguous block of spectrum numbers.
virtual specnum_t getMaxSpectrumID() const
virtual size_t getNumberOfChannels() const
size_t m_numberOfChannels
virtual void setMaxSpectrumID(specnum_t minSpecID)
virtual int getNumberOfPeriods() const
virtual std::unique_ptr< DataBlockGenerator > getGenerator() const
virtual size_t getNumberOfSpectra() const
bool operator==(const DataBlock &other) const
virtual specnum_t getMinSpectrumID() const
virtual void setMinSpectrumID(specnum_t minSpecID)
Templated class implementation of NXDataSet.
int32_t specnum_t
Typedef for a spectrum Number.