Skip to content

[Requirement] Implement loader for BEER McStas NeXus files #181

@celinedurniak

Description

@celinedurniak

Executive summary

Implement loader for BEER McStas NeXus files

Context and background knowledge

  • the current McStas model of BEER records events from 2 1m$^2$ panels at +/- 90 degrees and 2 m from the sample.
  • the implementation should be similar to what has been done for other ESS instruments relying 100 % on McStas for their simulations (i.e. no GEANT 4 or equivalent).

Follow-up: adapt loader to real detectors' layout (12 layers for each panel)

Inputs

Input data: event NeXus file from BEER generated by McStas
The options of monitor_nD are

  • bank1
    "mantid square x limits=[-0.50 0.50] bins=500 y limits=[-0.50 0.50] bins=200, neutron pixel min=0 t, list all neutrons",
  • bank2
    "mantid square x limits=[-0.50 0.50] bins=500 y limits=[-0.50 0.50] bins=200, neutron pixel min=100000 t, list all neutrons"

At the moment, it is possible to load the data with scipp.load_with_mantid

Methodology

Adapt what has been done for other ESS instruments

Outputs

The output should be a Datagroup containing dataarrays for the 2 banks.

It would be useful to store the information about the chopper settings, which can be found in the file at 'entry1/simulation/Param/mode'

Which interfaces are required?

Integrated into reduction workflow, Python module / function

Test cases

Input nexus files are stored on Nextcloud at https://project.esss.dk/nextcloud/index.php/s/D6TWsGbk65kxkE8

Comments

No response

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions