- qspec.models.NPeak ( model , n_peaks = 1 )[source]
Evaluates the given
model
at the positions $x_i$ with intensities $p_i$ and0 <= 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.