IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 13, 2006, 4:21:07 PM (20 years ago)
Author:
magnier
Message:

updates to pmFPAview, pmFPAfile

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/rel10_ifa/psModules/src/astrom/pmFPAview.h

    r6568 r6573  
    77*  @author EAM, IfA
    88*
    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 $
    1111*
    1212*  Copyright 2004-2005 Institute for Astronomy, University of Hawaii
     
    3030typedef struct
    3131{
    32     pmFPA *fpa;
    33     psMetadata *IO;
    34     psMetadata *camera;
    3532    int chip;
    3633    int cell;
     
    3835    int nRows;
    3936    int iRows;
     37    pmFPA *fpa;
    4038}
    4139pmFPAview;
    4240
    4341// allocate a pmFPAview structure for this fpa and camera
    44 pmFPAview *pmFPAviewAlloc (pmFPA *fpa, psMetadata *camera, int nRows);
     42pmFPAview *pmFPAviewAlloc (int nRows);
    4543
    4644// determine the current view depth
     
    4846
    4947// return the currently selected chip for this view
    50 pmChip *pmFPAviewThisChip (pmFPAview *view);
     48pmChip *pmFPAviewThisChip (pmFPAview *view, pmFPA *fpa);
    5149
    5250// advance view to the next chip
    53 pmChip *pmFPAviewNextChip (pmFPAview *view, int nStep);
     51pmChip *pmFPAviewNextChip (pmFPAview *view, pmFPA *fpa, int nStep);
    5452
    5553// return the currently selected cell for this view
    56 pmCell *pmFPAviewThisCell (pmFPAview *view);
     54pmCell *pmFPAviewThisCell (pmFPAview *view, pmFPA *fpa);
    5755
    5856// advance view to the next cell
    59 pmCell *pmFPAviewNextCell (pmFPAview *view, int nStep);
     57pmCell *pmFPAviewNextCell (pmFPAview *view, pmFPA *fpa, int nStep);
    6058
    6159// return the currently selected readout for this view
    62 pmReadout *pmFPAviewThisReadout (pmFPAview *view);
     60pmReadout *pmFPAviewThisReadout (pmFPAview *view, pmFPA *fpa);
    6361
    6462// advance view to the next readout
    65 pmReadout *pmFPAviewNextReadout (pmFPAview *view, int nStep);
     63pmReadout *pmFPAviewNextReadout (pmFPAview *view, pmFPA *fpa, int nStep);
    6664
    6765// return the HDU corresponding to the current view
    68 pmHDU *pmFPAviewThisHDU (pmFPAview *view);
     66pmHDU *pmFPAviewThisHDU (pmFPAview *view, pmFPA *fpa);
    6967
    7068// 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);
     69char *pmFPAviewNameFromRule (char *rule, pmFPAview *view, pmFPA *fpa);
    7870
    7971# endif
Note: See TracChangeset for help on using the changeset viewer.