IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 5, 2006, 1:11:17 AM (20 years ago)
Author:
eugene
Message:

adding update pmFPAfile methods

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psastro/src/psastro.c

    r6791 r6792  
    1616    psastroDataLoop (input, config);
    1717
    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);
    2021
    21     // limit fit to bright stars only
    22     psastroSelectBrightStars (fpa, config);
     22    // load the reference stars overlapping the data stars
     23    psastroLoadReference (config);
    2324
    2425    // 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    }
    2639
    27     // write out data (cmp file)
    28     psastroWriteCMP (fpa, argv[3]);
     40    // perform the astrometric solution
     41    psastroDataSave (config);
    2942
    30     psLogMsg ("psphot", 3, "complete psphot run: %f sec\n", psTimerMark ("complete"));
     43    psLogMsg ("psphot", 3, "complete psastro run: %f sec\n", psTimerMark ("complete"));
    3144
    3245    psFree (config);
Note: See TracChangeset for help on using the changeset viewer.