Changeset 35424
- Timestamp:
- Apr 22, 2013, 1:00:45 PM (13 years ago)
- Location:
- branches/eam_branches/ipp-20130419/pswarp/src
- Files:
-
- 3 added
- 4 edited
-
Makefile.am (modified) (1 diff)
-
pswarp.c (modified) (1 diff)
-
pswarp.h (modified) (1 diff)
-
pswarpDefineLayout.c (added)
-
pswarpLoadAstrometry.c (added)
-
pswarpLoop.c (modified) (1 diff)
-
pswarpOverlaps.c (added)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20130419/pswarp/src/Makefile.am
r35421 r35424 35 35 pswarpDefine.c \ 36 36 pswarpDefineBackground.c \ 37 pswarpDefineSkycell.c \ 37 pswarpDefineSkycell.c \ 38 pswarpDefineLayout.c \ 38 39 pswarpErrorCodes.c \ 40 pswarpLoadAstrometry.c \ 39 41 pswarpMapGrid.c \ 40 42 pswarpMaskStats.c \ 41 43 pswarpMatchRange.c \ 44 pswarpOverlaps.c \ 42 45 pswarpParseCamera.c \ 43 46 pswarpPixelsLit.c \ -
branches/eam_branches/ipp-20130419/pswarp/src/pswarp.c
r35421 r35424 39 39 } 40 40 41 # if (0) 42 // XXX I'm going to add the new code before removing the old code. 43 // load the input & output astrometry, find the output overlaps, generate the output pixels 44 if (!pswarpDefineLayout(config)) { 45 pswarpCleanup(config, statsFile); 46 } 47 48 pswarpDumpOutput (config); 49 exit (0); 50 # endif 51 41 52 // load the skycell layout information: 42 53 // read the output astrometry description -
branches/eam_branches/ipp-20130419/pswarp/src/pswarp.h
r35421 r35424 172 172 // cleanup memory and exit 173 173 void pswarpCleanup (pmConfig *config, pswarpStatsFile *statsFile) PS_ATTR_NORETURN; 174 175 // load the astrometry header info and generate the tranformations 176 bool pswarpDefineLayout (pmConfig *config); 177 178 // XXX function for testing 179 bool pswarpDumpOutput (pmConfig *config); 180 181 // structure to describe approximate bounds for each fpa element (eg, chip) 182 // P,Q are a locally linear projection 183 typedef struct { 184 psVector *Pmin; 185 psVector *Pmax; 186 psVector *Qmin; 187 psVector *Qmax; 188 } pswarpBounds; 189 190 bool pswarpFindOverlap (pmFPA *fpa, pswarpBounds *src, pswarpBounds *tgt); 191 psProjection *pswarpLocalFrame (pmFPA *fpa); 192 pswarpBounds *pswarpMakeBounds (pmFPA *fpa, psProjection *frame); 193 bool pswarpBoundsAppend(pswarpBounds *bounds, float Pmin, float Pmax, float Qmin, float Qmax); 194 pswarpBounds *pswarpBoundsAlloc(); 195 196 bool pswarpLoadAstrometry (pmConfig *config, pmFPAfile *astrom, pmFPAfile *target); -
branches/eam_branches/ipp-20130419/pswarp/src/pswarpLoop.c
r35421 r35424 91 91 // } 92 92 93 94 93 // Read the input astrometry 95 94 // XXX rather than use the activations here, this should just explicitly loop over the desired filerule
Note:
See TracChangeset
for help on using the changeset viewer.
