Skip to main content

MCRLLM: Multivariate Curve Resolution by Log-Likelihood Maximization

Project description

MCRLLM: Multivariate Curve Resolution by Log-Likelihood Maximization.

#Method first presented in:
Lavoie F.B., Braidy N. and Gosselin R. (2016) Including Noise Characteristics in MCR to improve Mapping and Component Extraction from Spectral Images, Chemometrics and Intelligent Laboratory Systems, 153, 40-50.

#Input variable
X(nxk): 2D spectral matrix : n spectra acquired over k energy levels
Note: 3D spectral image can be unfold to 2D matrix prior to analysis.

#Input and output arguments
MCRLLM requires 3 inputs : X dat, number of components to compute (nb) and use of phi exponent.
Refer to paper above for use of phi. To use it: 'phi', if not: 'standard'
decomposition = mcr.mcrllm(X,nb,'phi')
decomposition.iterate(20)
Get Results
allS = decomposition.allS
S_final = decomposition.S
allC = decomposition.allC
C_final = decomposition.C
Sini = decomposition.Sini
allphi = decomposition.allphi

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mcrllm-0.0.21.tar.gz (5.0 kB view hashes)

Uploaded Source

Built Distribution

mcrllm-0.0.21-py3-none-any.whl (5.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page