plot_A_fft2 (method)

plot_A_fft2(self, Data_str, is_phase=False, is_deg=True, is_elecorder=False, is_spaceorder=False, freq_max=20000, r_max=100, mag_max=None, is_norm=False, unit='SI', colormap=None, save_path=None, component_list=None)[source]

2D color plot of the 2D Fourier Transform of a field

Parameters
  • self (Output) – an Output object

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

  • is_phase (bool) – boolean indicating if the phase must be plot (subplot)

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

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

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

  • freq_max (int) – maximum value of the frequency for the fft axis

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

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

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

  • colormap (colormap object) – colormap prescribed by user

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

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