IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 6930


Ignore:
Timestamp:
Apr 20, 2006, 12:30:33 PM (20 years ago)
Author:
Paul Price
Message:

Adding conceptsRead to FPA hierarchy components so that the user can tell what has been read (defaults, camera, database, header).

Location:
trunk/psModules/src/astrom
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/astrom/pmFPA.c

    r6896 r6930  
    1212* XXX: Should we implement non-linear cell->chip transforms?
    1313*
    14 *  @version $Revision: 1.3 $ $Name: not supported by cvs2svn $
    15 *  @date $Date: 2006-04-19 03:24:09 $
     14*  @version $Revision: 1.4 $ $Name: not supported by cvs2svn $
     15*  @date $Date: 2006-04-20 22:30:33 $
    1616*
    1717*  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    267267
    268268    tmpCell->concepts = psMetadataAlloc();
     269    tmpCell->conceptsRead = PM_CONCEPT_SOURCE_NONE;
    269270    psBool rc = psMetadataAddStr(tmpCell->concepts, PS_LIST_HEAD, "CELL.NAME", 0, NULL, name);
    270271    if (rc == false) {
     
    313314
    314315    tmpChip->concepts = psMetadataAlloc();
     316    tmpChip->conceptsRead = PM_CONCEPT_SOURCE_NONE;
    315317    psBool rc = psMetadataAddStr(tmpChip->concepts, PS_LIST_HEAD, "CHIP.NAME", 0, NULL, name);
    316318    if (rc == false) {
     
    353355
    354356    tmpFPA->concepts = psMetadataAlloc();
     357    tmpFPA->conceptsRead = PM_CONCEPT_SOURCE_NONE;
    355358    tmpFPA->analysis = NULL;
    356359    tmpFPA->camera = psMemIncrRefCounter((psPtr)camera);
  • trunk/psModules/src/astrom/pmFPA.h

    r6896 r6930  
    77*  @author GLG, MHPCC
    88*
    9 *  @version $Revision: 1.3 $ $Name: not supported by cvs2svn $
    10 *  @date $Date: 2006-04-19 03:24:09 $
     9*  @version $Revision: 1.4 $ $Name: not supported by cvs2svn $
     10*  @date $Date: 2006-04-20 22:30:33 $
    1111*
    1212*  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    5151    // Information
    5252    psMetadata *concepts;               ///< Cache for PS concepts
     53    unsigned int conceptsRead;          ///< Which concepts have been read
    5354    psMetadata *analysis;               ///< FPA-level analysis metadata
    5455    const psMetadata *camera;           ///< Camera configuration
     
    8485    // Information
    8586    psMetadata *concepts;               ///< Cache for PS concepts
     87    unsigned int conceptsRead;          ///< Which concepts have been read
    8688    psMetadata *analysis;               ///< Chip-level analysis metadata
    8789    psArray *cells;                     ///< The cells (referred to by name)
     
    106108{
    107109    psMetadata *concepts;               ///< Cache for PS concepts
     110    unsigned int conceptsRead;          ///< Which concepts have been read
    108111    psMetadata *config;                 ///< Cell configuration info
    109112    psMetadata *analysis;               ///< Cell-level analysis metadata
Note: See TracChangeset for help on using the changeset viewer.