IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 8, 2007, 12:26:06 PM (19 years ago)
Author:
Paul Price
Message:

Adding facilities to automatically generate mosaicked versions of cameras on the fly. To support this, changed the configuration system to load the camera config and camera format configs so that these remain in memory (replacing the filename with the psMetadata that results from reading the file). New mosaicked cameras have the names _CAMERA-CHIP and _CAMERA-FPA for an unmosaicked camera named CAMERA. These are placed at the top of the camera list, so that they are compared first against FITS headers. pmConfigCameraFormatFromHeader still outputs a warning if called on the header from a mosaicked camera, because the unmosaicked version also matches (the addition of a header, rather than changing a header means that something without that header in the RULE also matches).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/config/pmConfig.h

    r10623 r10965  
    99/// @author Eugene Magnier, IfA
    1010///
    11 /// @version $Revision: 1.22 $ $Name: not supported by cvs2svn $
    12 /// @date $Date: 2006-12-11 20:59:48 $
     11/// @version $Revision: 1.23 $ $Name: not supported by cvs2svn $
     12/// @date $Date: 2007-01-08 22:26:06 $
    1313///
    1414/// Copyright 2005-2006 Institute for Astronomy, University of Hawaii
     
    4242    psMetadata *site;                   ///< Site configuration
    4343    psMetadata *camera;                 ///< Camera specification
    44     const char *cameraName;             ///< Camera name
     44    psString cameraName;                ///< Camera name
     45    psMetadata *format;                 ///< Camera format description
     46    psString formatName;                ///< Camera format name
    4547    psMetadata *recipes;                ///< Recipes for processing
    4648    psMetadata *arguments;              ///< Processed command-line arguments
     
    4951    int *argc;                          ///< Number of command-line arguments
    5052    char **argv;                        ///< Command-line arguments (raw version)
    51     char *defaultRecipe;  ///< name of top-level recipe for this program
     53    const char *defaultRecipe;          ///< name of top-level recipe for this program
    5254    // Private members
    53     pmRecipeSource recipesRead;  ///< Which recipe sources have been read
     55    pmRecipeSource recipesRead;         ///< Which recipe sources have been read
    5456    psMetadata *recipeSymbols;          ///< Where each recipe came from
    5557}
Note: See TracChangeset for help on using the changeset viewer.