Open dwoschee opened 3 years ago
The background correction can be improved by calculating the gain using linear regression, as suggested in the paper by Schwarzfischer et al.
Currently, the gain is approximated as per-pixel median of the quotient of interpolated background and time-dependent mean background: https://github.com/SoftmatterLMU-RaedlerGroup/pyama/blob/e3283160a92d2e43099688fca695573d968eac23/src/img_op/background_correction.py#L141-L150
The background correction can be improved by calculating the gain using linear regression, as suggested in the paper by Schwarzfischer et al.
Currently, the gain is approximated as per-pixel median of the quotient of interpolated background and time-dependent mean background: https://github.com/SoftmatterLMU-RaedlerGroup/pyama/blob/e3283160a92d2e43099688fca695573d968eac23/src/img_op/background_correction.py#L141-L150