Skip to content
Snippets Groups Projects

[EPIX100] [DARK]Adding Bad Pixels Map

Merged Nuno Duarte requested to merge feat/ePixDarkBadPixels into master

Description

  • Generates the bad pixel map.
  • Added badpixel_threshold_sigma input variable: Number of standard deviations considered for bad pixel classification.
  • Sensor size is read from hdf5 file instead of being manually input.

How Has This Been Tested?

  • Running the notebook
  • Terminal command "xfel-calibrate EPIX100 DARK"

Types of changes

  • New feature (non-breaking change which adds functionality)

Checklist:

Reviewers

@ahmedk @danilevc

Edited by Karim Ahmed

Merge request reports

Checking pipeline status.

Merged by Karim AhmedKarim Ahmed 2 years ago (Apr 4, 2022 1:03pm UTC)

Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Karim Ahmed
  • Karim Ahmed
  • Karim Ahmed
  • Karim Ahmed
  • Karim Ahmed
  • Karim Ahmed
  • Nuno Duarte added 7 commits

    added 7 commits

    Compare with previous version

  • Nuno Duarte added 1 commit

    added 1 commit

    Compare with previous version

  • Author Maintainer

    I committed the reviewed version. It is commit "f677471c - reviewed version 2". Please ignore the previous commit (a703a09c - reviewed version), it was a failed commit attempt from a GitLab noob.

    Here are the main changes in this commit:

    • Renamed pixel_data to pixels_src
    • Renamed constant_maps['BadPixels'] to constant_maps['BadPixelsDark']
    • Use as_single_value() to read sensor_size and integration_time
    • Possibility of manual input of integration_time
    • Changed default fix_temperature value from 0 to -1, if intendeed to read from h5 file (to keep consistency with integration_time).
    • Minor modifications to printed operation conditions on cell 5
    • Removed spaces around = inside functions (PEP8 guide)
    Edited by Nuno Duarte
  • Nuno Duarte added 1 commit

    added 1 commit

    • 466b5608 - sensor_size compatible with old data

    Compare with previous version

  • Karim Ahmed resolved all threads

    resolved all threads

  • Thank you @duarten for this nice MR.

    I have no further comments, LGTM.

    Let's wait for another LGTM from another reviewer, so I can later merge this MR.

  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Please register or sign in to reply
    Loading