24 #ifndef _FREQUENCYDATA_HPP_
25 #define _FREQUENCYDATA_HPP_
63 FrequencyData(
const std::string& filename, IOMode mode=Automatic);
71 void read(
const std::string& filename, IOMode mode=Automatic);
72 void read(std::istream& is, IOMode mode=
Binary);
73 void write(
const std::string& filename, IOMode mode=
Binary)
const;
74 void write(std::ostream& os, IOMode mode=
Binary)
const;
88 int scanNumber()
const;
89 void scanNumber(
int value);
91 double retentionTime()
const;
92 void retentionTime(
double value);
97 double observationDuration()
const;
98 void observationDuration(
double value);
100 double noiseFloor()
const;
101 void noiseFloor(
double value);
107 void transform(
double shift, std::complex<double> scale);
110 double shift()
const;
113 std::complex<double> scale()
const;
131 double meanSquare()
const;
132 double sumSquares()
const;
133 double variance()
const;
137 double cutoffNoiseFloor()
const;
140 double observationDurationEstimatedFromData()
const;
152 static std::pair<double,double> magnitudeSample(
const FrequencyDatum& datum);
157 std::auto_ptr<Impl>
impl_;
171 #endif // _FREQUENCYDATA_HPP_