plot_A_cfft2 (method)

plot_A_cfft2(data, is_elecorder=False, is_spaceorder=False, freq_max=20000, r_max=100, mag_max=None, N_stem=100, disp_negative=False, is_norm=False, unit='SI', save_path=None, fig=None, subplot_index=None)[source]

3D stem plot of the 2D Fourier Transform of a field

Parameters
  • data (Data) – a Data object

  • 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

  • mag_max (int) – maximum value of the magnitude

  • N_stem (int) – number of stems to plot

  • disp_negative (bool) – plot negative frequencies

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

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

  • 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