Skip to content

FlatField: use class directly on arrays

Pierre Paleo requested to merge flat_field_arrays into master

About

This MR adds a class FlatFieldArrays (and its cuda counterpart). It is needed by !104 (merged).

The rationale is, it is cumbersome to use FlatField by providing DataUrl objects instead of arrays for flats/darks. One should decouple data reading from processing.

This is the first step toward an API change for FlatField.

To do

  • Create FlatFieldArrays
  • Deprecation warning
  • Ensure tests are passing
  • End-to-end reconstruction test
Edited by Pierre Paleo

Merge request reports