Changeset 21363 for trunk/psModules/src/camera/pmFPARead.h
- Timestamp:
- Feb 5, 2009, 4:31:25 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/camera/pmFPARead.h (modified) (11 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/camera/pmFPARead.h
r18163 r21363 4 4 * @author Paul Price, IfA 5 5 * 6 * @version $Revision: 1.1 5$ $Name: not supported by cvs2svn $7 * @date $Date: 200 8-06-17 22:16:38$6 * @version $Revision: 1.16 $ $Name: not supported by cvs2svn $ 7 * @date $Date: 2009-02-06 02:31:24 $ 8 8 * Copyright 2005-2006 Institute for Astronomy, University of Hawaii 9 9 */ … … 60 60 int numRows, // The number of rows to read 61 61 pmConfig *config 62 );62 ); 63 63 64 64 /// Return the number of readouts within a cell 65 65 /// 66 /// This function is type-independent (doesn't matter if you are interested in the image/mask/ weight).66 /// This function is type-independent (doesn't matter if you are interested in the image/mask/variance). 67 67 int pmCellNumReadouts(pmCell *cell, psFits *fits, pmConfig *config); 68 68 … … 74 74 psFits *fits, // FITS file from which to read 75 75 pmConfig *config // Configuration 76 );76 ); 77 77 78 78 /// Read a chip … … 82 82 psFits *fits, // FITS file from which to read 83 83 pmConfig *config // Configuration 84 );84 ); 85 85 86 86 /// Read an FPA … … 90 90 psFits *fits, // FITS file from which to read 91 91 pmConfig *config // Configuration 92 );92 ); 93 93 94 94 // Mask functions follow … … 126 126 psFits *fits, // FITS file from which to read 127 127 pmConfig *config // Configuration 128 );128 ); 129 129 130 130 /// Read an entire chip into the mask … … 134 134 psFits *fits, // FITS file from which to read 135 135 pmConfig *config // Configuration 136 );136 ); 137 137 138 138 /// Read an entire FPA into the mask … … 142 142 psFits *fits, // FITS file from which to read 143 143 pmConfig *config // Configuration 144 );145 146 // Weightfunctions follow147 148 /// Check to see if there is more to read when reading a readout incrementally into the weight149 bool pmReadoutMore Weight(pmReadout *readout, ///< Readout of interest150 psFits *fits,///< FITS file from which to read151 int z,///< Readout number/plane; zero-offset indexing152 int numScans,///< Number of scans (rows/cols) to read153 pmConfig *config ///< Configuration154 ); 155 156 /// Read a chunk of a readout into the weight144 ); 145 146 // Variance functions follow 147 148 /// Check to see if there is more to read when reading a readout incrementally into the variance 149 bool pmReadoutMoreVariance(pmReadout *readout, ///< Readout of interest 150 psFits *fits, ///< FITS file from which to read 151 int z, ///< Readout number/plane; zero-offset indexing 152 int numScans, ///< Number of scans (rows/cols) to read 153 pmConfig *config ///< Configuration 154 ); 155 156 /// Read a chunk of a readout into the variance 157 157 /// 158 158 /// Allows reading the readout incrementally 159 bool pmReadoutReadChunk Weight(pmReadout *readout, ///< Readout of interest160 psFits *fits, ///< FITS file from which to read161 int z, ///< Readout number/plane; zero-offset indexing162 int numScans, ///< Number of scans (rows/cols) to read163 int overlap, ///< Overlap between consecutive reads164 pmConfig *config ///< Configuration165 ); 166 167 /// Read the entire readout into the weight168 bool pmReadoutRead Weight(pmReadout *readout, ///< Readout of interest169 psFits *fits, ///< FITS file from which to read170 int z, ///< Readout number/plane; zero-offset indexing171 pmConfig *config ///< Configuration172 ); 173 174 /// Read an entire cell into the weight175 /// 176 /// Same as pmCellRead, but reads into the weightelement of the readouts.177 bool pmCellRead Weight(pmCell *cell, // Cell to read into178 psFits *fits, // FITS file from which to read179 pmConfig *config // Configuration180 );181 182 /// Read an entire chip into the weight183 /// 184 /// Same as pmChipRead, but reads into the weightelement of the readouts.185 bool pmChipRead Weight(pmChip *chip, // Chip to read into186 psFits *fits, // FITS file from which to read187 pmConfig *config // Configuration188 );189 190 /// Read an entire FPA into the weight191 /// 192 /// Same as pmFPARead, but reads into the weightelement of the readouts.193 bool pmFPARead Weight(pmFPA *fpa, // FPA to read into194 psFits *fits, // FITS file from which to read195 pmConfig *config // Configuration196 );159 bool pmReadoutReadChunkVariance(pmReadout *readout, ///< Readout of interest 160 psFits *fits, ///< FITS file from which to read 161 int z, ///< Readout number/plane; zero-offset indexing 162 int numScans, ///< Number of scans (rows/cols) to read 163 int overlap, ///< Overlap between consecutive reads 164 pmConfig *config ///< Configuration 165 ); 166 167 /// Read the entire readout into the variance 168 bool pmReadoutReadVariance(pmReadout *readout, ///< Readout of interest 169 psFits *fits, ///< FITS file from which to read 170 int z, ///< Readout number/plane; zero-offset indexing 171 pmConfig *config ///< Configuration 172 ); 173 174 /// Read an entire cell into the variance 175 /// 176 /// Same as pmCellRead, but reads into the variance element of the readouts. 177 bool pmCellReadVariance(pmCell *cell, // Cell to read into 178 psFits *fits, // FITS file from which to read 179 pmConfig *config // Configuration 180 ); 181 182 /// Read an entire chip into the variance 183 /// 184 /// Same as pmChipRead, but reads into the variance element of the readouts. 185 bool pmChipReadVariance(pmChip *chip, // Chip to read into 186 psFits *fits, // FITS file from which to read 187 pmConfig *config // Configuration 188 ); 189 190 /// Read an entire FPA into the variance 191 /// 192 /// Same as pmFPARead, but reads into the variance element of the readouts. 193 bool pmFPAReadVariance(pmFPA *fpa, // FPA to read into 194 psFits *fits, // FITS file from which to read 195 pmConfig *config // Configuration 196 ); 197 197 198 198 /// Read cell headers … … 226 226 /// also read and included in the cell analysis metadata under "name.HEADER". 227 227 int pmCellReadTable(pmCell *cell, ///< Cell for which to read table 228 psFits *fits, ///< FITS file from which t he table228 psFits *fits, ///< FITS file from which to read the table 229 229 const char *name ///< Specifies the extension name, and target in the analysis metadata 230 230 ); … … 233 233 /// 234 234 /// Iterates over component cells, calling pmCellReadTable. 235 int pmChipReadTable(pmChip *chip, ///< C ellfor which to read table236 psFits *fits, ///< FITS file from which t he table235 int pmChipReadTable(pmChip *chip, ///< Chip for which to read table 236 psFits *fits, ///< FITS file from which to read the table 237 237 const char *name ///< Specifies the extension name, and target in the analysis metadata 238 238 ); … … 241 241 /// 242 242 /// Iterates over component chips, calling pmChipReadTable. 243 int pmFPAReadTable(pmFPA *fpa, ///< Cellfor which to read table244 psFits *fits, ///< FITS file from which t he table243 int pmFPAReadTable(pmFPA *fpa, ///< FPA for which to read table 244 psFits *fits, ///< FITS file from which to read the table 245 245 const char *name ///< Specifies the extension name, and target in the analysis metadata 246 246 ); 247 248 /// Read covariance matrices for a cell 249 bool pmCellReadCovariance(pmCell *cell, ///< Cell for which to read covariance matrices 250 psFits *fits ///< FITS file from which to read 251 ); 252 253 /// Read covariance matrices for a chip 254 bool pmChipReadCovariance(pmChip *chip, ///< Chip for which to read covariance matrices 255 psFits *fits ///< FITS file from which to read 256 ); 257 258 /// Read covariance matrices for a cell 259 bool pmFPAReadCovariance(pmFPA *fpa, ///< FPA for which to read covariance matrices 260 psFits *fits ///< FITS file from which to read 261 ); 262 263 264 247 265 /// @} 248 266 #endif
Note:
See TracChangeset
for help on using the changeset viewer.
