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.fraction  (  r  )[source]

Parameters:
rsympy.core.numbers.Rational | str

A sympy.Rational or a str with the signature "'num'/'denom'".

Returns:
out(int, int)

the numerator and denominator of 'r'.

API navigation