pyepr.plot_sequence_freq¶
- pyepr.plot_sequence_freq(sequence, resonator=None, spectrum=None, title=None, fig=None, axs=None, **kwargs)[source]¶
Plots the relative pulses in the frequency domain. If a resonator or spectrum is provided, these are plotted as well.
- Parameters:
- sequenceepr.Sequence
The pulse sequence to be plotted.
- resonatorepr.ResonatorProfile, optional
The resonator profile to be plotted. If provided, the resonator profile will be plotted on a secondary y-axis.
- spectrumepr.FieldSweepAnalysis, optional
The field sweep spectrum to be plotted. If provided, the spectrum will be plotted on the same axis as the pulse sequence.
- titlestr, optional
The title of the plot. If not provided, no title will be set.
- figmatplotlib.figure.Figure, optional
The figure to plot on. If not provided, a new figure will be created.
- axsmatplotlib.axes.Axes, optional
The axes to plot on. If not provided, new axes will be created.
- Returns:
- figmatplotlib.figure.Figure
The figure containing the plot.