IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 12, 2007, 12:22:15 PM (19 years ago)
Author:
Paul Price
Message:

Adding fix to bug 853: when CELL.BIASSEC or CELL.TRIMSEC are specified by value in the CELLS part of the camera format, then they need to be updated by the binning. Added pmConceptsUpdate, which is run after concepts are read, and seaches for concepts to update (e.g., dependent on other concepts, which may not be available at read time --- just like CELL.TRIMSEC and CELL.XBIN/CELL.YBIN). To use this, changed the functions that parse/format standard concepts to receive the source of the concept. CELL.TRIMSEC and CELL.BIASSEC are updated for the binning if CELL.TRIMSEC.UPDATE or CELL.BIASSEC.UPDATE are set. Tested this quickly, and it seems to work.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/concepts/pmConcepts.c

    r11284 r11749  
    1313#include "pmConceptsWrite.h"
    1414#include "pmConceptsStandard.h"
     15#include "pmConceptsUpdate.h"
    1516
    1617static bool conceptsInitialised = false;// Have concepts been read?
     
    222223    #endif
    223224
     225    pmConceptsUpdate(fpa, chip, cell);
     226
    224227    return success;
    225228}
     
    486489        {
    487490            psMetadataItem *fpaFilterid = psMetadataItemAllocStr("FPA.FILTERID",
    488                                           "Filter used (parsed, abstract name) ", "");
     491                                                                 "Filter used (parsed, abstract name) ", "");
    489492            pmConceptRegister(fpaFilterid, (pmConceptParseFunc)p_pmConceptParse_FPA_FILTER,
    490493                              (pmConceptFormatFunc)p_pmConceptFormat_FPA_FILTER, PM_FPA_LEVEL_FPA);
Note: See TracChangeset for help on using the changeset viewer.