Ticket #5026 (closed: fixed)
SANS: Get HAB masking working
Reported by: | Anders Markvardsen | Owned by: | Anders Markvardsen |
---|---|---|---|
Priority: | blocker | Milestone: | Release 2.1 |
Component: | MantidPlot | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Tester: | Martyn Gigg |
Description
Change History
comment:2 Changed 9 years ago by Anders Markvardsen
Small improvement to a python comment. re #5026
Changeset: 0732089eccc196ac8823d2160dbe2b9806e9df8d
comment:3 Changed 9 years ago by Anders Markvardsen
Cleanup of spectrum etc isis masking. re #5026
More specifically made wiki and code consistent for masking and adjusted commands according to sans scientists info to:
MASK/CLEARTIME
MASKREAR/FRONT/HAB Hn[>Hm] or MASK Vn[>Vm] - to mask single wires or 'strips' MASKREAR/FRONT/HAB Hn>Hm+Vn>Vm - to mask a rectangular 'box'
MASK Ssp1[>Ssp2]
MASK/TIME t1 t2
MASK/LINE width angle [edit] Qualifiers /CLEAR Clears any detector masks in operation Without any /TIME qualifier only spatial masks are cleared; with a /TIME qualifier only time masks are cleared /TIME [optional] Specifies that the command applies to time masks /LINE Masking arm only has effect for SANS2D /REAR Specifies that the mask applies to the Rear detector (if SANS2D) and the Main detector (if LOQ). This is default if not specified /FRONT Specifies that the mask applies to the Front detector (if SANS2D) and the High-Angle Bank (if LOQ) /HAB This command is equivalent to /FRONT
[edit] Parameters Hm Hn Specify VERTICAL wires (columns) on the detector For SANS2D, 0<H<191; for LOQ 0<H<127 Ssp1 Ssp2 Specifies a specific spectrum numbers; eg, S16641 t1 t2 Neutron times of flight (microseconds) specifying the time region to be masked Vm Vn Specify HORIZONTAL wires (rows) on the detector For SANS2D, 0<V<191; for LOQ 0<V<127
Changeset: 908e21833d26d93d2a2020cf8b8fb3c6fe24163b
comment:4 Changed 9 years ago by Anders Markvardsen
fix broken test...... re #5026
Changeset: 76ca2a8bb6ba917acb8f34b46a91297b9edc4025
comment:5 Changed 9 years ago by Anders Markvardsen
- Status changed from new to accepted
As it turned out HAB masking in fact did work. Use this ticket to clean up some of the discrepencies between what the wiki http://www.mantidproject.org/SANS_User_File_Commands#MASK say MASK command should do and what the code was doing.
This one is tested in SANSMaskCommandsTest.py - test_single_spectrum
comment:6 Changed 9 years ago by Anders Markvardsen
- Status changed from accepted to verify
- Resolution set to fixed
Trying to make the isis sans masking clearer. re #5026
Adding more commends in code to make it more clear what goes on in the python masking. As it turns out HAB masking can in fact be applied, but was well hidden and not documented on the wiki