Changeset 5509 for trunk/psastro/src/psastro.c
- Timestamp:
- Nov 12, 2005, 9:58:04 AM (21 years ago)
- File:
-
- 1 edited
-
trunk/psastro/src/psastro.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psastro/src/psastro.c
r5505 r5509 14 14 15 15 // simple layout interpretation, basic WCS conversion 16 psFPA *fpa = psastroBuildFPA (header, config);16 psFPA *fpa = psastroBuildFPA (header, rawstars); 17 17 18 18 // limit fit to bright stars only 19 ps Array *subset = pspsastroSelectBrightStars (config, rawstars);19 psFPA *subset = psastroSelectBrightStars (fpa, config); 20 20 21 21 // use the header & config info to project rawstars on the focal plane 22 psastroProjectRawstars (subset , header, config);22 psastroProjectRawstars (subset); 23 23 24 24 // load the corresponding reference data (DVO command) … … 26 26 27 27 // use the header & config info to project refstars on the focal plane 28 psastroProjectRefstars (refstars, header, config);28 psastroProjectRefstars (refstars, subset); 29 29 30 // find initial offset / rotation 31 stat = pmAstromGridMatch (subset, refstars, config); 32 33 pmAstromModifyFPA (fpa, stat); 34 35 // use fit result to re-project rawstars 36 psastroProjectRawstars (fpa, subset); 37 psastroProjectRefstars (fpa, refstars); 38 39 // use small radius to match stars 40 match = pmAstromRadiusMatch (rawstars, refstars, options); 41 42 // fit astrometric terms 43 output = pmAstromMatchedListFit (fpa, subset, refstars, match, options); 30 // fpa and subset point to the same astrometry terms 31 psastroChipAstrom (refstars, subset); 44 32 45 33 // write out data (cmp file) 46 psastroWriteCMP (fpa, header, rawstars,argv[2]);34 psastroWriteCMP (fpa, argv[2]); 47 35 48 36 exit (0);
Note:
See TracChangeset
for help on using the changeset viewer.
