Changeset 12455 for trunk/psModules/src/camera/pmFPAfile.h
- Timestamp:
- Mar 15, 2007, 2:29:17 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/camera/pmFPAfile.h (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/camera/pmFPAfile.h
r12299 r12455 4 4 * @author EAM, IfA 5 5 * 6 * @version $Revision: 1.1 4$ $Name: not supported by cvs2svn $7 * @date $Date: 2007-03- 08 00:41:32$6 * @version $Revision: 1.15 $ $Name: not supported by cvs2svn $ 7 * @date $Date: 2007-03-16 00:29:17 $ 8 8 * Copyright 2004-2005 Institute for Astronomy, University of Hawaii 9 9 */ … … 37 37 PM_FPA_FILE_JPEG, 38 38 PM_FPA_FILE_KAPA, 39 PM_FPA_FILE_MANAPLOT,40 39 PM_FPA_FILE_MASK, 41 40 PM_FPA_FILE_WEIGHT, … … 60 59 typedef struct 61 60 { 62 pmFPAfileMode mode; // is this file read, written, or only used internally?63 pmFPAfileType type; // what type of data is read from / written to disk?64 pmFPAfileState state; // have we opened the file, etc?61 pmFPAfileMode mode; // is this file read, written, or only used internally? 62 pmFPAfileType type; // what type of data is read from / written to disk? 63 pmFPAfileState state; // have we opened the file, etc? 65 64 66 // Desired levels, set by the user 67 pmFPALevel fileLevel; // what level in the FPA hierarchy represents a unique file? 68 pmFPALevel dataLevel; // at what level do we read/write the data segment? 69 pmFPALevel freeLevel; // at what level do we free the data segment? 65 pmFPALevel fileLevel; // what level in the FPA hierarchy represents a unique file? 66 pmFPALevel dataLevel; // at what level do we read/write the data segment? (request by user) 67 pmFPALevel freeLevel; // at what level do we free the data segment? (set by program) 70 68 pmFPALevel mosaicLevel; // at what level is the mosaic? 71 69 72 pmFPA *fpa; // for I/O files, we carry a pointer to the complete fpa73 psFits *fits; // for I/O files of fits type (IMAGE, CMP, CMF), we carry a file handle70 pmFPA *fpa; // for I/O files, we carry a pointer to the complete fpa 71 psFits *fits; // for I/O files of fits type (IMAGE, CMP, CMF), we carry a file handle 74 72 75 bool phu; // have we written a PHU for this file?76 psMetadata *header; // pointer (view) to the current hdu header73 bool phu; // have we written a PHU for this file? 74 psMetadata *header; // pointer (view) to the current hdu header 77 75 78 pmReadout *readout; // for internal files, we only carry a single readout76 pmReadout *readout; // for internal files, we only carry a single readout 79 77 80 psMetadata *names; // filenames supplied by the cmdline or detdb are saved here78 psMetadata *names; // filenames supplied by the cmdline or detdb are saved here 81 79 82 char *filerule; // rule for constructing a filename when needed 83 char *filextra; // additional information used to define filenames (context dependent) 84 char *extrule; // rule for constructing an extension name when needed 85 char *extxtra; // additional information used to define extension names (context dependent) 80 char *filerule; // rule for constructing a filename when needed 81 char *filesrc; // rule to find file in pmFPAfile->names list 86 82 87 char *name; // the name of the rule (useful for debugging / tracing)88 char *filename; // the current name of an active file89 char *extname; // the current name of an active file extension83 char *name; // the name of the rule (useful for debugging / tracing) 84 char *filename; // the current name of an active file 85 char *extname; // the current name of an active file extension 90 86 91 87 pmDetrendSelectResults *detrend; // Detrend information, from pmDetrendSelect … … 95 91 // the following elements are used for WRITE-mode IMAGE-type pmFPAfiles to inform 96 92 // the creation of a new image based on an existing image 97 pmFPA *src; // if an output FPA, inherit from this FPA98 int xBin; // desired binning in x direction99 int yBin; // desired binning in y direction93 pmFPA *src; // if an output FPA, inherit from this FPA 94 int xBin; // desired binning in x direction 95 int yBin; // desired binning in y direction 100 96 101 97 psMetadata *camera; // Camera configuration
Note:
See TracChangeset
for help on using the changeset viewer.
