Changeset 21178
- Timestamp:
- Jan 26, 2009, 2:04:28 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/pswarp/src/pswarpLoop.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pswarp/src/pswarpLoop.c
r20348 r21178 3 3 4 4 #define WCS_NONLIN_TOL 0.001 // Non-linear tolerance for header WCS 5 #define PSPHOT_FIND_PSF 0 // Use psphot's findPSF function? 6 //#define TESTING 1 // Testing output? 7 8 // Lists of file rules for the detectors and skycells, and an independent list of everything else 9 // Lists must end with a NULL 10 static char *detectorFiles[] = { "PSWARP.INPUT", "PSWARP.MASK", "PSWARP.WEIGHT", NULL }; 11 static char *skycellFiles[] = { "PSWARP.OUTPUT", "PSWARP.OUTPUT.MASK", "PSWARP.OUTPUT.WEIGHT", NULL }; 12 static char *photFiles[] = { "PSPHOT.INPUT", "PSPHOT.OUTPUT", 13 #if PSPHOT_FIND_PSF 14 "PSPHOT.INPUT.CMF", 15 #endif 16 "PSPHOT.RESID", 17 "PSPHOT.BACKMDL", "PSPHOT.BACKMDL.STDEV", "PSPHOT.BACKGND", "PSPHOT.BACKSUB", 18 "PSPHOT.PSF.SAVE", "SOURCE.PLOT.MOMENTS", "SOURCE.PLOT.PSFMODEL", 19 "SOURCE.PLOT.APRESID", NULL }; 20 static char *independentFiles[] = { "PSWARP.ASTROM", // Read independently from the input pixels 21 "PSWARP.SKYCELL", // Don't care about the skycell once we have its WCS 22 "PSWARP.OUTPUT.SOURCES", // Save these independently so we can do the PSF 23 NULL }; 24 5 #define PSPHOT_FIND_PSF 1 // Use psphot's findPSF function? 6 #define TESTING 0 // Testing output? 7 8 // Lists of file rules used at different stages 9 #include "pswarpFileNames.h" 10 11 // XXX these are generic functions which should be moved to psModules 25 12 // Activate a list of files 26 13 static void fileActivation(pmConfig *config, // Configuration … … 141 128 142 129 // Read the input astrometry 130 // XXX rather than use the activations here, this should just explicitly loop over the desired filerule 143 131 { 144 132 pmFPAfileActivate(config->files, true, "PSWARP.ASTROM"); … … 386 374 #endif 387 375 388 #if def TESTING376 #if (TESTING) 389 377 { 390 378 #define PSF_SIZE 20 // Half-size of PSF
Note:
See TracChangeset
for help on using the changeset viewer.
