Skip to content

Detector distortion

myron requested to merge detector_distortion into master

About

Add detector distortion object, plus all the necessary stuff to integrate it in pipelines

To do

  • Implement Detector Distortion. A preliminary base class meant to correct the aberration distortion of the optics ( between scintillator and detector). This first class will implement the identity transformation
  • Make the API aware of the new object in HDF5Reader, EDFReader, NPReader, following the sub_region path
  • add in nabu_config the mechanism for the detector_corrector parameters. Create one in the pipeline
  • Integration for the base class. Follow the same path of sub_region starting from the pipelines down to the reader classes. This going down through flatfield instantiation with **chunk_reader_kwargs, the same for darks. And for ChunkReader trivially repeat the same pattern, going down in company of sub_region.
  • Derive a simple rotation class. Rotate a scan. Reconstruct it with the correction for testing.

Notes

It works. The iris camera will be added in a second merge because the distortion function is still to be found

Edited by myron

Merge request reports

Loading