IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 22, 2006, 5:09:57 PM (20 years ago)
Author:
Paul Price
Message:

Adding pmFPAUtils.[ch], moving findChip and findCell in, renaming those

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/rel10_ifa/psModules/src/astrom/pmFPA.c

    r6586 r6673  
    1212* XXX: Should we implement non-linear cell->chip transforms?
    1313*
    14 *  @version $Revision: 1.1.4.3 $ $Name: not supported by cvs2svn $
    15 *  @date $Date: 2006-03-15 02:37:16 $
     14*  @version $Revision: 1.1.4.4 $ $Name: not supported by cvs2svn $
     15*  @date $Date: 2006-03-23 03:09:57 $
    1616*
    1717*  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    363363}
    364364
    365 pmHDU *pmHDUFromFPA(pmFPA *fpa          // FPA for which to find HDU
    366                    )
    367 {
    368     return fpa->hdu;
    369 }
    370 
    371 pmHDU *pmHDUFromChip(pmChip *chip       // Chip for which to find HDU
    372                     )
    373 {
    374     pmHDU *hdu = chip->hdu;             // The HDU information
    375     if (!hdu) {
    376         hdu = pmHDUFromFPA(chip->parent); // Grab HDU info from the FPA
    377     }
    378 
    379     return hdu;
    380 }
    381 
    382 pmHDU *pmHDUFromCell(pmCell *cell       // Cell for which to find HDU
    383                     )
    384 {
    385     pmHDU *hdu = cell->hdu;             // The HDU information
    386     if (!hdu) {
    387         hdu = pmHDUFromChip(cell->parent); // Grab HDU info from the chip
    388     }
    389 
    390     return hdu;
    391 }
    392 
    393365static psBool cellCheckParents(pmCell *cell)
    394366{
Note: See TracChangeset for help on using the changeset viewer.