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.check_shape_like  (  * args allow_scalar = True  )[source]

Parameters:
argsndarray

The arguments which must have shapes that can be broadcast together.

allow_scalarNone

Whether scalar values (shape=()) are seen as compatible with arbitrary shapes.

Returns:
outNone

None

Raises:
ValueError

All specified arguments must have shapes that can be broadcast together.

API navigation