dataset.PolTRSpecPlotter

class dataset.PolTRSpecPlotter(pol_dataset: PolTRSpec, disp_freq_unit=None)[source]

Plotting commands for a PolTRSpec

Parameters:
  • pol_dataset (PolTRSpec) – The Data

  • disp_freq_unit ({'nm', 'cm'} (optional)) – The default unit of the plots. To change the unit afterwards, set the attribute directly.

__init__(pol_dataset: PolTRSpec, disp_freq_unit=None)[source]

Plotting commands for a PolTRSpec

Parameters:
  • pol_dataset (PolTRSpec) – The Data

  • disp_freq_unit ({'nm', 'cm'} (optional)) – The default unit of the plots. To change the unit afterwards, set the attribute directly.

Methods

__init__(pol_dataset[, disp_freq_unit])

Plotting commands for a PolTRSpec

das([ax, plot_first_das])

Plot a DAS, if available.

edas([ax, add_legend])

Plots a SAS (also called EDAS), if available.

lbl_spec([ax, add_legend])

sas(model[, QYs, y0, ax, add_legend])

Plots a SAS (also called EDAS), if available.

spec(*times[, norm, ax, n_average, add_legend])

Plot spectra at given times.

trans(*args[, symlog, norm, ax, add_legend])

Plot the nearest transients for given frequencies.

trans_anisotropy(*wls[, symlog, ax, freq_unit])

Plots the anisotropy over time for given frequencies.

univariate_spline(y)

upsample_spec(y[, kind, factor])

Attributes

para_ls

perp_ls

x