Main Page | Modules | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals

pmFPAview.h

Go to the documentation of this file.
00001 /** @file  pmFPAview.h
00002 *
00003 *  @brief Tools to manipulate the FPA structure elements.
00004 *
00005 *  @ingroup AstroImage
00006 *
00007 *  @author EAM, IfA
00008 *
00009 *  @version $Revision: 1.2 $ $Name: rel12 $
00010 *  @date $Date: 2006/06/17 01:50:43 $
00011 *
00012 *  Copyright 2004-2005 Institute for Astronomy, University of Hawaii
00013 */
00014 
00015 #ifndef PM_FPA_VIEW_H
00016 #define PM_FPA_VIEW_H
00017 
00018 #include "pmFPA.h"
00019 
00020 /// @addtogroup AstroImage
00021 /// @{
00022 
00023 typedef struct
00024 {
00025     int chip;                           // Number of the chip, or -1 for all
00026     int cell;                           // Number of the cell, or -1 for all
00027     int readout;                        // Number of the readout, or -1 for all
00028     int nRows;                          // Maximum number of rows per readout segment read, or 0 for all
00029     int iRows;                          // Starting point for this read
00030 }
00031 pmFPAview;
00032 
00033 // allocate a pmFPAview structure for this fpa and camera
00034 pmFPAview *pmFPAviewAlloc (int nRows);
00035 
00036 // determine the current view level
00037 pmFPALevel pmFPAviewLevel (const pmFPAview *view);
00038 
00039 // return the currently selected chip for this view
00040 pmChip *pmFPAviewThisChip (const pmFPAview *view, pmFPA *fpa);
00041 
00042 // advance view to the next chip
00043 pmChip *pmFPAviewNextChip (pmFPAview *view, pmFPA *fpa, int nStep);
00044 
00045 // return the currently selected cell for this view
00046 pmCell *pmFPAviewThisCell (const pmFPAview *view, pmFPA *fpa);
00047 
00048 // advance view to the next cell
00049 pmCell *pmFPAviewNextCell (pmFPAview *view, pmFPA *fpa, int nStep);
00050 
00051 // return the currently selected readout for this view
00052 pmReadout *pmFPAviewThisReadout (const pmFPAview *view, pmFPA *fpa);
00053 
00054 // advance view to the next readout
00055 pmReadout *pmFPAviewNextReadout (pmFPAview *view, pmFPA *fpa, int nStep);
00056 
00057 // return the HDU corresponding to the current view
00058 pmHDU *pmFPAviewThisHDU (const pmFPAview *view, pmFPA *fpa);
00059 pmHDU *pmFPAviewThisPHU (const pmFPAview *view, pmFPA *fpa);
00060 
00061 # endif

Generated on Mon Jul 3 14:24:27 2006 for Pan-STARRS Module Library by  doxygen 1.4.4