You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sofia-calgaro
changed the title
fix analysis_data.channel_mean() when we deal with parameters of which we don want to get the mean (eg waveforms, energy in PE, ...). These parameters can belong to whatever subsystem (geds, pulser, spms), so we have to look at their type for instance...not so trivial, basic implementation is there at the moment: for the moment, we skip only spms, indipendently from the inspected parameter.
fix analysis_data.channel_mean()Mar 8, 2023
We don't want to calculate the mean when we deal with given parameters that are like Vectors of Vectors (eg waveforms, energy in PE, ...). These parameters can belong to whatever subsystem (geds, pulser, spms), so we have to look at their type. This is not very trivial because self.paramters is itself a list of parameters, so in principle one should need to loop over every single parameter.
A basic workaround is there at the moment, that skips only spms, independently from the inspected parameter.
This means that if we are going to load waveforms from raw tiers for geds, the code will potentially crash. However, loading waveform is not our purpose, so we might be already happy with this version
No description provided.
The text was updated successfully, but these errors were encountered: