Changeset 5371 for trunk/archive/scripts/src/phase2/pmFPA.h
- Timestamp:
- Oct 18, 2005, 4:19:41 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/archive/scripts/src/phase2/pmFPA.h (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/archive/scripts/src/phase2/pmFPA.h
r5104 r5371 11 11 typedef struct { 12 12 const char *extname; // Extension name, if it corresponds to this level 13 psArray *pixels; // The pixel data, if it corresponds to this level14 13 psMetadata *header; // The FITS header, if it corresponds to this level 15 } p_pmHDU; 14 psArray *images; // The pixel data, if it corresponds to this level 15 psArray *masks; // The mask data, if it corresponds to this level 16 psArray *weights; // The weight data, if it corresponds to this level 17 } pmPixelData; 16 18 17 19 typedef struct { … … 25 27 psMetadata *phu; // Primary Header 26 28 psArray *chips; // The chips 27 p _pmHDU *private; // FITS data29 pmPixelData *data; // FITS data 28 30 } pmFPA; 29 31 … … 40 42 pmFPA *parent; // Parent FPA 41 43 bool valid; // Valid for reading in? 42 p _pmHDU *private; // FITS data44 pmPixelData *data; // FITS data 43 45 } pmChip; 44 46 … … 59 61 pmChip *parent; // Parent chip 60 62 bool valid; // Valid for operating on? 61 p _pmHDU *private; // FITS data63 pmPixelData *data; // FITS data 62 64 } pmCell; 63 65 … … 72 74 const unsigned int rowBins; // Amount of binning in y-dimension 73 75 // Information 76 psMetadata *concepts; // Concepts for readouts 77 pmCell *parent; // Parent cell 74 78 psImage *image; // The pixels 75 79 psImage *mask; // Mask image 76 psList *overscans; // List of subimages containing the overscan regions 77 psMetadata *concepts; // Concepts for readouts 80 psImage *weight; // Weight image 78 81 } pmReadout; 79 82 83 84 psList *pmReadoutGetBias(pmReadout *readout // Readout for which to get the bias sections 85 ); 86 87 80 88 // Allocators and deallocators 81 p _pmHDU *p_pmHDUAlloc(const char *extname);82 void p_pm HDUFree(p_pmHDU *hdu);89 pmPixelData *pmPixelDataAlloc(const char *extname); 90 void p_pmPixelDataFree(pmPixelData *pd); 83 91 pmFPA *pmFPAAlloc(const psMetadata *camera // Camera configuration 84 92 ); … … 96 104 void p_pmCellFree(pmCell *cell); 97 105 98 pmReadout *pmReadoutAlloc(pmCell *cell, // Cell to which the readout belongs106 pmReadout *pmReadoutAlloc(pmCell *cell, // Cell to which the readout belongs 99 107 psImage *image, // The pixels 100 ps List *overscans, // The overscan images108 psImage *mask,// The mask pixels 101 109 int col0, int row0, int colParity, int rowParity, int colBin, int rowBin // Data 102 110 );
Note:
See TracChangeset
for help on using the changeset viewer.
