Fix NaNs in flat-field
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
andFlatFieldDataUrls
-
Unit tests -
(Bonus) remove EDF-related code from unit test -
Handle NaNs in CudaFlatField
-
Unit test -
End-to-end tests
Edited by Pierre Paleo