Changeset 5560 for trunk/psastro/src/psastro.c
- Timestamp:
- Nov 21, 2005, 11:03:53 AM (21 years ago)
- File:
-
- 1 edited
-
trunk/psastro/src/psastro.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psastro/src/psastro.c
r5510 r5560 4 4 5 5 psMetadata *header = NULL; 6 pmAstromGridMatchStat stat;7 pmAstromMatch *match;8 6 9 7 // load configuration information … … 11 9 12 10 // load the input data (cmp file) 13 psArray *rawstars = p mSourcesReadCMP (&header, argv[1]);11 psArray *rawstars = psastroReadCMP (&header, argv[2]); 14 12 15 13 // simple layout interpretation, basic WCS conversion 16 p sFPA *fpa = psastroBuildFPA (header, rawstars);14 pmFPA *fpa = psastroBuildFPA (header, rawstars); 17 15 18 16 // limit fit to bright stars only 19 psFPA *subset = psastroSelectBrightStars (fpa, config); 20 21 // use the header & config info to project rawstars on the focal plane 22 psastroProjectRawstars (subset); 17 psastroSelectBrightStars (fpa, config); 23 18 24 19 // fpa and subset point to the same astrometry terms 25 psastroChipAstrom ( subset, config);20 psastroChipAstrom (fpa, config); 26 21 27 22 // write out data (cmp file) 28 psastroWriteCMP (fpa, argv[2]); 23 psastroWriteCMP (fpa, argv[3]); 24 25 psFree (config); 26 psFree (fpa); 29 27 30 28 exit (0);
Note:
See TracChangeset
for help on using the changeset viewer.
