PlasmaCalcs.addons.instability_tools.instability_theory_tools.xarray_growthplot

PlasmaCalcs.addons.instability_tools.instability_theory_tools.xarray_growthplot(array, *, klines=None, **kw)
like array.pc.image, but with default kwargs from kw_growthplot.
Also, plots array.it.growth.
(E.g. if array is complex, use array.imag instead.
and if array is actually a Dataset, use array[‘omega’].imag instead.)
klines: None, bool, or dict
whether to plot lines representing mean free paths, and debye lengths.
None –> True if input was a Dataset; False if it was a DataArray.
(cannot infer klims from DataArray of growth values.)
if dict, use as kwargs for xarray_klines.