calibration.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014 #ifndef _CALIBRATION_H
00015 #define _CALIBRATION_H
00016
00017
00018
00019
00020 #include "midiLib.h"
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037 void calibrateWaveUsingPolynom (
00038 MidiFiles *fileNames,
00039 ImageFormat *format);
00040
00041 void getWaveCalPoly (
00042 MidiFiles *fileNames,
00043 ImageFormat *imageFormat,
00044 int *error);
00045
00046 void getCalibratedChWave (
00047 MidiFiles *fileNames,
00048 ImageFormat *format,
00049 float **waveCal,
00050 int *error);
00051
00052 void createMaskSP (
00053 char *inFileName,
00054 char *maskFileName,
00055 int *error);
00056
00057 void createMaskFile (
00058 MidiFiles *fileNames,
00059 int *error);
00060
00061 void prepareMasterFlat (void);
00062
00063 void prepareMasterDark (void);
00064
00065 void prepareDispersionRelation (void);
00066
00067 void preparePhotomAperMask (
00068 char *fileName,
00069 char *maskName,
00070 int *error);
00071
00072 void prepareSpectroPhotomAperMask (void);
00073
00074 void prepareZeroPoint (void);
00075
00076 void prepareSpectralSensitivity (void);
00077
00078 void checkDelayLineJumps (
00079 const char *dataKey,
00080 ImageFormat *format,
00081 CompressedData *compressed);
00082
00083 void checkDelayLineConsistencies (
00084 const char *dataKey1,
00085 const char *dataKey2,
00086 CompressedData *compressedInterf,
00087 CompressedData *compressedPhotom,
00088 ImageFormat *formatInterf,
00089 ImageFormat *formatPhotom,
00090 int *error);
00091
00092
00093
00094
00095
00096 #endif
00097
00098