qspec logo qspec logo

A physics toolbox for laser spectroscopy.

Static Badge Static Badge Static Badge

Static Badge Static Badge

© 2026 Patrick Müller. All rights reserved.

qspec. odd  (  x  )[source]

The odd integer int(x) or int(x) + 1.

Parameters:
xscalar

A scalar value.

Returns:
nint

int(x) if it is odd, else int(x) + 1.