Changeset 5509 for trunk/psastro/src/psastroBuildFPA.c
- Timestamp:
- Nov 12, 2005, 9:58:04 AM (21 years ago)
- File:
-
- 1 edited
-
trunk/psastro/src/psastroBuildFPA.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psastro/src/psastroBuildFPA.c
r5506 r5509 1 1 # include "psastro.h" 2 2 3 pmFPA *psastroBuildFPA (psMetadata *header, ps Metadata *config) {3 pmFPA *psastroBuildFPA (psMetadata *header, psArray *stars) { 4 4 5 5 // this function constructs a basic template pmFPA structure based on the information in the header … … 30 30 31 31 pmCell *cell = pmCellAlloc (); 32 cell->chip = chip; // assign parent chip (view only; don't free)33 cell->header = header; 32 cell->chip = chip; // assign parent chip (view only; don't free) 33 cell->header = header; // XXX EAM : extend this function to take more than header 34 34 35 35 pmCellInterpretWCS (cell, header); … … 39 39 40 40 pmReadout *readout = pmReadoutAlloc (); 41 readout->stars = stars; // XXX EAM : need more than one stars... 42 41 43 cells->readouts->data[j] = readout; 42 44 } … … 143 145 // XXX EAM : if fpa->toSky and fpa->toTPA are already defined, then the 144 146 // toFPA must be modified to match the crval(i), scale(i) and crpix(i) 147 // scale = scale(i)/scale(0) (i == chip #) 148 // project crval1(0),crval2(0 using projection 145 149 146 150 // XXX EAM : psPlaneTransformAlloc uses nTerm not nOrder (bug 581)
Note:
See TracChangeset
for help on using the changeset viewer.
