IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 5, 2006, 12:46:25 AM (20 years ago)
Author:
eugene
Message:

working on file I/O

File:
1 edited

Legend:

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

    r5560 r6791  
    33int main (int argc, char **argv) {
    44
     5    psTimerStart ("complete");
     6
    57    psMetadata *header = NULL;
    68
    79    // load configuration information
    8     psMetadata *config = psastroArguments (&argc, argv);
     10    pmConfig *config = psastroArguments (&argc, argv);
    911
    10     // load the input data (cmp file)
    11     psArray *rawstars = psastroReadCMP (&header, argv[2]);
     12    // load input data (config and images (signal, noise, mask)
     13    psastroParseCamera (config);
     14
     15    // perform the astrometric solution
     16    psastroDataLoop (input, config);
    1217
    1318    // simple layout interpretation, basic WCS conversion
     
    2328    psastroWriteCMP (fpa, argv[3]);
    2429
     30    psLogMsg ("psphot", 3, "complete psphot run: %f sec\n", psTimerMark ("complete"));
     31
    2532    psFree (config);
    2633    psFree (fpa);
Note: See TracChangeset for help on using the changeset viewer.