plot_A_space (method)

plot_A_space(self, Data_str, index_list=[0], t=None, t_index=0, is_deg=True, is_fft=False, is_spaceorder=False, r_max=100, fund_harm=None, is_norm=False, unit='SI', data_list=[], component_list=None, legend_list=[], color_list=[], linestyle_list=['-'], save_path=None, y_min=None, y_max=None, mag_max=None, is_auto_ticks=True)[source]

Plots a field as a function of space (angle)

Parameters
  • self (Output) – an Output object

  • Data_str (str) – name of the Data object to plot (e.g. “mag.Br”)

  • index_list (list) – list of indices to take from a components axis

  • t (float) – time value at which to slice

  • t_index (int) – time index at which to slice

  • is_deg (bool) – boolean indicating if the angle must be converted to degrees

  • is_fft (bool) – boolean indicating if we want to plot the space-fft below the plot

  • is_spaceorder (bool) – boolean indicating if we want to use the spatial order for the fft axis

  • r_max (int) – maximum value of the wavenumber for the fft axis

  • fund_harm (float) – frequency of the fundamental harmonic

  • is_norm (bool) – boolean indicating if the field must be normalized

  • unit (str) – unit in which to plot the field

  • data_list (list) – list of Data objects to compare

  • component_list (list) – list of component names to plot in separate figures

  • legend_list (list) – list of legends to use for each Data object (including reference one) instead of data.name

  • color_list (list) – list of colors to use for each Data object

  • save_path (str) – path and name of the png file to save

  • y_min (float) – minimum value for the y-axis

  • y_max (float) – maximum value for the y-axis

  • mag_max (float) – maximum alue for the y-axis of the fft

  • is_auto_ticks (bool) – in fft, adjust ticks to wavenumbers (deactivate if too close)