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_dimension  (  dim axis * args  )[source]

Parameters:
dimint

The number of components the axis 'axis' must have.

axisint

The axis which must have 'dim' components.

argsndarray

The arguments which must have 'dim' components along axis 'axis'.

Returns:
outNone

None

Raises:
ValueError

All specified arguments must have 'dim' components along axis 'axis'.

API navigation