Changeset 26843
- Timestamp:
- Feb 9, 2010, 9:14:57 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/20091201/psModules/src/detrend/pmPatternIO.c
r26836 r26843 14 14 #include "pmPatternIO.h" 15 15 16 #define ARRAY_BUFFER 16 // Number to add to array at a time17 18 // Names of FITS table columns19 #define NAME_XMIN "XMIN" // Region of applicability: minimum x value20 #define NAME_XMAX "XMAX" // Region of applicability: maximum x value21 #define NAME_YMIN "YMIN" // Region of applicability: minimum y value22 #define NAME_YMAX "YMAX" // Region of applicability: maximum y value23 #define NAME_KERNEL "KERNEL" // Kernel description24 #define NAME_TYPE "TYPE" // Kernel type25 #define NAME_SIZE "SIZE" // Kernel half-size26 #define NAME_INNER "INNER" // Size of inner region (only applicable for some kernel types)27 #define NAME_SPATIAL "SPATIAL_ORDER" // Order of spatial polynomial28 #define NAME_BG "BG_ORDER" // Order of background polynomial29 #define NAME_MODE "MODE" // Matching mode30 #define NAME_COLS "COLUMNS" // Number of columns31 #define NAME_ROWS "ROWS" // Number of rows32 #define NAME_SOL1 "SOLUTION_1" // Solution for convolving image 133 #define NAME_SOL2 "SOLUTION_2" // Solution for convolving image 234 #define NAME_MEAN "MEAN" // Mean of chi^2 from stamps35 #define NAME_RMS "RMS" // RMS of chi^2 from stamps36 #define NAME_NUMSTAMPS "NUMSTAMPS" // Number of good stamps37 38 #define EXTNAME_KERNEL "SUBTRACTION_KERNEL" // Extension name for kernel39 #define EXTNAME_IMAGE "SUBTRACTION_KERNEL_IMAGE" // Extension name for image40 41 16 ////////////////////////////////////////////////////////////////////////////////////////////////////////////// 42 17 … … 193 168 } 194 169 170 bool data = false; // Did we find any data? 171 195 172 psMetadataItem *cellCorr = psMetadataLookup(header, PM_PATTERN_CELL_CORRECTION); // Cell pattern correction 196 173 if (cellCorr) { 197 174 psMetadataAddItem(ro->analysis, cellCorr, PS_LIST_TAIL, PS_META_REPLACE); 175 data = true; 198 176 } 199 177 … … 204 182 "Pattern row correction", rowCorr); 205 183 psFree(rowCorr); 184 data = true; 185 } 186 187 if (data) { 188 ro->data_exists = true; 189 ro->parent->data_exists = true; 190 ro->parent->parent->data_exists = true; 206 191 } 207 192
Note:
See TracChangeset
for help on using the changeset viewer.
