Changeset 10534 for trunk/ippScripts/scripts/phase0_exp.pl
- Timestamp:
- Dec 7, 2006, 12:56:06 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/phase0_exp.pl (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/phase0_exp.pl
r10145 r10534 31 31 # Define setup 32 32 use constant TYPE => "exp_type"; # Observation type keyword 33 use constant DETRENDS => [ "bias", " dark", "shutter", "flat", "fringe" ]; # Observation types to mark as detrend33 use constant DETRENDS => [ "bias", "zero", "dark", "shutter", "flat", "fringe" ]; # Observation types to mark as detrend 34 34 use constant DETREND_FLAG => "-detrend"; # Flag to use to mark detrend exposure 35 35 … … 154 154 # Add the detrend flag 155 155 foreach my $detrendType (@{DETRENDS()}) { 156 if (lc($values{TYPE()}) eq lc($detrendType)) {156 if (lc($values{TYPE()}) =~ /$detrendType/) { 157 157 push @command, DETREND_FLAG; 158 158 last;
Note:
See TracChangeset
for help on using the changeset viewer.
