pylbo.testing
Classes
Main container for a single Legolas dataset. |
|
Functions
|
|
|
Module Contents
- pylbo.testing.pickle_dataseries_to_file(series, filepath)
- pylbo.testing.load_pickled_dataseries(filepath)
- class pylbo.testing.FakeDataSet(datfile, seed=None)
Bases:
pylbo.data_containers.LegolasDataSet
Main container for a single Legolas dataset.
- grid
The base grid.
- Type:
- grid_gauss
The Gaussian grid.
- Type:
- eigenvalues
Array containing the complex eigenvalues.
- Type:
- scale_factor
Array with the scale factor. One for Cartesian geometries, r for cylindrical.
- Type:
- eq_names
Array containing the names of the equilibrium arrays.
- Type:
- _set_test_equilibria()
- _set_test_eigenvalues()
- class pylbo.testing.MockMouseEvent(button=1, canvas=None, axes=None, x=None, y=None)
Bases:
matplotlib.backend_bases.MouseEvent
- inaxes = None
- button = 1
- xdata = None
- ydata = None
- class pylbo.testing.MockArtist(ds, axes, figure)
- dataset
- axes
- figure
- _xdata
- _ydata
- get_xdata()
- get_ydata()
- class pylbo.testing.MockPickEvent(ds, mouse_x: float, mouse_y: float, button=1, axes=None, figure=None, ind: List = None)
Bases:
matplotlib.backend_bases.PickEvent
- ind = None
- class pylbo.testing.MockKeyEvent(key, figure=None)