Logo

A physics toolbox for laser spectroscopy.

Static Badge Static Badge Static Badge

Static Badge Static Badge

© 2025 Patrick Müller. All rights reserved.

qspec.simulate. ScatteringRate.plot_mixed_distribution  (  n = 5 mode = None show = True save = None  )[source]

Parameters:
nint

2 ** n + 1 samples for 'theta' and 2 ** (n + 1) + 1 samples for 'phi' are drawn, giving a total of (2 ** n + 1) * len(self.x) and (2 ** (n + 1) + 1) * len(self.x) points to draw for theta and phi, respectively.

modestr

Either '3d' for a surface plot or anything else for a color-mesh plot.

showbool

Whether to show the plot.

savestr

The path where to save the plot. If None, the plot will not be saved.

Returns:
outNone

Optionally, two plots are drawn for theta and phi as the y-axes and saved.

API navigation