Skip to content
Snippets Groups Projects

[JUNGFRAU] [Correct] Allow selecting ROIs to save 1D projections

Merged Thomas Kluyver requested to merge feat/jf-roi-project into master

Description

FXE project spectra onto JUNGFRAU, so analysis requires selecting the relevant region and taking a 1D projection. They have asked for this to be integrated into calibration, to speed up later processing.

Closes calibration/planning#136

To be determined:

  • Input parameters format?
  • Output format - including source name (currently like FXE_XAD_JF500K/ROIPROC/JNGFR03:output)
  • Should mask be applied before doing the reduction?
  • sum, mean (or nanmean)? Or make it another parameter?
  • Are 2 ROIs enough?

And probably more, this is just off the top of my head.

How Has This Been Tested?

Running the notebook manually.

Relevant Documents (optional)

image

Types of changes

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

Checklist:

  • My code follows the code style of this project.

Reviewers

@schmidtp @ahmedk

Edited by Thomas Kluyver

Merge request reports

Loading
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
  • Thomas Kluyver marked the checklist item Should mask be applied before doing the reduction? as completed

    marked the checklist item Should mask be applied before doing the reduction? as completed

  • Thomas Kluyver marked the checklist item sum, mean (or nanmean)? Or make it another parameter? as completed

    marked the checklist item sum, mean (or nanmean)? Or make it another parameter? as completed

  • Thomas Kluyver added 1 commit

    added 1 commit

    • af71c501 - Add example in parameter comment

    Compare with previous version

  • Thomas Kluyver added 1 commit

    added 1 commit

    • 2c61cefe - Add check for ROI reduction axis

    Compare with previous version

  • Thomas Kluyver resolved all threads

    resolved all threads

  • LGTM, thank you

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