Skip to main content

MCRLLM: Multivariate Curve Resolution by Log-Likelihood Maximization

Project description

MCRLLM: Multivariate Curve Resolution by Log-Likelihood Maximization.

X = CS
where
X(nxk): Spectroscopic data where n spectra acquired over k energy levels
C(nxa): Composition map based on a MCRLLM components
S(axk): Spectra of the a components as computed by MCRLLM

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 data

Algorithm is designed to treat 2D data X(nxk) where n spectra acquired over k energy levels.
A 3D spectral image X(n1,n2,k) can be reshaped to a 2D matrix X(n1xn2,k) prior to MCRLLM analysis. Composition maps can then be obtained by reshaping C(n1xn2,a) into 2D chemical maps C(n1,n2,a).

Input arguments

MCRLLM requires 4 inputs :

  1. X data
  2. Number of MCRLLM components to compute
  3. Method of initialization:
    'Kmeans': Kmeans
    'NFindr': N-FINDR
    'ATGP': Automatic Target Generation Process
    'FIPPI': Fast Iterative Pixel Purity Index
  4. Number of MCRLLM iterations

Examples

Two full examples, along with datasets, are provided in 'Download Files'.
Please refer to 'MCRLLM_example.pdf' for full details.

  • Example 1: 1D spectral linescan of EELS data.
  • Example 2: 2D spectral image of XPS data.

Compatibility

MCRLLM tested on Python 3.7 using the following modules:
Numpy 1.17.2
Scipy 1.3.1
Sklearn 0.21.3
Pysptools 0.15.0
Tqdm 4.36.1

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.1.2.tar.gz (9.3 MB view details)

Uploaded Source

Built Distribution

MCRLLM-0.1.2-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

Details for the file MCRLLM-0.1.2.tar.gz.

File metadata

  • Download URL: MCRLLM-0.1.2.tar.gz
  • Upload date:
  • Size: 9.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0.post20200127 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.7.0

File hashes

Hashes for MCRLLM-0.1.2.tar.gz
Algorithm Hash digest
SHA256 f8cff2abafb95776971dd47f84ba8e6852f1e00e216a8139ce8f3569562f9cc3
MD5 402119b10f440e6ad333ab7ea0a490a7
BLAKE2b-256 c489d2ab720f3a84f56b3f565057f3bd08bf191a755ca57d5b0c0dd2db3e23f1

See more details on using hashes here.

File details

Details for the file MCRLLM-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: MCRLLM-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 6.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0.post20200127 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.7.0

File hashes

Hashes for MCRLLM-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 eaa1e60dd60e82456421542251542e60d512e0226be4a3fa252596d5eb270625
MD5 36c8916abbf5dcb7d78b9d6c48589dce
BLAKE2b-256 9152dfb7a827f76099a30ac1daacd3fa86476b2aa32300087b29c2f04f0cd6b4

See more details on using hashes here.

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