massspec/openrawfile.h
00001 #ifndef _OPENRAW_FILE_H_
00002 #define _OPENRAW_FILE_H_
00003
00004
00005
00006
00007
00008
00009 #define OPENRAW_MS1_FOLDER "MS1"
00010 #define OPENRAW_MS2_FOLDER "MS2"
00011 #define OPENRAW_PARAM_FOLDER "PARAM"
00012
00013 #define OPENRAW_GLOBAL_RT_SAMPLING_ARRAY_FILENAME "RTSA.param"
00014 #define OPENRAW_GLOBAL_MS_SAMPLING_ARRAY_FILENAME "MSSA.param"
00015 #define OPENRAW_EXPERIMENT_SIZE_FILENAME "Size.param"
00016 #define OPENRAW_INSTRUMENT_METHOD_FILENAME "InstrumentMethod.param"
00017
00018 struct OpenRawFile
00019 {
00020 char* szName;
00021
00022 char* szRawExpDir;
00023
00024 char* szMS1Dir;
00025 char* szMS2Dir;
00026 char* szParamDir;
00027 };
00028
00029 typedef struct OpenRawFile OpenRawFile;
00030
00031 int OpenRawFile_doesMSArchiveExist(OpenRawFile* orFile);
00032 float OpenRawFile_getVersionOfMSArchive(OpenRawFile* orFile);
00033 int OpenRawFile_getTypeOfMSArchive(OpenRawFile* orFile);
00034 int OpenRawFile_mergeMSSubArchive(OpenRawFile* orFile);
00035
00036 void OpenRawFile_removeMSArchiveIndexFile(OpenRawFile* orFile);
00037 void OpenRawFile_getMSSubArchiveRanges(OpenRawFile* orFile,
00038 int** start_scan, int** stop_scan, int* nsubmsar);
00039
00040 float OpenRawFile_getVersionOfMS2Archive(OpenRawFile* orFile);
00041 int OpenRawFile_getTypeOfMS2Archive(OpenRawFile* orFile);
00042 int OpenRawFile_verifyInstrumentMethod(OpenRawFile* orFile);
00043 void OpenRawFile_getRangeOfIndependentScan(OpenRawFile* orFile, double* mass_start, double* mass_stop);
00044
00045 #endif
00046
Generated on Sun Feb 13 01:05:58 2005 for MapQuant by
1.3.7