Skip to content

[LPD][CORRECT] Fix mangling of pulse axis for single frames

Philipp Schmidt requested to merge fix/LPD-correct-single-pulse into master

Description

When running with conditional triggering, it is possible for entire sequences to contain only a single train of data. To get rid of the extra axis introduced by the DAQ, I had squeeze'd the input arrays. In case of only single frame, this unfortunately removes the frame axis entirely.

Also fixes a bug that has not happened yet (but would've with conditional triggering) when the chunk size is larger than the image count.

How Has This Been Tested?

Running notebook interactively for p3247, r97 with conditional triggering and p3073, r10 as baseline.

Types of changes

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

Reviewers

@ahmedk @kluyvert @danilevc

Merge request reports