IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 4, 2006, 7:02:16 AM (20 years ago)
Author:
eugene
Message:

substantial updates

File:
1 edited

Legend:

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

    r7154 r7332  
    2626    psArray *refs = psastroLoadReferences (config);
    2727
    28     psastroChipAstrom (config, refs);
    29     psastroMosaicAstrom (config, refs);
     28    psastroMosaicGetRefstars (config, refs);
    3029
    31     # if 0
    32     // perform the desired astrometry analysis
    33     switch (mode) {
    34       case stack:
    35         psastroStackAstrom (config, refs);
    36         break
    37       case chip:
     30    char *mosastro = psMetadataLookupStr (NULL, config->arguments, "MOSASTRO");
     31    if (mosastro == NULL) {
    3832        psastroChipAstrom (config, refs);
    39         break
    40       case mosaic:
     33    } else {
    4134        psastroMosaicAstrom (config, refs);
    42         break;
    43       default:
    44         break;
    4535    }
    46     # endif
     36
     37    // XXX how do we specify stack astrometry?
     38    // psastroStackAstrom (config, refs);
    4739
    4840    // write out the results
     
    6052    pmConceptsDone ();
    6153    pmConfigDone ();
    62     fprintf (stderr, "found %d leaks at %s\n", psMemCheckLeaks (0, NULL, stdout, false), "psastro");
    63     // fprintf (stderr, "found %d leaks at %s\n", psMemCheckLeaks (0, NULL, NULL, false), "psastro");
     54    // fprintf (stderr, "found %d leaks at %s\n", psMemCheckLeaks (0, NULL, stdout, false), "psastro");
     55    fprintf (stderr, "found %d leaks at %s\n", psMemCheckLeaks (0, NULL, NULL, false), "psastro");
    6456
    6557    exit (0);
Note: See TracChangeset for help on using the changeset viewer.