ess.bifrost.workflow.concat_event_lists#

ess.bifrost.workflow.concat_event_lists(*data)[source]#

Concatenate binned event lists into a single data array in ‘event_time_zero’.

Note that the output will likely have repeated values for ‘event_time_zero’. E.g., if input 1 has times [0, 1, 2] and input 2 has times [0, 2, 3], the output will have times [0, 1, 2, 0, 2, 3]. Note that this sawtooth pattern will disappear again after grouping into pixels. Preserving it will likely actually lead to more efficient memory access patterns when grouping.

Parameters:

data (DataArray) – Data arrays to concatenate. Must be binned in ‘event_time_zero’.

Returns:

DataArray – Concatenated data array.