IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 10783


Ignore:
Timestamp:
Dec 16, 2006, 11:46:56 PM (20 years ago)
Author:
magnier
Message:

split ReadWCS,WriteWCS into WCSto/fromFPA and WCSto/fromHeader

File:
1 edited

Legend:

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

    r10775 r10783  
    77*  @author EAM, IfA
    88*
    9 *  @version $Revision: 1.5 $ $Name: not supported by cvs2svn $
    10 *  @date $Date: 2006-12-16 05:34:54 $
     9*  @version $Revision: 1.6 $ $Name: not supported by cvs2svn $
     10*  @date $Date: 2006-12-17 09:46:56 $
    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
     32bool 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
     36bool pmAstromWriteWCS (psMetadata *header, const pmFPA *fpa, const pmChip *chip, float tol);
     37
     38// support function for the pmAstromWCS representation
    3139pmAstromWCS *pmAstromWCSAlloc (int nXorder, int nYorder);
    3240bool pmAstromWCStoSky (psSphere *sky, pmAstromWCS *wcs, psPlane *chip);
    3341bool pmAstromWCStoChip (psPlane *chip, pmAstromWCS *wcs, psSphere *sky);
     42
     43// read and write the pmAstromWCS representation to the header
     44bool pmAstromWCStoHeader (psMetadata *header, const pmAstromWCS *wcs);
    3445pmAstromWCS *pmAstromWCSfromHeader (const psMetadata *header);
    35 bool pmAstromWCStoHeader (psMetadata *header, const pmAstromWCS *wcs);
    3646
    37 bool pmAstromReadWCS (pmFPA *fpa, pmChip *chip, const psMetadata *header, double plateScale, bool isMosaic);
    38 bool pmAstromWriteWCS (psMetadata *header, const pmFPA *fpa, const pmChip *chip);
     47// convert the pmAstromWCS representation to the FPA representation
     48bool pmAstromWCStoFPA (pmFPA *fpa, pmChip *chip, const pmAstromWCS *wcs, double plateScale, bool isMosaic);
     49pmAstromWCS *pmAstromWCSfromFPA (const pmFPA *fpa, const pmChip *chip, float tol);
     50
    3951bool pmAstromWriteBilevelChip (psPlaneTransform *toFPA, psMetadata *header, double plateScale);
    4052psMetadata *pmAstromWriteBilevelMosaic (psProjection *toSky, psPlaneDistort *toTP, double plateScale);
Note: See TracChangeset for help on using the changeset viewer.