Ticket #2119 (closed: fixed)

Opened 10 years ago

Last modified 5 years ago

SANS: modify Mask reduction step to allow masked pixel area

Reported by: Mathieu Doucet Owned by: Mathieu Doucet
Priority: major Milestone: Iteration 27
Component: Python Keywords:
Cc: Blocked By:
Blocking: Tester: Martyn Gigg

Description

Modify the sans_reduction_steps.Mask class so that one can change the number of pixels to mask on each side without creating a new object. Also allow to define rectangle areas of pixels to be masked.

Change History

comment:1 Changed 10 years ago by Mathieu Doucet

(In [8236]) Improvement Mask reduction step. Re #2119

comment:2 Changed 10 years ago by Mathieu Doucet

(In [8237]) Updated test for new Mask changes. Re #2119

comment:3 Changed 10 years ago by Mathieu Doucet

(In [8239]) Added a dummy get_detector_from_pixel in the base class. Re #2119

comment:4 Changed 10 years ago by Mathieu Doucet

(In [8255]) Added method to define a rectangle to be masked in pixel coordinates. Re #2119

comment:5 Changed 10 years ago by Mathieu Doucet

  • Status changed from new to accepted

comment:6 Changed 10 years ago by Mathieu Doucet

  • Status changed from accepted to verify
  • Resolution set to fixed

comment:7 Changed 10 years ago by Martyn Gigg

  • Status changed from verify to verifying
  • Tester set to Martyn Gigg

comment:8 Changed 10 years ago by Martyn Gigg

  • Status changed from verifying to closed

Confirmed that the Mask.mask_edges function now exists and is callable along with add_pixel_rectangle.

This all seems to work within the HFIR reduction.

comment:9 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 2966

Note: See TracTickets for help on using tickets.