The user should be able to define a data field by defining where the field data should be stored, i.e. either in the event array of the TDM or the DataField instance. This is necessary in particular for data fields that needs to be calculated before the event selection but must be available for all sources.
Maybe a is_event_data option should be added. If set to True the data will be stored within the event array of the TDM. Otherwise within the DataField instance.
The user should be able to define a data field by defining where the field data should be stored, i.e. either in the event array of the TDM or the DataField instance. This is necessary in particular for data fields that needs to be calculated before the event selection but must be available for all sources.
Maybe a
is_event_data
option should be added. If set to True the data will be stored within the event array of the TDM. Otherwise within the DataField instance.https://github.com/icecube/skyllh/blob/af2821f8ac6d0be1f2855e923d317dcb16b8aea3/skyllh/core/trialdata.py#L44