#include <DataUtil.hxx>
Definition at line 18 of file DataUtil.hxx.
Static Public Member Functions | |
static void | CopyFrameMembers (Frame &sourceFrame, Frame &targetFrame) |
This copies the frame center time, the spectral peak array, and the residual from the source frame to the target frame. | |
static void | CopySpectralPeakArraysMembers (SpectralPeakArray &sourceSpectralPeaks, SpectralPeakArray &targetSpectralPeaks) |
This copies the spectral peak array values from the source to the target. | |
static void | CopyResidualSpectrumsMembers (Spectrum &sourceResidualSpectrum, Spectrum &targetResidualSpectrum) |
This copies the residual values from the source to the target. | |
static bool | CheckMembers (Frame &sourceFrame, Frame &targetFrame) |
This checks that the frame center time, the spectral peak array, and the residual of the source frame and the target frame are identical. | |
static void | PrintSpectralPeakArray (SpectralPeakArray &sourceSpectralPeaks) |
This copies the frame center time, the spectral peak array, and the residual from the source frame to the target frame.
Definition at line 7 of file DataUtil.cxx.
References CopyResidualSpectrumsMembers(), and CopySpectralPeakArraysMembers().
Referenced by CLAM::LoopingSDIFFileReader::ReadFrame().
void CLAM::DataUtil::CopySpectralPeakArraysMembers | ( | SpectralPeakArray & | sourceSpectralPeaks, | |
SpectralPeakArray & | targetSpectralPeaks | |||
) | [static] |
This copies the spectral peak array values from the source to the target.
Definition at line 27 of file DataUtil.cxx.
References CLAM::SpectralPeakArray::CopyMembers(), and CLAM::DynamicType::UpdateData().
Referenced by CopyFrameMembers().
void CLAM::DataUtil::CopyResidualSpectrumsMembers | ( | Spectrum & | sourceResidualSpectrum, | |
Spectrum & | targetResidualSpectrum | |||
) | [static] |
This copies the residual values from the source to the target.
Definition at line 36 of file DataUtil.cxx.
References CLAM::Spectrum::GetSize(), CLAM::Spectrum::SetSize(), and CLAM::DynamicType::UpdateData().
Referenced by CopyFrameMembers().
This checks that the frame center time, the spectral peak array, and the residual of the source frame and the target frame are identical.
Definition at line 52 of file DataUtil.cxx.
References CLAM::SpectralPeakArray::GetnPeaks(), CLAM::Spectrum::GetSize(), and CLAM::Spectrum::SetSize().
void CLAM::DataUtil::PrintSpectralPeakArray | ( | SpectralPeakArray & | sourceSpectralPeaks | ) | [static] |