Changeset 14647 for trunk/psModules/src/camera/pmFPA.h
- Timestamp:
- Aug 23, 2007, 1:42:41 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/camera/pmFPA.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/camera/pmFPA.h
r14201 r14647 6 6 * @author Eugene Magnier, IfA 7 7 * 8 * @version $Revision: 1.1 5$ $Name: not supported by cvs2svn $9 * @date $Date: 2007-0 7-14 03:17:18$8 * @version $Revision: 1.16 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2007-08-23 23:42:41 $ 10 10 * Copyright 2005-2006 Institute for Astronomy, University of Hawaii 11 11 */ … … 18 18 19 19 #define FPA_ASTROM 1 ///< Include astrometry information in the structures? 20 21 // Return chip position, given FPA position; calculations are all done in pixel units 22 #define PM_FPA_TO_CHIP(pos, chip0, chipParity) \ 23 (((pos) - (chip0))*(chipParity)) 24 25 // Return cell position, given chip position; calculations are all done in pixel units 26 #define PM_CHIP_TO_CELL(pos, cell0, cellParity, binning) \ 27 (((pos) - (cell0))*(cellParity)/(binning)) 28 29 // Return chip position, given a cell position; calculations are all done in pixel units 30 #define PM_CELL_TO_CHIP(pos, cell0, cellParity, binning) \ 31 ((pos)*(binning)*(cellParity) + (cell0)) 32 33 // Return FPA position, given a chip position; calculations are all done in pixel units 34 #define PM_CHIP_TO_FPA(pos, chip0, chipParity) \ 35 ((pos)*(chipParity) + (chip0)) 20 36 21 37 /// Focal plane array (the entirety of the camera)
Note:
See TracChangeset
for help on using the changeset viewer.
