Changeset 27639
- Timestamp:
- Apr 8, 2010, 10:30:00 AM (16 years ago)
- Location:
- trunk/psastro/src
- Files:
-
- 5 edited
-
psastro.h (modified) (1 diff)
-
psastroChipAstrom.c (modified) (1 diff)
-
psastroFixChips.c (modified) (1 diff)
-
psastroFixChipsTest.c (modified) (1 diff)
-
psastroOneChipFit.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psastro/src/psastro.h
r26259 r27639 82 82 bool psastroOneChip (pmFPA *fpa, pmChip *chip, psArray *refset, psArray *rawset, psMetadata *recipe, psMetadata *updates); 83 83 bool psastroOneChipGrid (pmFPA *fpa, pmChip *chip, psArray *refset, psArray *rawset, psMetadata *recipe, psMetadata *updates); 84 bool psastroOneChipFit (pmFPA *fpa, pmChip *chip, p sArray *refset, psArray *rawset, psMetadata *recipe, psMetadata *updates);84 bool psastroOneChipFit (pmFPA *fpa, pmChip *chip, pmReadout *readout, psArray *refset, psArray *rawset, psMetadata *recipe, psMetadata *updates); 85 85 bool psastroChooseRefstars (pmConfig *config, psArray *refs, const char *source); 86 86 bool psastroRefstarSubset (pmReadout *readout); -
trunk/psastro/src/psastroChipAstrom.c
r26259 r27639 86 86 } 87 87 // XXX update the header with info to reflect the failure 88 if (!psastroOneChipFit (fpa, chip, re fstars, rawstars, recipe, updates)) {88 if (!psastroOneChipFit (fpa, chip, readout, refstars, rawstars, recipe, updates)) { 89 89 readout->data_exists = false; 90 90 psLogMsg ("psastro", 3, "failed to find a solution\n"); -
trunk/psastro/src/psastroFixChips.c
r26259 r27639 329 329 330 330 // XXX update the header with info to reflect the failure 331 if (!psastroOneChipFit (input->fpa, obsChip, re fstars, rawstars, recipe, updates)) {331 if (!psastroOneChipFit (input->fpa, obsChip, readout, refstars, rawstars, recipe, updates)) { 332 332 readout->data_exists = false; 333 333 psLogMsg ("psastro", 3, "failed to find a solution\n"); -
trunk/psastro/src/psastroFixChipsTest.c
r26259 r27639 252 252 253 253 // XXX update the header with info to reflect the failure 254 if (!psastroOneChipFit (fpa, chip, re fstars, rawstars, recipe, updates)) {254 if (!psastroOneChipFit (fpa, chip, readout, refstars, rawstars, recipe, updates)) { 255 255 readout->data_exists = false; 256 256 psLogMsg ("psastro", 3, "failed to find a solution\n"); -
trunk/psastro/src/psastroOneChipFit.c
r26259 r27639 18 18 psAbort ("Failed to find %s in recipe", NAME); } 19 19 20 bool psastroOneChipFit (pmFPA *fpa, pmChip *chip, p sArray *refstars, psArray *rawstars, psMetadata *recipe, psMetadata *updates) {20 bool psastroOneChipFit (pmFPA *fpa, pmChip *chip, pmReadout *readout, psArray *refstars, psArray *rawstars, psMetadata *recipe, psMetadata *updates) { 21 21 22 22 bool status; … … 212 212 } 213 213 214 // save the match table for zero points and other tests 215 psMetadataAdd (readout->analysis, PS_LIST_TAIL, "PSASTRO.MATCH", PS_DATA_ARRAY | PS_META_REPLACE, "astrometry matches", match); 216 214 217 psFree (match); 215 218 psFree (results);
Note:
See TracChangeset
for help on using the changeset viewer.
