IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 22, 2006, 11:23:06 AM (20 years ago)
Author:
magnier
Message:

cleaned up WCS conversions, added bilevel astrometry read/write functions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/astrom/pmAstrometryWCS.h

    r10783 r10825  
    77*  @author EAM, IfA
    88*
    9 *  @version $Revision: 1.6 $ $Name: not supported by cvs2svn $
    10 *  @date $Date: 2006-12-17 09:46:56 $
     9*  @version $Revision: 1.7 $ $Name: not supported by cvs2svn $
     10*  @date $Date: 2006-12-22 21:23:06 $
    1111*
    1212*  Copyright 2006 Institute for Astronomy, University of Hawaii
     
    2929pmAstromWCS;
    3030
    31 // read wcs terms from the supplied header into the fpa hierarchy components
    32 bool pmAstromReadWCS (pmFPA *fpa, pmChip *chip, const psMetadata *header, double plateScale, bool isMosaic);
    33 
    34 // write the wcs terms from the fpa hierarchy components into the supplied header
    35 // tol is the convergence tolerance for the non-linear solution to the reference pixel
    36 bool pmAstromWriteWCS (psMetadata *header, const pmFPA *fpa, const pmChip *chip, float tol);
    37 
    3831// support function for the pmAstromWCS representation
    3932pmAstromWCS *pmAstromWCSAlloc (int nXorder, int nYorder);
     
    4538pmAstromWCS *pmAstromWCSfromHeader (const psMetadata *header);
    4639
     40// convert from wcs terms to chip->toFPA, fpa->toSky,toTPA terms
     41bool pmAstromWCSBileveltoChip (pmChip *chip, const pmAstromWCS *wcs);
     42bool pmAstromWCSBileveltoFPA (pmFPA *fpa, const pmAstromWCS *wcs);
     43
     44// convert from chip->toFPA, fpa->toSky,toTPA terms to wcs terms
     45pmAstromWCS *pmAstromWCSBilevelChipFromFPA (const pmChip *chip, float tol);
     46pmAstromWCS *pmAstromWCSBilevelMosaicFromFPA (const pmFPA *fpa, float tol);
     47
    4748// convert the pmAstromWCS representation to the FPA representation
    48 bool pmAstromWCStoFPA (pmFPA *fpa, pmChip *chip, const pmAstromWCS *wcs, double plateScale, bool isMosaic);
     49bool pmAstromWCStoFPA (pmFPA *fpa, pmChip *chip, const pmAstromWCS *wcs, double plateScale);
    4950pmAstromWCS *pmAstromWCSfromFPA (const pmFPA *fpa, const pmChip *chip, float tol);
    5051
    51 bool pmAstromWriteBilevelChip (psPlaneTransform *toFPA, psMetadata *header, double plateScale);
    52 psMetadata *pmAstromWriteBilevelMosaic (psProjection *toSky, psPlaneDistort *toTP, double plateScale);
     52// read wcs terms from the supplied header into the fpa hierarchy components
     53bool pmAstromReadWCS (pmFPA *fpa, pmChip *chip, const psMetadata *header, double plateScale);
     54
     55// write the wcs terms from the fpa hierarchy components into the supplied header
     56// tol is the convergence tolerance for the non-linear solution to the reference pixel
     57bool pmAstromWriteWCS (psMetadata *header, const pmFPA *fpa, const pmChip *chip, float tol);
     58
     59bool pmAstromReadBilevelChip (pmChip *chip, const psMetadata *header);
     60bool pmAstromReadBilevelMosaic (pmFPA *fpa, const psMetadata *header);
     61
     62bool pmAstromWriteBilevelChip (psMetadata *header, const pmChip *chip, float tol);
     63bool pmAstromWriteBilevelMosaic (psMetadata *header, const pmFPA *fpa, float tol);
    5364
    5465// move to pslib
Note: See TracChangeset for help on using the changeset viewer.