- qspec.models.NPeak ( model , n_peaks = 1 )[source]
Evaluates the given
modelat the positions $x_i$ with intensities $p_i$ and0 <= i < n_peaks.- Parameters:
-
- modelqspec.models._base.Model
A submodel whose parameters are adopted by this model.
- n_peaksint_like
The number of times the submodel is copied.