pueoAnalysisTools
Loading...
Searching...
No Matches
waveform_plots.py File Reference

main() shows how to use load_waveforms() and load_waveforms_from_IceFinal(). More...

Go to the source code of this file.

Functions

pl.DataFrame() load_waveforms (ROOT.pueo.Dataset dataset, str antennas=None)
 Loads time domain signals.
 
pl.DataFrame upsample_waveforms (pl.DataFrame waveforms, int upsample_factor)
 Calls SciPy's resample() to upsample the waveforms.
 
None plot_waveforms (pl.DataFrame waveforms, str plot_name)
 Uses Vega-Altair to make waveform plots.
 
tuple[pl.DataFrame(), np.array(1024)] load_waveforms_from_IceFinal (str filepath, [int] event_number=0, str antennas=None, int upsample_factor=None, bool want_plots=False, str plot_name=None)
 Loads time domain signals from an IceFinal file; users can optionally provide a list of antenna indices.
 

Detailed Description

main() shows how to use load_waveforms() and load_waveforms_from_IceFinal().

Note
Altair is needed to make the plot.
pip3 install altair[save]

Definition in file waveform_plots.py.