IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 4, 2008, 3:32:28 PM (18 years ago)
Author:
Paul Price
Message:

I've implemented the chip-dependent concepts. It uses a generalised version of the dependent DEFAULT concepts, which can, unfortunately, make the camera format configuration a bit longer, but it consolidates code and keeps things simple both for the code and the configuration.

In the process, I took care of a couple of other concept bugs that have been sitting in my inbox for nearly a year:

  • FPA.NAME has been replaced with FPA.OBS, which is intended to be an observation identifier (bug 885). You're welcome to change the name, so long as you also volunteer to fix all the camera formats.
  • FPA.CAMERA is automatically set (on construction of the FPA) to the camera name as used by the configuration files (bug 931). I've changed the ppStats REGISTER recipe to use FPA.CAMERA instead of FPA.INSTRUMENT (which is retained in the concepts as the instrument's name according to the instrument, whereas FPA.CAMERA is the instrument's name according to our configuration).
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/concepts/pmConceptsRead.h

    r12696 r17911  
    44 * @author Paul Price, IfA
    55 *
    6  * @version $Revision: 1.6 $ $Name: not supported by cvs2svn $
    7  * @date $Date: 2007-03-30 21:12:56 $
     6 * @version $Revision: 1.7 $ $Name: not supported by cvs2svn $
     7 * @date $Date: 2008-06-05 01:31:33 $
    88 * Copyright 2005-2006 Institute for Astronomy, University of Hawaii
    99 */
     
    2222                               const pmCell *cell ///< The cell
    2323                              );
     24
     25/// Read a single concept from the DEFAULTS in the camera format
     26///
     27/// The returned item is NOT parsed, but any interpolation for DEPEND is done.
     28psMetadataItem *p_pmConceptsReadSingleFromDefaults(
     29    const char *name,                   ///< Name of concept
     30    const psMetadata *defaults,         ///< DEFAULTS specifications
     31    const pmFPA *fpa,                   ///< The FPA
     32    const pmChip *chip,                 ///< The chip, or NULL
     33    const pmCell *cell                  ///< The cell, or NULL
     34    );
    2435
    2536/// Read concepts from the DEFAULTS in the camera format file.
     
    4556                               );
    4657
     58/// Read a single concept from the DATABASE specification in the camera format
     59///
     60/// The returned item is NOT parsed, but any interpolation for DEPEND is done.
     61psMetadataItem *p_pmConceptsReadSingleFromDatabase(
     62    const char *name,                   ///< Name of concept
     63    const psMetadata *database,         ///< DATABASE specification
     64    psDB *db,                           ///< Database handle
     65    const pmFPA *fpa,                   ///< The FPA
     66    const pmChip *chip,                 ///< The chip, or NULL
     67    const pmCell *cell                  ///< The cell, or NULL
     68    );
     69
    4770/// Read concepts from the header DATABASE in the camera format file.
    4871///
Note: See TracChangeset for help on using the changeset viewer.