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. asarray_none  (  *args ,  **kwargs  )[source]

Cast the arguments args to a tuple of ndarray of the specified dtype or None.

Parameters:
argsAny | None

The arguments to cast.

kwargsAny

Additional keywords are passed to numpy.asarray.

Returns:
a_tupletuple[ndarray | None, ...]

A tuple of ndarray or None.