Skip to content
Snippets Groups Projects

Remove np.nan assignment to uint array and remove unneeded uint32 conversion

Merged Karim Ahmed requested to merge fix/lpd_nan_to_int_array into master

A bug was discovered during deployment of 3.6.0 when LPD dark tries to assign np.nan to uint32 array.

Description

  1. Remove np.nan element assignment. No clear reason why this is needed for plotting.
  2. Remove unneeded data conversion for the badpixels constants.
  3. Refactor the lines of code where old badpixels constant are data converted to uint32

How Has This Been Tested?

Tested against the reference dark runs 145, 146, 147

Relevant Documents (optional)

LPD_DARK_EXAMPLE.pdf

Types of changes

Checklist:

Reviewers

@schmidtp @kluyvert @danilevc

Edited by Karim Ahmed

Merge request reports

Checking pipeline status.

Approval is optional

Merged by Karim AhmedKarim Ahmed 2 years ago (Jul 21, 2022 2:48pm UTC)

Merge details

  • Changes merged into master with ce5c420c.
  • Deleted the source branch.

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading