- Timestamp:
- Mar 15, 2009, 4:56:51 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/eam_branch_20090312/psastro/src/psastroAnalysis.c
r21409 r23336 45 45 46 46 // load the reference stars overlapping the data stars 47 psArray *refs = psastroLoadRefstars(config );47 psArray *refs = psastroLoadRefstars(config, "PSASTRO.INPUT"); 48 48 if (!refs) { 49 49 psError (PSASTRO_ERR_UNKNOWN, false, "failed to load reference data\n"); … … 56 56 } 57 57 58 if (!psastroChooseRefstars (config, refs )) {58 if (!psastroChooseRefstars (config, refs, "PSASTRO.INPUT")) { 59 59 psError (PSASTRO_ERR_UNKNOWN, false, "failed to select reference data for chips\n"); 60 60 psFree(refs); 61 61 return false; 62 62 } 63 psFree (refs); // refs of interest are saved on readout->analysis 63 64 64 65 // check the command-line arguments first … … 79 80 if (!psastroChipAstrom (config)) { 80 81 psError (PSASTRO_ERR_UNKNOWN, false, "failed to perform single chip astrometry\n"); 81 psFree(refs);82 82 return false; 83 83 } … … 86 86 if (!psastroMosaicAstrom (config)) { 87 87 psError (PSASTRO_ERR_UNKNOWN, false, "failed to perform mosaic camera astrometry\n"); 88 psFree(refs);89 88 return false; 90 89 } … … 100 99 // psastroStackAstrom (config, refs); 101 100 102 psFree (refs);103 101 return true; 104 102 }
Note:
See TracChangeset
for help on using the changeset viewer.
