gpe.visualize#

Attributes#

hv

Classes#

SimulationMixin2

Mixin for Simulation classes that provides holoview visualization.

SelectionStream

Module Contents#

hv = None[source]#
class SimulationMixin2[source]#

Mixin for Simulation classes that provides holoview visualization.

opts[source]#
property psis[source]#
property phases[source]#
property psis_k[source]#
property ns[source]#
_set_states(image=None)[source]#

Load all of the states and return (ts, psis).

property data[source]#

Return an xarray with the density data for plotting.

property data_phase[source]#

Return an xarray with the density data for plotting.

property data_k[source]#

Return an xarray with the momentum data for plotting.

get_densities(t, normalize)[source]#

Event handler that returns the density curves.

get_phases(t)[source]#

Event handler that returns the density curves.

get_momentum(t, normalize)[source]#

Event handler that returns the momenta curves.

get_plots(t, normalize=False, momentum=False, curve='phase')[source]#

Return the various subplots.

view_hv(species='ab', curve='density', image=False, **kw)[source]#
class SelectionStream[source]#

Bases: holoviews.streams.Stream

normalize[source]#
curve[source]#