TimescaleGroupPlots#

class pypillometry.timescale.plots.TimescaleGroupPlots(group)[source]#

Bases: object

Plots of a TimescaleGroup, used as g.plot.

Parameters:

group (TimescaleGroup)

Methods

params

Standard deviation of each atom for all recordings of the group.

shrinkage

Total slow standard deviation of each recording: shrunk against individual estimate.

Details

params(ax=None)[source]#

Standard deviation of each atom for all recordings of the group.

Grey: the estimates of the single recordings without pooling; blue: the shrunk estimates; black: the group mean with the standard deviation between recordings (on the scale of \(u = \log(v + v_0)\)).

Parameters:

ax (matplotlib Axes, optional) – axes to draw on; default: the current axes

Return type:

Axes

shrinkage(cutoff='10 s', ax=None)[source]#

Total slow standard deviation of each recording: shrunk against individual estimate.

Parameters:
  • cutoff (float, str or Quantity) – time scale from which on the atoms count as slow (plain numbers are ms; default 10 s)

  • ax (matplotlib Axes, optional) – axes to draw on; default: the current axes

Return type:

Axes