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.models.NPeak  (  model n_peaks = 1  )[source]

Evaluates the given model at the positions $x_i$ with intensities $p_i$ and 0 <= i < n_peaks.

Parameters:
modelModel

A submodel whose parameters are adopted by this model.

n_peaksnumpy.ndarray[Any | numpy.dtype[numpy.integer]] | numpy.integer | int

The number of times the submodel is copied.

API navigation