Changeset 21363 for trunk/psModules/src/camera/pmFPAWrite.h
- Timestamp:
- Feb 5, 2009, 4:31:25 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/camera/pmFPAWrite.h (modified) (9 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/camera/pmFPAWrite.h
r21279 r21363 4 4 * @author Paul Price, IfA 5 5 * 6 * @version $Revision: 1.12 $ $Name: not supported by cvs2svn $ 7 * @date $Date: 2009-02-04 02:39:36 $ 6 * @version $Revision: 1.13 $ $Name: not supported by cvs2svn $ 7 * @date $Date: 2009-02-06 02:31:24 $ 8 * 8 9 * Copyright 2005-2006 Institute for Astronomy, University of Hawaii 9 10 */ … … 24 25 psFits *fits, ///< FITS file to which to write 25 26 int z ///< Image plane to write 26 );27 ); 27 28 28 29 /// Write a cell to a FITS file … … 36 37 pmConfig *config, ///< Configuration 37 38 bool blank ///< Write a blank PHU? 38 );39 ); 39 40 40 41 /// Write a chip to a FITS file … … 49 50 bool blank, ///< Write a blank PHU? 50 51 bool recurse ///< Recurse to lower levels? 51 );52 ); 52 53 53 54 /// Write an FPA to a FITS file … … 62 63 bool blank, ///< Write a blank PHU? 63 64 bool recurse ///< Recurse to lower levels? 64 );65 ); 65 66 66 67 /// Write a cell mask to a FITS file … … 74 75 pmConfig *config, ///< Configuration 75 76 bool blank ///< Write a blank PHU? 76 );77 ); 77 78 78 79 /// Write a chip mask to a FITS file … … 88 89 bool blank, ///< Write a blank PHU? 89 90 bool recurse ///< Recurse to lower levels? 90 );91 ); 91 92 92 93 /// Write an FPA mask to a FITS file … … 102 103 bool blank, ///< Write a blank PHU? 103 104 bool recurse ///< Recurse to lower levels? 104 );105 ); 105 106 106 /// Write a cell weightto a FITS file107 /// Write a cell variance to a FITS file 107 108 /// 108 /// Generates CELL.TRIMSEC, CELL.BIASSEC and the HDU weightpixels if required. A blank (i.e., image-less109 /// Generates CELL.TRIMSEC, CELL.BIASSEC and the HDU variance pixels if required. A blank (i.e., image-less 109 110 /// header) is written only if specifically requested. Writes the concepts to the various locations, and then 110 /// the HDU weight to the FITS file. This function should be called at the beginning of the output cell loop111 /// with blank=true in order to produce the correct file structure.112 bool pmCellWrite Weight(pmCell *cell, ///< Cell to write113 psFits *fits, ///< FITS file to which to write114 pmConfig *config, ///< Configuration115 bool blank ///< Write a blank PHU?116 );111 /// the HDU variance to the FITS file. This function should be called at the beginning of the output cell 112 /// loop with blank=true in order to produce the correct file structure. 113 bool pmCellWriteVariance(pmCell *cell, ///< Cell to write 114 psFits *fits, ///< FITS file to which to write 115 pmConfig *config, ///< Configuration 116 bool blank ///< Write a blank PHU? 117 ); 117 118 118 /// Write a chip weightto a FITS file119 /// Write a chip variance to a FITS file 119 120 /// 120 /// Generates CELL.TRIMSEC, CELL.BIASSEC and the HDU weightpixels if required. A blank (i.e., image-less121 /// Generates CELL.TRIMSEC, CELL.BIASSEC and the HDU variance pixels if required. A blank (i.e., image-less 121 122 /// header) is written only if specifically requested. Writes the concepts to the various locations, and then 122 /// the HDU weight to the FITS file, optionally recursing to lower levels. This function should be called at123 /// the beginning of the output chip loop with blank=true and recurse=false in order to produce the correct123 /// the HDU variance to the FITS file, optionally recursing to lower levels. This function should be called 124 /// at the beginning of the output chip loop with blank=true and recurse=false in order to produce the correct 124 125 /// file structure. 125 bool pmChipWrite Weight(pmChip *chip, ///< Chip to write126 psFits *fits, ///< FITS file to which to write127 pmConfig *config, ///< Configuration128 bool blank, ///< Write a blank PHU?129 bool recurse ///< Recurse to lower levels?130 );126 bool pmChipWriteVariance(pmChip *chip, ///< Chip to write 127 psFits *fits, ///< FITS file to which to write 128 pmConfig *config, ///< Configuration 129 bool blank, ///< Write a blank PHU? 130 bool recurse ///< Recurse to lower levels? 131 ); 131 132 132 /// Write an FPA weightto a FITS file133 /// Write an FPA variance to a FITS file 133 134 /// 134 /// Generates CELL.TRIMSEC, CELL.BIASSEC and the HDU weightpixels if required. A blank (i.e., image-less135 /// Generates CELL.TRIMSEC, CELL.BIASSEC and the HDU variance pixels if required. A blank (i.e., image-less 135 136 /// header) is written only if specifically requested. Writes the concepts to the various locations, and then 136 /// the HDU weight to the FITS file, optionally recursing to lower levels. This function should be called at137 /// the beginning of the output FPA loop with blank=true and recurse=false in order to produce the correct137 /// the HDU variance to the FITS file, optionally recursing to lower levels. This function should be called 138 /// at the beginning of the output FPA loop with blank=true and recurse=false in order to produce the correct 138 139 /// file structure. 139 bool pmFPAWrite Weight(pmFPA *fpa, ///< FPA to write140 psFits *fits, ///< FITS file to which to write141 pmConfig *config, ///< Configuration142 bool blank, ///< Write a blank PHU?143 bool recurse ///< Recurse to lower levels?144 );140 bool pmFPAWriteVariance(pmFPA *fpa, ///< FPA to write 141 psFits *fits, ///< FITS file to which to write 142 pmConfig *config, ///< Configuration 143 bool blank, ///< Write a blank PHU? 144 bool recurse ///< Recurse to lower levels? 145 ); 145 146 146 147 … … 153 154 const pmCell *cell, ///< Cell containing FITS table in the analysis metadata 154 155 const char *name ///< Name for the table data, and the extension name 155 );156 ); 156 157 157 158 int pmChipWriteTable(psFits *fits, ///< FITS file to which to write 158 159 const pmChip *chip, ///< Chip containing cells with tables to write 159 160 const char *name ///< Name for the table data, and the extension name 160 );161 ); 161 162 162 163 int pmFPAWriteTable(psFits *fits, ///< FITS file to which to write 163 164 const pmFPA *fpa, ///< FPA containing cells with tables to write 164 165 const char *name ///< Name for the table data, and the extension name 165 ); 166 ); 167 168 /// Write covariance matrix to a FITS file 169 /// 170 /// The covariance matrices for a cell are written to an independent extension, named after the chip and cell 171 /// name. 172 bool pmCellWriteCovariance(psFits *fits,///< FITS file to which to write 173 const pmCell *cell ///< Cell for which to write covariance 174 ); 175 176 bool pmChipWriteCovariance(psFits *fits,///< FITS file to which to write 177 const pmChip *chip ///< Chip for which to write covariance 178 ); 179 180 bool pmFPAWriteCovariance(psFits *fits,///< FITS file to which to write 181 const pmFPA *fpa ///< FPA for which to write covariance 182 ); 166 183 167 184 // Update the header before writing to be consistent
Note:
See TracChangeset
for help on using the changeset viewer.
