IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 9, 2008, 5:05:03 PM (18 years ago)
Author:
eugene
Message:

updates

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppSim/src/ppSimSequence.c

    r16392 r16393  
    4444      // inject --camera
    4545
     46      psMetadata *sequence = sequences->data[i];
    4647     
     48      // determine the sequence type
     49      char *type = psMetadataLookupStr (&status, sequence, "TYPE");
     50      if (!status) {
     51        psLogMsg ("ppSimSequence", PS_LOG_WARN, "SEQUENCE %d is missing a type", i);
     52        exit (1);
     53      }
    4754
     55      if (!strcasecmp (type, "BIAS")) {
     56        ppSimSequenceBias (sequence);
     57        continue;
     58      }
     59      if (!strcasecmp (type, "DARK")) {
     60        ppSimSequenceDark (sequence);
     61        continue;
     62      }
     63      if (!strcasecmp (type, "FLAT")) {
     64        ppSimSequenceFlat (sequence);
     65        continue;
     66      }
     67      if (!strcasecmp (type, "OBJECT")) {
     68        ppSimSequenceObject (sequence);
     69        continue;
     70      }
    4871    }
     72}
Note: See TracChangeset for help on using the changeset viewer.