Changeset 29935 for trunk/psModules/src/detrend/pmNonLinear.c
- Timestamp:
- Dec 5, 2010, 9:33:17 PM (15 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/detrend/pmNonLinear.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/detrend/pmNonLinear.c
r29833 r29935 332 332 return(0.0); 333 333 } 334 /* if (flux > correction_fluxes->data.F32[bin]) { */335 /* return(0.0); */336 /* } */337 334 338 335 for (int i = 0; i < correction_fluxes->n - 1; i++) { … … 347 344 } 348 345 349 /* PS_BIN_FOR_VALUE(bin,correction_fluxes,flux); */350 /* if ((bin < 0)||(bin > correction_fluxes->n)) { */351 /* return(1.0); */352 /* } */353 354 /* PS_BIN_INTERPOLATE(result,correction_fluxes,correction_factors,bin,flux); */355 346 if (!isfinite(result)) { 356 347 result = 0.0; 357 348 } 358 /* if (result <= 0) { */359 /* result = 1.0; */360 /* } */361 349 return(result); 362 350 } … … 372 360 return(0.0); 373 361 } 374 /* if (flux > correction_fluxes->data.F32[bin]) { */375 /* return(0.0); */376 /* } */377 362 378 363 for (int i = 0; i < correction_fluxes->n - 1; i++) { … … 389 374 } 390 375 391 /* PS_BIN_FOR_VALUE(bin,correction_fluxes,flux); */392 /* if ((bin < 0)||(bin > correction_fluxes->n)) { */393 /* return(1.0); */394 /* } */395 396 /* PS_BIN_INTERPOLATE(result,correction_fluxes,correction_factors,bin,flux); */397 376 if (!isfinite(result)) { 398 377 result = 0.0; 399 378 } 400 /* if (result <= 0) { */401 /* result = 1.0; */402 /* } */403 379 return(result); 404 380 } 405 406 407
Note:
See TracChangeset
for help on using the changeset viewer.
