plot_A_fft2 (method)

plot_A_fft2(data, 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, fig=None, subplot_index=None)[source]

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

Parameters
  • data (Data) – a Data object

  • 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

  • fig (Matplotlib.figure.Figure) – existing figure to use if None create a new one