Changeset 6792 for trunk/psastro/src/psastro.c
- Timestamp:
- Apr 5, 2006, 1:11:17 AM (20 years ago)
- File:
-
- 1 edited
-
trunk/psastro/src/psastro.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psastro/src/psastro.c
r6791 r6792 16 16 psastroDataLoop (input, config); 17 17 18 // simple layout interpretation, basic WCS conversion 19 pmFPA *fpa = psastroBuildFPA (header, rawstars); 18 // select astrometry stars from the psphot sources 19 // limit fit to bright stars only 20 psastroSelectAstromStars (config); 20 21 21 // l imit fit to bright stars only22 psastro SelectBrightStars (fpa,config);22 // load the reference stars overlapping the data stars 23 psastroLoadReference (config); 23 24 24 25 // fpa and subset point to the same astrometry terms 25 psastroChipAstrom (fpa, config); 26 switch (mode) { 27 case stack: 28 psastroStackAstrom (config); 29 break 30 case mosaic: 31 psastroMosaicAstrom (config); 32 break 33 case mosaic: 34 psastroMosaicAstrom (config); 35 break; 36 default: 37 break; 38 } 26 39 27 // write out data (cmp file)28 psastro WriteCMP (fpa, argv[3]);40 // perform the astrometric solution 41 psastroDataSave (config); 29 42 30 psLogMsg ("psphot", 3, "complete ps photrun: %f sec\n", psTimerMark ("complete"));43 psLogMsg ("psphot", 3, "complete psastro run: %f sec\n", psTimerMark ("complete")); 31 44 32 45 psFree (config);
Note:
See TracChangeset
for help on using the changeset viewer.
