IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 27639


Ignore:
Timestamp:
Apr 8, 2010, 10:30:00 AM (16 years ago)
Author:
eugene
Message:

save matches at chip analysis in case we do not perform mosaic analysis

Location:
trunk/psastro/src
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/psastro/src/psastro.h

    r26259 r27639  
    8282bool              psastroOneChip (pmFPA *fpa, pmChip *chip, psArray *refset, psArray *rawset, psMetadata *recipe, psMetadata *updates);
    8383bool              psastroOneChipGrid (pmFPA *fpa, pmChip *chip, psArray *refset, psArray *rawset, psMetadata *recipe, psMetadata *updates);
    84 bool              psastroOneChipFit (pmFPA *fpa, pmChip *chip, psArray *refset, psArray *rawset, psMetadata *recipe, psMetadata *updates);
     84bool              psastroOneChipFit (pmFPA *fpa, pmChip *chip, pmReadout *readout, psArray *refset, psArray *rawset, psMetadata *recipe, psMetadata *updates);
    8585bool              psastroChooseRefstars (pmConfig *config, psArray *refs, const char *source);
    8686bool              psastroRefstarSubset (pmReadout *readout);
  • trunk/psastro/src/psastroChipAstrom.c

    r26259 r27639  
    8686                }
    8787                // XXX update the header with info to reflect the failure
    88                 if (!psastroOneChipFit (fpa, chip, refstars, rawstars, recipe, updates)) {
     88                if (!psastroOneChipFit (fpa, chip, readout, refstars, rawstars, recipe, updates)) {
    8989                    readout->data_exists = false;
    9090                    psLogMsg ("psastro", 3, "failed to find a solution\n");
  • trunk/psastro/src/psastroFixChips.c

    r26259 r27639  
    329329
    330330        // XXX update the header with info to reflect the failure
    331         if (!psastroOneChipFit (input->fpa, obsChip, refstars, rawstars, recipe, updates)) {
     331        if (!psastroOneChipFit (input->fpa, obsChip, readout, refstars, rawstars, recipe, updates)) {
    332332            readout->data_exists = false;
    333333            psLogMsg ("psastro", 3, "failed to find a solution\n");
  • trunk/psastro/src/psastroFixChipsTest.c

    r26259 r27639  
    252252
    253253        // XXX update the header with info to reflect the failure
    254         if (!psastroOneChipFit (fpa, chip, refstars, rawstars, recipe, updates)) {
     254        if (!psastroOneChipFit (fpa, chip, readout, refstars, rawstars, recipe, updates)) {
    255255            readout->data_exists = false;
    256256            psLogMsg ("psastro", 3, "failed to find a solution\n");
  • trunk/psastro/src/psastroOneChipFit.c

    r26259 r27639  
    1818   psAbort ("Failed to find %s in recipe", NAME); }
    1919
    20 bool psastroOneChipFit (pmFPA *fpa, pmChip *chip, psArray *refstars, psArray *rawstars, psMetadata *recipe, psMetadata *updates) {
     20bool psastroOneChipFit (pmFPA *fpa, pmChip *chip, pmReadout *readout, psArray *refstars, psArray *rawstars, psMetadata *recipe, psMetadata *updates) {
    2121
    2222    bool status;
     
    212212    }
    213213
     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
    214217    psFree (match);
    215218    psFree (results);
Note: See TracChangeset for help on using the changeset viewer.