scipp / essimaging

Imaging data reduction for the European Spallation Source
https://scipp.github.io/essimaging/
BSD 3-Clause "New" or "Revised" License
0 stars 1 forks source link

[Requirement] Extract dataset of 3 types (Background, Sample and Direct-beam) #10

Open YooSunYoung opened 6 months ago

YooSunYoung commented 6 months ago

Executive summary

We need to separate the dataset in one file into 3 types.

Context and background knowledge

In the experiments of ODIN instrument, the scientists will measure the noise(background), direct-beam (neutron without sample) and sample in a row, at once. It means all three types of measurement will fall into one file. We have to split the dataset and also filter-out the transition phase. (For example, the motor will move the sample into the position and we'll want to discard the measurement where sample is moving.)

Inputs

Nexus file from file-writer.

Methodology

It will have an indicator of measurement type somewhere in a file.

Outputs

The three types of measurement dataset that can be fed into a relevant data-reduction workflow.

Which interfaces are required?

Integrated into reduction workflow, Python module / function, Python script, Jupyter notebook

Test cases

TODO

Comments

No response

soerenschmidts commented 5 months ago

Shared with @YooSunYoung the notebook and hdf5 file for white beam label assignment at YMIR and ODIN

YooSunYoung commented 5 months ago

Also, within the sample image, we need to bin the images with rotation_angle timestamps.

In general we need to bin the data by timestamps and somehow map each bin to a certain setting.