IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 5, 2006, 12:46:25 AM (20 years ago)
Author:
eugene
Message:

working on file I/O

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psastro/src/psastro.h

    r5575 r6791  
    1010# define toTPA toTangentPlane
    1111# define toSky projection
     12
     13// How much of the FPA to load at a time
     14typedef enum {
     15    PP_LOAD_NONE,                       // Don't load anything
     16    PP_LOAD_FPA,                        // Load the entire FPA at once
     17    PP_LOAD_CHIP,                       // Load by chip
     18    PP_LOAD_CELL,                       // Load by cell
     19} ppImageLoadDepth;
     20
     21// Configuration data
     22typedef struct {
     23    psMetadata *site;                   // The site configuration
     24    psMetadata *camera;                 // The camera configuration
     25    psMetadata *recipe;                 // The recipe (i.e., specific setups)
     26    psMetadata *arguments;              // Command-line arguments
     27    psMetadata *options;                // Command-line recipe options
     28    psDB       *database;               // Database handle
     29} ppConfig;
     30
     31// A file to process
     32typedef struct {
     33    char *filename;                     // File name
     34    psFits *fits;                       // The FITS file handle
     35    psMetadata *phu;                    // The FITS header
     36    pmFPA *fpa;                         // The FPA, with pixels and extensions
     37} ppFile;
    1238
    1339bool              pmAstromReadWCS (psPlaneTransform **toFPA, psProjection **toSky, psMetadata *header);
Note: See TracChangeset for help on using the changeset viewer.