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.list_to_dict  (  values keys = None  )[source]

Parameters:
valuesarray_like

The values of the dictionary.

keysarray_like

The keys of the dictionary. If omitted, the keys will be the indices of the values.

Returns:
outdict

A dictionary with the given 'values' and 'keys'.

API navigation