IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 14618


Ignore:
Timestamp:
Aug 22, 2007, 3:07:53 PM (19 years ago)
Author:
eugene
Message:

psf now saved on chip->analysis, not readout->analysis

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branch_20070817/psphot/src/psphotReadoutCleanup.c

    r13835 r14618  
    5757    if (psf) {
    5858        // save the psf for possible output.  if there was already an entry, it was loaded from external sources
    59         // the new one may have been updated or modified, so replace the existing entry
    60         psMetadataAdd (readout->analysis, PS_LIST_TAIL, "PSPHOT.PSF", PS_DATA_UNKNOWN | PS_META_REPLACE,  "psphot psf", psf);
     59        // the new one may have been updated or modified, so replace the existing entry.  We
     60        // are required to save it on the chip, but this will cause problems if we ever want to
     61        // run psphot on an unmosaiced image
     62        pmCell *cell = readout->parent;
     63        pmChip *chip = cell->parent;
     64        psMetadataAdd (chip->analysis, PS_LIST_TAIL, "PSPHOT.PSF", PS_DATA_UNKNOWN | PS_META_REPLACE,  "psphot psf", psf);
    6165    }
    6266
Note: See TracChangeset for help on using the changeset viewer.