sdf_xarray.plotting.EpochAccessor

sdf_xarray.plotting.EpochAccessor#

class sdf_xarray.plotting.EpochAccessor(xarray_obj)[source]#

Bases: object

__init__(xarray_obj)[source]#

Methods

__init__(xarray_obj)

animate(*args, **kwargs)

Generate animations of Epoch data.

animate(*args, **kwargs)[source]#

Generate animations of Epoch data.

Parameters:
  • args – Positional arguments passed to animation().

  • kwargs – Keyword arguments passed to animation().

Return type:

FuncAnimation

Examples

>>> anim = ds["Electric_Field_Ey"].epoch.animate()
>>> anim.save("myfile.mp4")
>>> # Or in a jupyter notebook:
>>> anim.show()