31 static const uint format_version = 5;
99 int pointCount (
void );
100 int scanCount (
void );
101 int xindex (
double );
102 double radius (
int );
103 double scWavelength(
int );
104 double value (
int,
int );
105 double reading (
int,
int );
106 bool setValue (
int,
int,
double );
107 double std_dev (
int,
int );
108 double average_temperature()
const;
109 double temperature_spread ()
const;
148 editedPoints.clear();
150 removeSpikes =
false;
151 floatingData =
false;
191 QList< SpeedData > speedData;
210 int pointCount (
void );
211 int scanCount (
void );
212 int xindex (
double );
213 double radius (
int );
214 double scWavelength(
int );
215 double value (
int,
int );
216 double reading (
int,
int );
217 bool setValue (
int,
int,
double );
218 double std_dev (
int,
int );
219 double average_temperature()
const;
220 double temperature_spread ()
const;
245 enum ioError {
OK, CANTOPEN, BADCRC, NOT_USDATA, BADTYPE, BADXML,
252 static bool readLegacyFile(
const QString&, BeckmanRawScan& );
259 static int writeRawData(
const QString&, RawData& );
265 static int readRawData (
const QString&, RawData& );
271 static int readEdits (
const QString&, EditValues& );
276 static QString errorString (
int );
282 static int index (
const QVector< double >&,
double );
305 static int loadData (
const QString&,
const QString&,
306 QVector< EditedData >&,
307 QVector< RawData >& );
316 static int loadData (
const QString&,
const QString&,
317 QVector< EditedData >& );
326 static int loadData (
const QString&,
const QString&,
335 static void adjust_interference( RawData&,
const EditValues& );
343 static void calc_integral ( RawData&,
const EditValues& );
358 static bool spike_check (
const Scan&,
const QVector< double >&,
359 int,
int,
int,
double* );
373 static void writeScan ( QDataStream&,
const Scan&, quint32&,
375 static void write ( QDataStream&,
const char*,
int, quint32& );
376 static void read ( QDataStream&,
char*,
int, quint32& );
378 static void ident ( QXmlStreamReader&,
EditValues& );
379 static void run ( QXmlStreamReader&,
EditValues& );
380 static void all_lambdas( QXmlStreamReader&,
EditValues& );
381 static void excludes ( QXmlStreamReader&,
EditValues& );
382 static void params ( QXmlStreamReader&,
EditValues& );
383 static void operations ( QXmlStreamReader&,
EditValues& );
384 static void do_edits ( QXmlStreamReader&,
EditValues& );
385 static void copyRange (
double,
double,
const Scan&,
Scan&,
386 const QVector< double >& );
387 static void copyxRange (
double,
double,
388 const QVector< double >&, QVector< double >& );
389 static QList< double >
390 calc_residuals(
int,
const QVector< Scan >& );