Open YooSunYoung opened 3 months ago
We had a meeting with McStas team on 27/6/24 (Thu).
Here are some notes from the meeting:
depends_on
to calculate the actual position but if we already have actual position in the global coordinate, we can just not have any depends_on
.
[WIP] McStas team requested for specifications of what we need from the McStas output. Ultimately would like them to be consistent with the file-writer. So here we will collect the difference between the current output of the McStas and the file writer.
Files
/ess/data/coda/2024/616254/raw/616254_00011777.hdf
this file is the NMX file that file-writer wrote... (Please someone let me know if there is an easy way to figure out which instrument they are for...!)Event Data
Event data as a group of dataset instead of a matrix
For example, NMX event data from
bank01_events_dat_list_p_x_y_n_id_t
has 6 columns and each column corresponds to thep
,x
,y
,n
,id
,t
. It'll be nice if they are separate datasets under theinstrument/detector_panel_0/event_data
, with corresponding dtype/units/class and description in the attributes. Such asinstrument/detector_panel_0/event_data/p
instrument/detector_panel_0/event_data/x
Event data as event data.
p
in the event data is not really a pixel hit as we would expect from a real detector. It'll be great if we can set a threshold onp
that can be translated thisp
into real event data, f.x. ifand then we set up a threshold of
0.15
, and turn this into event data(Maybe it doesn't make any sense after all... I don't know how exactly
p
works...)Event data should be under a corresponding
detector
under theinstrument
.It will allow us to find the corresponding event data of each detector/monitor more easily.
f.x.
bank01_events_dat_list_p_x_y_n_id_t
should be underinstrument/detector_panel_0/
Geometry
It will be easier for us if the pixel offsets are saved per pixel IDs, but if it's not feasible, just splitting geometry information into corresponding instrument/monitor data will be already great.
Missing Information
1
or0
and drop all0
s.