IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 22, 2007, 7:42:46 AM (19 years ago)
Author:
eugene
Message:

finished psastroModel for boresite, created gpcModel for rough theoretical model, added useModel and fixChips options

File:
1 edited

Legend:

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

    r15562 r15891  
    55    bool status;
    66    int nStars;
     7
     8    // select the current recipe
     9    psMetadata *recipe  = psMetadataLookupPtr (&status, config->recipes, PSASTRO_RECIPE);
     10    if (!recipe) {
     11        psError(PSASTRO_ERR_CONFIG, true, "Can't find PSASTRO recipe");
     12        return false;
     13    }
     14
     15    if (!psastroUseModel (config, recipe)) {
     16        psError (PSASTRO_ERR_UNKNOWN, false, "failed to set model astrometry\n");
     17        return false;
     18    }
    719
    820    // interpret the available initial astrometric information
     
    2638    if (!psastroChooseRefstars (config, refs)) {
    2739        psError (PSASTRO_ERR_UNKNOWN, false, "failed to select reference data for chips\n");
    28         return false;
    29     }
    30 
    31     // select the current recipe
    32     psMetadata *recipe  = psMetadataLookupPtr (&status, config->recipes, PSASTRO_RECIPE);
    33     if (!recipe) {
    34         psError(PSASTRO_ERR_CONFIG, true, "Can't find PSASTRO recipe");
    3540        return false;
    3641    }
Note: See TracChangeset for help on using the changeset viewer.