Skip to content

[EPIX100] Fix error when reading data.backTemp for array = (ntrain,1)

Karim Ahmed requested to merge fix/workaround_backTemp_shape_change into master

This MR is an addition to changes for https://git.xfel.eu/detectors/pycalibration/-/merge_requests/729

Description

It seems that data.backTemp array was changed from (n_trains,) to (n_trains, 1)

Screenshot_from_2022-09-06_11-59-28

This screenshot provided by @duarten shows this difference between two proposals.

How Has This Been Tested?

Only running epix100 dark notebook interactively for the mentioned proposals to check reading the temperature values properly.

Relevant Documents (optional)

Types of changes

  • Bug fix (non-breaking change which fixes an issue)

Checklist:

Reviewers

@duarten @kluyvert

Edited by Karim Ahmed

Merge request reports