Software Open Access

Tools to perform data reduction of time-of-flight data taken on BL4A (MagRef)—a Jupyter notebook approach

Fitzsimmons, Michael; Charlton, Timothy

Contact person(s)
Fitzsimmons, Michael; Charlton, Timothy

A collection of modules or tools to produce reflectivity profiles from data acquired with unpolarized and polarized neutron beams using the BL4A (MagRef) instrument at the Spallation Neutron Source.

The Jupyter notebook approach offers transparency to the user on what is done with the data, and once the event mode data are stored as NumPy binary files empowers the user to perform the steps from their own laptop without the need for Mantid. The notebook offers two options for background subtraction, applies corrections for the wavelength dependence of the polarizer and flipper efficiencies, accounts for Zeeman energy splitting of the spin-flip channels, Qz-bins the data along contours of constant Qz, propagates errors and writes results in text format suitable for analysis with tools such as GenX.

Files (94.7 MB)
Name Size
Detailed_R_Analysis_steps.docx
md5:a94fb43c9fbbdb9dce71d3ced5d881f7
20.0 kB Download
Detailed_R_Analysis_steps.pdf
md5:389350e3433c34fdb07a4fbb69b9f1ad
107.5 kB Download
Efficiencies.npz
md5:d034c8157d7ebe0625e1e8578f1bd880
1.1 kB Download
LICENSE
md5:15d42ab9dc10dcc3991319d0d8a54fb4
1.5 kB Download
module1_BL4A_get_single_event_batch.ipynb
md5:73c132774560c9d45366684651b1da49
18.5 kB Download
module1_BL4A_get_single_event_batch_vers2.ipynb
md5:f85feaa2d482a6f5e36c268dc5f84a25
33.8 kB Download
module1_BL4A_get_single_event_tutorial.ipynb
md5:14f1ac45dfdb0b42acd9344469e15861
112.8 kB Download
module1_BL4A_get_single_event_tutorial_vers2.ipynb
md5:88c9d60465be2fdfdfa8b75bd3b7b704
113.8 kB Download
module2_BL4A_reduction.ipynb
md5:7a123c1f78a40e79f2d541100af185c6
5.7 MB Download
module2_BL4A_reduction_vers2.ipynb
md5:3b6540942e71c4c0f64f8d8d7423d219
6.3 MB Download
module3_Qz_binner_for_pnr.ipynb
md5:e0e92389a68285014133d9f3746b5190
1.3 MB Download
module3_Qz_binner_for_pnr_vers2.ipynb
md5:0edf5698d78186266838c0658d410386
1.4 MB Download
module4_scale_and_splice.ipynb
md5:13c4bff8c2c3f35855a44e7a89c69e52
221.5 kB Download
module4_ScaleandSplice_vers2.ipynb
md5:e0cfd9e5f588c0865fbc0e80ee1dde90
340.3 kB Download
QzBinnedData.zip
md5:8934294d2b59893ed85bb749af6f6242
10.3 kB Download
RawData.zip
md5:4dfbda32d82b867db9f952e7b3610dae
76.0 MB Download
README.md
md5:47c1cf4bb656a6fca2be1ae6986225e2
8.2 kB Download
ScaledandSplicedData.zip
md5:f232a95146e69e0ac1cf46297cae8aef
11.7 kB Download
tofBinnedData.zip
md5:e2555bdc700fe051c88b08eaa40dc725
2.9 MB Download
135
106
views
downloads
All versions This version
Views 13583
Downloads 10668
Data volume 217.5 MB206.9 MB
Unique views 12077
Unique downloads 5021

Share

Cite as