52 #ifndef __PCL_FluxCalibrationData_h
53 #define __PCL_FluxCalibrationData_h
68 #define __PCL_SPFC_NORMALIZATION_FACTOR 1.0e+08
75 class PCL_CLASS XMLDocument;
76 class PCL_CLASS XMLElement;
197 return m_targetFilePath;
222 return m_fluxScaleFactors;
233 m_fluxScaleFactors = v;
247 return m_fluxScaleSigmas;
258 m_fluxScaleSigmas = v;
372 return m_normalizationFactor;
387 PCL_PRECONDITION( k > 0 )
388 m_normalizationFactor = k;
422 return m_creationTime;
499 Vector m_fluxScaleFactors;
504 double m_normalizationFactor = __PCL_SPFC_NORMALIZATION_FACTOR;
508 friend class FluxCalibrationDataPrivate;
static String FullPath(const String &path)
Flux calibration data parser and generator.
void Parse(const String &filePath)
TimePoint CreationTime() const
void SetFluxScaleSigmas(const DVector &v)
FluxCalibrationData()=default
void SetStarCounts(const IVector &v)
void SerializeToFile(const String &path) const
const FVector & MeanFWHMy() const
const String & TargetFilePath() const
XMLDocument * Serialize() const
void Parse(const XMLDocument &xml)
void Parse(const XMLElement &element)
double ScaleNormalizationFactor() const
const DVector & FluxScaleFactors() const
FluxCalibrationData(FluxCalibrationData &&)=default
const IVector & StarCounts() const
virtual ~FluxCalibrationData()
void SetMeanFWHMy(const FVector &v)
FluxCalibrationData(const XMLDocument &xml)
FluxCalibrationData(const FluxCalibrationData &)=default
void SetMeanFWHMx(const FVector &v)
FluxCalibrationData(const String &filePath)
void SetVersion(uint32 v)
void SetTargetFilePath(const String &filePath)
FluxCalibrationData(const XMLElement &element)
const DVector & FluxScaleSigmas() const
void SetScaleNormalizationFactor(double k)
const FVector & MeanFWHMx() const
void SetFluxScaleFactors(const DVector &v)
Generic vector of arbitrary length.
An instant in any timescale.
XML document parsing and generation