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.cast  (  * args dtype  )[source]

Cast the arguments args to the specified dtype.

Parameters:
argsAny

The arguments.

dtypeCallable[[Any], T]

The type of the cast arguments.

Returns:
args_casttuple[T, ...]

The cast arguments.

API navigation