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_excel  (  * args save = None delimiter = ' ' header = '' align = 'top'  )[source]

Parameters:
argsndarray | Iterable

1- or 2-dimensional iterables to print or save in an excel-compatible format.

savestr

The filepath, either absolute or relative to the working directory. If None, the output is printed.

delimiterstr

The delimiter between two columns.

headerstr

Add a header above the content to the output.

alignstr

How to align the columns that are smaller than the largest column. Supported alignments are {"top", "bottom", else == "top"}.

Returns:
outNone

Prints or saves the 'args' in an excel-compatible way.

API navigation