currentscape.ions

Ion concentrations class.

Classes

IonConcentrations(data, c[, time])

Class containing ion concentrations data.

class currentscape.ions.IonConcentrations(data, c, time=None)[source]

Bases: DataSet

Class containing ion concentrations data.

plot(c, row, rows_tot, cmap)[source]

Plot positive (or negative) ionic concentration.

Parameters:
  • c (dict) – config

  • row (int) – row of subplot

  • rows_tot (int) – total number of subplots in the figure

  • cmap (matplotlib.colors.Colormap) – colormap

plot_with_linestyles(c, row, rows_tot, cmap)[source]

Plot all the ion concentration with linestyles.

Parameters:
  • c (dict) – config

  • row (int) – row of subplot

  • rows_tot (int) – total number of subplots in the figure

  • cmap (matplotlib.colors.Colormap) – colormap