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.cast_sympy  (  as_sympy * args dtype = 'float'  )[source]

Parameters:
as_sympybool

Whether to return the result as a sympy type.

argssympy_like

sympy_like arguments.

dtypetype

The type to use if as_sympy is False.

Returns:
outNone

The specified arguments as sympy types if 'as_sympy' is True and else as floats.

API navigation