pypret.graphics module

This module implements several helper routines for plotting.

class pypret.graphics.MeshDataPlot(mesh_data, plot=True, **kwargs)[source]

Bases: object

__init__(mesh_data, plot=True, **kwargs)[source]

Initialize self. See help(type(self)) for accurate signature.

plot(show=True)[source]
show()[source]
class pypret.graphics.PulsePlot(pulse, plot=True, **kwargs)[source]

Bases: object

__init__(pulse, plot=True, **kwargs)[source]

Initialize self. See help(type(self)) for accurate signature.

plot(xaxis='wavelength', yaxis='intensity', limit=True, oversampling=False, phase_blanking=False, phase_blanking_threshold=0.001, show=True)[source]
pypret.graphics.plot_complex(x, y, ax, ax2, yaxis='intensity', limit=False, phase_blanking=False, phase_blanking_threshold=0.001, amplitude_line='r-', phase_line='b-')[source]
pypret.graphics.plot_meshdata(ax, md, cmap='nipy_spectral')[source]