Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Created a script for SIMPLISMA implementation in python #10

Open
wants to merge 28 commits into
base: 0.4.X
Choose a base branch
from

Conversation

ClarkAH
Copy link

@ClarkAH ClarkAH commented Mar 25, 2019

I have written a script that would be a useful addition to this project for the initial estimate of components using partial SVD combined with the SIMPLISMA algorithm.

I have added this to the tests folder.

@ClarkAH
Copy link
Author

ClarkAH commented Mar 25, 2019

Added a second metric for assessing quality of refinement to metrics.py
Lack of Fit in %

Added a method for partial single value decomposition.

Implementation of SIMPLISMA for initial component guessing

@CCampJr
Copy link
Collaborator

CCampJr commented Apr 9, 2019

Hi @ClarkAH thanks for the effort! I somehow missed the notification.

What's the status of this? I see it's failing tests but I will look into that.

Thanks.

@CCampJr CCampJr changed the base branch from master to 0.2.X April 9, 2019 13:42
@ClarkAH
Copy link
Author

ClarkAH commented Apr 9, 2019

@CCampJr I have updated the two scripts, 'simplisma.py' and the test script 'svd_simplisma.py'.

The test script first generates some example data of 200 spectra consisting of a random normalised sum of 5 gaussian profiles. The the lower section runs the SVD part of the simplisma code and produces figures displaying the eigenvalues and explained variance. The next part runs the simplisma code and returns an unconstrained linear combination with related figure. The final part runs the simplisma code with an additional constrained linear combination fit and related figure.

I have also added example figures in the 'Example' folder for a run of the test_svd_simplisma.py script I have performed.

@CCampJr CCampJr changed the base branch from 0.2.X to 0.4.X April 23, 2019 14:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants