Changeset 9589 for trunk/psModules/src/camera/pmFPACopy.h
- Timestamp:
- Oct 16, 2006, 3:16:17 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/camera/pmFPACopy.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/camera/pmFPACopy.h
r7278 r9589 1 /// @file pmFPACopy.h 2 /// 3 /// @brief Functions to copy FPA components. 4 /// 5 /// @ingroup Camera 6 /// 7 /// @author Paul Price, IfA 8 /// 9 /// @version $Revision: 1.3 $ $Name: not supported by cvs2svn $ 10 /// @date $Date: 2006-10-17 01:16:17 $ 11 /// 12 /// Copyright 2005-2006 Institute for Astronomy, University of Hawaii 13 /// 14 1 15 #ifndef PM_FPA_COPY_H 2 16 #define PM_FPA_COPY_H 3 17 4 // Copy the FPA components, including the pixels 5 bool pmFPACopy(pmFPA *target, // The target FPA 6 pmFPA *source // The source FPA, to be copied 18 /// Copy an FPA and components, including the pixels, to a different representation of the same camera 19 /// 20 /// This function is useful for converting between different representations of the same camera. For example, 21 /// between Megacam "RAW" (one amp per extension) and Megacam "SPLICED" formats (two amps = 1 chip per 22 /// extension, spliced together). Components are spliced together as necessary. 23 bool pmFPACopy(pmFPA *target, ///< The target FPA 24 const pmFPA *source ///< The source FPA, to be copied 7 25 ); 8 bool pmChipCopy(pmChip *target, // The target chip 9 pmChip *source // The source chip, to be copied 10 ); 11 bool pmCellCopy(pmCell *target, // The target cell 12 pmCell *source // The source cell, to be copied 26 27 /// Copy a chip and components, including the pixels, to a different representation of the same camera 28 /// 29 /// This function is useful for converting between different representations of the same camera. For example, 30 /// between Megacam "RAW" (one amp per extension) and Megacam "SPLICED" formats (two amps = 1 chip per 31 /// extension, spliced together). Components are spliced together as necessary. 32 bool pmChipCopy(pmChip *target, ///< The target chip 33 const pmChip *source ///< The source chip, to be copied 13 34 ); 14 35 15 // Versions that copy the structure and not the pixels; they also allow binning 16 bool pmFPACopyStructure(pmFPA *target, // The target FPA 17 pmFPA *source, // The source FPA, to be copied 18 int xBin, int yBin // Binning factors in x and y 36 /// Copy a cell and components, including the pixels, to a different representation of the same camera 37 /// 38 /// This function is useful for converting between different representations of the same camera. For example, 39 /// between Megacam "RAW" (one amp per extension) and Megacam "SPLICED" formats (two amps = 1 chip per 40 /// extension, spliced together). Components are spliced together as necessary. 41 bool pmCellCopy(pmCell *target, ///< The target cell 42 const pmCell *source ///< The source cell, to be copied 43 ); 44 45 46 /// Copy an FPA, but not the pixels, to a different representation of the same camera 47 /// 48 /// This function the same as pmFPACopy, except that the pixels are not copied (though images of sufficient 49 /// size are allocated in the target). Changes the CELL.XBIN and CELL.YBIN according to the provided binning 50 /// factors. 51 bool pmFPACopyStructure(pmFPA *target, ///< The target FPA 52 const pmFPA *source, ///< The source FPA, to be copied 53 int xBin, int yBin ///< Binning factors in x and y 19 54 ); 20 bool pmChipCopyStructure(pmChip *target, // The target chip 21 pmChip *source, // The source chip, to be copied 22 int xBin, int yBin // Binning factors in x and y 55 56 /// Copy a chip, but not the pixels, to a different representation of the same camera 57 /// 58 /// This function the same as pmChipCopy, except that the pixels are not copied (though images of sufficient 59 /// size are allocated in the target). Changes the CELL.XBIN and CELL.YBIN according to the provided binning 60 /// factors. 61 bool pmChipCopyStructure(pmChip *target, ///< The target chip 62 const pmChip *source, ///< The source chip, to be copied 63 int xBin, int yBin ///< Binning factors in x and y 23 64 ); 24 bool pmCellCopyStructure(pmCell *target, // The target cell 25 pmCell *source, // The source cell, to be copied 26 int xBin, int yBin // Binning factors in x and y 65 66 /// Copy a cell, but not the pixels, to a different representation of the same camera 67 /// 68 /// This function the same as pmCellCopy, except that the pixels are not copied (though images of sufficient 69 /// size are allocated in the target). Changes the CELL.XBIN and CELL.YBIN according to the provided binning 70 /// factors. 71 bool pmCellCopyStructure(pmCell *target, ///< The target cell 72 const pmCell *source, ///< The source cell, to be copied 73 int xBin, int yBin ///< Binning factors in x and y 27 74 ); 28 75
Note:
See TracChangeset
for help on using the changeset viewer.
