Skip to content

Fix NaNs in flat-field

Pierre Paleo requested to merge fix_ff_nan into master

About

In some datasets, some pixels can have the same value for all the frames. This yields a division-by-zero when doing flat-field.
This MR handles the problem by replacing (actually preventing) NaN values.

Close #302 (closed)

To do

  • Handle NaNs in FlatField and FlatFieldDataUrls
  • Unit tests
  • (Bonus) remove EDF-related code from unit test
  • Handle NaNs in CudaFlatField
  • Unit test
  • End-to-end tests
Edited by Pierre Paleo

Merge request reports

Loading