scipp / esspolarization

Polarization data reduction for the European Spallation Source
https://scipp.github.io/esspolarization/
BSD 3-Clause "New" or "Revised" License
0 stars 1 forks source link

Split code into more sensible parts #50

Closed SimonHeybrock closed 4 months ago

SimonHeybrock commented 4 months ago

Some long-overdue maintenance: I moved all code relating to He3-cells to a he3 submodule. In base remain the largely unused/untested components for processing run logs and extracting sections of data.

I expect that we will later add other modules, e.g., for non-He3 cases, etc.

I have left the top-level imports unchanged for now, but we should consider removing the more specific ones. That is, access, e.g., pol.he3.He3TransmissionFunction instead of pol.He3TransmissionFunction. This will make it easier to import only the pieces required for a specific beamline, depending on what types of polarizers and analyzers are in use.

There are no functional changes here, just bits moved around.