Changeset 31056
- Timestamp:
- Mar 25, 2011, 2:57:56 PM (15 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/detrend/pmDetrendDB.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/detrend/pmDetrendDB.c
r29833 r31056 137 137 psFree (realCamera); 138 138 139 // require a filter for certain types of detrends: 140 if ((options->type == PM_DETREND_TYPE_FLAT) && !options->filter) { 141 psError (PM_ERR_CONFIG, false, "requesting a FLAT-class of detrend without a filter"); 142 goto failure; 143 } 144 if ((options->type == PM_DETREND_TYPE_FLATCORR) && !options->filter) { 145 psError (PM_ERR_CONFIG, false, "requesting a FLATCORR-class of detrend without a filter"); 146 goto failure; 147 } 148 if ((options->type == PM_DETREND_TYPE_FRINGE) && !options->filter) { 149 psError (PM_ERR_CONFIG, false, "requesting a FRINGE-class of detrend without a filter"); 150 goto failure; 151 } 152 153 // add the restrictions 139 154 if (options->filter) { 140 155 psStringAppend(&line, " -filter %s", options->filter);
Note:
See TracChangeset
for help on using the changeset viewer.
