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. even  (  x  )[source]

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

Parameters:
xscalar

A scalar value.

Returns:
nint

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