IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 20, 2006, 8:57:16 PM (20 years ago)
Author:
eugene
Message:

modifications to support psphot on pmReadout with full IPP config files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psphot/src/psModulesUtils.h

    r5718 r6117  
    99# include "psLibUtils.h"
    1010
     11// How much of the FPA to load at a time
     12typedef enum {
     13    PP_LOAD_NONE,                       // Don't load anything
     14    PP_LOAD_FPA,                        // Load the entire FPA at once
     15    PP_LOAD_CHIP,                       // Load by chip
     16    PP_LOAD_CELL,                       // Load by cell
     17} ppImageLoadDepth;
     18
     19// Configuration data
     20typedef struct {
     21    psMetadata *site;                   // The site configuration
     22    psMetadata *camera;                 // The camera configuration
     23    psMetadata *recipe;                 // The recipe (i.e., specific setups)
     24    psMetadata *arguments;              // The command-line arguments
     25    psDB       *database;               // Database handle
     26} ppConfig;
     27
     28// A file to process
     29typedef struct {
     30    char *filename;                     // File name
     31    psFits *fits;                       // The FITS file handle
     32    psMetadata *phu;                    // The FITS header
     33    pmFPA *fpa;                         // The FPA, with pixels and extensions
     34} ppFile;
     35
    1136// psModule extra utilities
    1237// bool      pmSourceFitModel_EAM(pmSource *source, pmModel *model, const bool PSF);
     
    1843// unify with paul's image/header/metadata functions
    1944psF32        pmConfigLookupF32 (bool *status, psMetadata *config, psMetadata *header, char *name);
     45pmModel *pmModelSelect (pmSource *source);
     46
     47ppConfig       *ppConfigAlloc (void);
     48ppFile         *ppFileAlloc (void);
     49psMetadata    *pmReadoutGetHeader (pmReadout *readout);
    2050
    2151# endif
Note: See TracChangeset for help on using the changeset viewer.