Extends the align_cor procedure with estimators dedicated to the CoR
This PR rework a bit the procedure with align the center of rotation.
Closes #164
- Renamed
align
intoalign_cor
- Added
method
to allow to change the estimator by configuration - For backward compatibility, if no method is defined
1d-correlation
is used. - Added a set of method which only estime the center of rotation (and not the tilt) (feedback from ID16A)
The procedure can be configured the following way
- name: my_align
plugin: bliss
class: AlignCor
package: tomo.procedures.align_cor
# Method to extract the CoR correction
# For center of rotation and tilt, one of
# (see http://www.silx.org/pub/nabu/doc/apidoc/nabu.estimation.tilt.html)
# - `1d-correlation`: Correction for the CoR and detector tilt
# - `fft-polar`: Correction for the CoR and detector tilt
# For center of rotation only, one of
# (see http://www.silx.org/pub/nabu/doc/apidoc/nabu.estimation.cor.html)
# - `simple` <- for ID16A
# - `sliding-window`
# - `growing-window`
# - `global-search` <- the slowest
# - `octave-accurate` <- for ID16B
method: '1d-correlation'
In the future, we could think about changing the method from the UI (it would not be a config, but a state of the procedure).
Edited by Valentin Valls