IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 22, 2013, 1:00:45 PM (13 years ago)
Author:
eugene
Message:

refactor to load astrometry from headers up front, making output format flexible

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20130419/pswarp/src/pswarp.h

    r35421 r35424  
    172172// cleanup memory and exit
    173173void pswarpCleanup (pmConfig *config, pswarpStatsFile *statsFile) PS_ATTR_NORETURN;
     174
     175// load the astrometry header info and generate the tranformations
     176bool pswarpDefineLayout (pmConfig *config);
     177
     178// XXX function for testing
     179bool pswarpDumpOutput (pmConfig *config);
     180
     181// structure to describe approximate bounds for each fpa element (eg, chip)
     182// P,Q are a locally linear projection
     183typedef struct {
     184    psVector *Pmin;
     185    psVector *Pmax;
     186    psVector *Qmin;
     187    psVector *Qmax;
     188} pswarpBounds;
     189
     190bool pswarpFindOverlap (pmFPA *fpa, pswarpBounds *src, pswarpBounds *tgt);
     191psProjection *pswarpLocalFrame (pmFPA *fpa);
     192pswarpBounds *pswarpMakeBounds (pmFPA *fpa, psProjection *frame);
     193bool pswarpBoundsAppend(pswarpBounds *bounds, float Pmin, float Pmax, float Qmin, float Qmax);
     194pswarpBounds *pswarpBoundsAlloc();
     195
     196bool pswarpLoadAstrometry (pmConfig *config, pmFPAfile *astrom, pmFPAfile *target);
Note: See TracChangeset for help on using the changeset viewer.