Changeset 6573 for branches/rel10_ifa/psModules/src/astrom/pmFPAview.h
- Timestamp:
- Mar 13, 2006, 4:21:07 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/rel10_ifa/psModules/src/astrom/pmFPAview.h
r6568 r6573 7 7 * @author EAM, IfA 8 8 * 9 * @version $Revision: 1.1.2. 3$ $Name: not supported by cvs2svn $10 * @date $Date: 2006-03- 09 20:56:39$9 * @version $Revision: 1.1.2.4 $ $Name: not supported by cvs2svn $ 10 * @date $Date: 2006-03-14 02:21:07 $ 11 11 * 12 12 * Copyright 2004-2005 Institute for Astronomy, University of Hawaii … … 30 30 typedef struct 31 31 { 32 pmFPA *fpa;33 psMetadata *IO;34 psMetadata *camera;35 32 int chip; 36 33 int cell; … … 38 35 int nRows; 39 36 int iRows; 37 pmFPA *fpa; 40 38 } 41 39 pmFPAview; 42 40 43 41 // allocate a pmFPAview structure for this fpa and camera 44 pmFPAview *pmFPAviewAlloc ( pmFPA *fpa, psMetadata *camera,int nRows);42 pmFPAview *pmFPAviewAlloc (int nRows); 45 43 46 44 // determine the current view depth … … 48 46 49 47 // return the currently selected chip for this view 50 pmChip *pmFPAviewThisChip (pmFPAview *view );48 pmChip *pmFPAviewThisChip (pmFPAview *view, pmFPA *fpa); 51 49 52 50 // advance view to the next chip 53 pmChip *pmFPAviewNextChip (pmFPAview *view, int nStep);51 pmChip *pmFPAviewNextChip (pmFPAview *view, pmFPA *fpa, int nStep); 54 52 55 53 // return the currently selected cell for this view 56 pmCell *pmFPAviewThisCell (pmFPAview *view );54 pmCell *pmFPAviewThisCell (pmFPAview *view, pmFPA *fpa); 57 55 58 56 // advance view to the next cell 59 pmCell *pmFPAviewNextCell (pmFPAview *view, int nStep);57 pmCell *pmFPAviewNextCell (pmFPAview *view, pmFPA *fpa, int nStep); 60 58 61 59 // return the currently selected readout for this view 62 pmReadout *pmFPAviewThisReadout (pmFPAview *view );60 pmReadout *pmFPAviewThisReadout (pmFPAview *view, pmFPA *fpa); 63 61 64 62 // advance view to the next readout 65 pmReadout *pmFPAviewNextReadout (pmFPAview *view, int nStep);63 pmReadout *pmFPAviewNextReadout (pmFPAview *view, pmFPA *fpa, int nStep); 66 64 67 65 // return the HDU corresponding to the current view 68 pmHDU *pmFPAviewThisHDU (pmFPAview *view );66 pmHDU *pmFPAviewThisHDU (pmFPAview *view, pmFPA *fpa); 69 67 70 68 // convert the rule to a name based on the current view 71 char *pmFPAviewNameFromRule (char *rule, pmFPAview *view); 72 73 // read an image into the current view 74 bool pmFPAviewReadFitsImage (pmFPAview *view, psFits *fits); 75 76 // write the components for the specified view 77 bool pmFPAviewWriteFitsImage (pmFPAview *view, psFits *fits); 69 char *pmFPAviewNameFromRule (char *rule, pmFPAview *view, pmFPA *fpa); 78 70 79 71 # endif
Note:
See TracChangeset
for help on using the changeset viewer.
