Skip to content

[AGIPD] [CORRECT] Fix array reshaping in common mode correction

Egor Sobolev requested to merge fix/cm-for-variable-pattern into master

In common mode correction reshaping is used to unstack cells. With variable pattern unstacking is impossible, and reshaping raise an exception.

Instead, this uses fancy indexing to extract cell rows from data array

Edited by Egor Sobolev

Merge request reports