- Timestamp:
- Jan 28, 2009, 2:33:51 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/pap_branch_20090128/psModules/src/camera/pmFPAWrite.h
r18163 r21211 4 4 * @author Paul Price, IfA 5 5 * 6 * @version $Revision: 1.11 $ $Name: not supported by cvs2svn $7 * @date $Date: 200 8-06-17 22:16:38$6 * @version $Revision: 1.11.44.1 $ $Name: not supported by cvs2svn $ 7 * @date $Date: 2009-01-29 00:33:51 $ 8 8 * Copyright 2005-2006 Institute for Astronomy, University of Hawaii 9 9 */ … … 24 24 psFits *fits, ///< FITS file to which to write 25 25 int z ///< Image plane to write 26 );26 ); 27 27 28 28 /// Write a cell to a FITS file … … 36 36 pmConfig *config, ///< Configuration 37 37 bool blank ///< Write a blank PHU? 38 );38 ); 39 39 40 40 /// Write a chip to a FITS file … … 49 49 bool blank, ///< Write a blank PHU? 50 50 bool recurse ///< Recurse to lower levels? 51 );51 ); 52 52 53 53 /// Write an FPA to a FITS file … … 62 62 bool blank, ///< Write a blank PHU? 63 63 bool recurse ///< Recurse to lower levels? 64 );64 ); 65 65 66 66 /// Write a cell mask to a FITS file … … 74 74 pmConfig *config, ///< Configuration 75 75 bool blank ///< Write a blank PHU? 76 );76 ); 77 77 78 78 /// Write a chip mask to a FITS file … … 88 88 bool blank, ///< Write a blank PHU? 89 89 bool recurse ///< Recurse to lower levels? 90 );90 ); 91 91 92 92 /// Write an FPA mask to a FITS file … … 102 102 bool blank, ///< Write a blank PHU? 103 103 bool recurse ///< Recurse to lower levels? 104 );104 ); 105 105 106 /// Write a cell weightto a FITS file106 /// Write a cell variance to a FITS file 107 107 /// 108 /// Generates CELL.TRIMSEC, CELL.BIASSEC and the HDU weightpixels if required. A blank (i.e., image-less108 /// Generates CELL.TRIMSEC, CELL.BIASSEC and the HDU variance pixels if required. A blank (i.e., image-less 109 109 /// 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 );110 /// the HDU variance to the FITS file. This function should be called at the beginning of the output cell 111 /// loop with blank=true in order to produce the correct file structure. 112 bool pmCellWriteVariance(pmCell *cell, ///< Cell to write 113 psFits *fits, ///< FITS file to which to write 114 pmConfig *config, ///< Configuration 115 bool blank ///< Write a blank PHU? 116 ); 117 117 118 /// Write a chip weightto a FITS file118 /// Write a chip variance to a FITS file 119 119 /// 120 /// Generates CELL.TRIMSEC, CELL.BIASSEC and the HDU weightpixels if required. A blank (i.e., image-less120 /// Generates CELL.TRIMSEC, CELL.BIASSEC and the HDU variance pixels if required. A blank (i.e., image-less 121 121 /// 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 correct122 /// the HDU variance to the FITS file, optionally recursing to lower levels. This function should be called 123 /// at the beginning of the output chip loop with blank=true and recurse=false in order to produce the correct 124 124 /// 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 );125 bool pmChipWriteVariance(pmChip *chip, ///< Chip to write 126 psFits *fits, ///< FITS file to which to write 127 pmConfig *config, ///< Configuration 128 bool blank, ///< Write a blank PHU? 129 bool recurse ///< Recurse to lower levels? 130 ); 131 131 132 /// Write an FPA weightto a FITS file132 /// Write an FPA variance to a FITS file 133 133 /// 134 /// Generates CELL.TRIMSEC, CELL.BIASSEC and the HDU weightpixels if required. A blank (i.e., image-less134 /// Generates CELL.TRIMSEC, CELL.BIASSEC and the HDU variance pixels if required. A blank (i.e., image-less 135 135 /// 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 correct136 /// the HDU variance to the FITS file, optionally recursing to lower levels. This function should be called 137 /// at the beginning of the output FPA loop with blank=true and recurse=false in order to produce the correct 138 138 /// 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 );139 bool pmFPAWriteVariance(pmFPA *fpa, ///< FPA to write 140 psFits *fits, ///< FITS file to which to write 141 pmConfig *config, ///< Configuration 142 bool blank, ///< Write a blank PHU? 143 bool recurse ///< Recurse to lower levels? 144 ); 145 145 146 146 … … 153 153 const pmCell *cell, ///< Cell containing FITS table in the analysis metadata 154 154 const char *name ///< Name for the table data, and the extension name 155 );155 ); 156 156 157 157 int pmChipWriteTable(psFits *fits, ///< FITS file to which to write 158 158 const pmChip *chip, ///< Chip containing cells with tables to write 159 159 const char *name ///< Name for the table data, and the extension name 160 );160 ); 161 161 162 162 int pmFPAWriteTable(psFits *fits, ///< FITS file to which to write 163 163 const pmFPA *fpa, ///< FPA containing cells with tables to write 164 164 const char *name ///< Name for the table data, and the extension name 165 );165 ); 166 166 167 167 // XXX better name, please
Note:
See TracChangeset
for help on using the changeset viewer.
