IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 24, 2007, 7:53:55 AM (19 years ago)
Author:
magnier
Message:

modified pmFPAfileIO to call PHU read/write operations from data read/write operations as needed; pmFPAfileBlank becomes pmFPAfileWritePHU

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/camera/pmFPAview.c

    r11687 r12585  
    33 *  @author EAM, IfA
    44 *
    5  *  @version $Revision: 1.9 $ $Name: not supported by cvs2svn $
    6  *  @date $Date: 2007-02-07 23:58:17 $
     5 *  @version $Revision: 1.10 $ $Name: not supported by cvs2svn $
     6 *  @date $Date: 2007-03-24 17:53:55 $
    77 *
    88 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    5151}
    5252
     53// return a view restricted to the level (must be >= the input level)
     54pmFPAview *pmFPAviewForLevel(pmFPALevel level, const pmFPAview *input)
     55{
     56    PS_ASSERT_PTR_NON_NULL(input, NULL);
     57
     58    pmFPAview *output = pmFPAviewAlloc (input->nRows);
     59    *output = *input;
     60
     61    switch (level) {
     62      case PM_FPA_LEVEL_FPA:
     63        output->chip = -1;
     64      case PM_FPA_LEVEL_CHIP:
     65        output->cell = -1;
     66      case PM_FPA_LEVEL_CELL:
     67        output->readout = -1;
     68        break;
     69      default:
     70        break;
     71    }
     72    return output;
     73}
    5374
    5475pmFPALevel pmFPAviewLevel(const pmFPAview *view)
Note: See TracChangeset for help on using the changeset viewer.