Ticket #5026 (closed: fixed)

Opened 9 years ago

Last modified 5 years ago

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:1 Changed 9 years ago by Anders Markvardsen

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

Changeset: c6db43b92f449cf443a28795f13b5df5ab834de4

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

comment:7 Changed 8 years ago by Martyn Gigg

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

comment:8 Changed 8 years ago by Martyn Gigg

  • Status changed from verifying to closed

comment:9 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 5872

Note: See TracTickets for help on using tickets.