LowRank.PositionedDecomposer#
LowRank.PositionedDecomposer.py
This module contains the functions to decompose a curve according to specified peak positions.
- decompose_icurve_positioned(x, y, decompargs, **kwargs)#
Decompose the given curve (x, y) into a sum of exponentially modified Gaussian (EMG) functions, with peak positions specified in decompargs[‘peakpositions’].
- Parameters:
- Returns:
params – A 2D array of shape (number of peaks, 4), where each row contains the parameters (height, mean, sigma, tau) of the corresponding EMG function.
- Return type:
np.ndarray