-
Notifications
You must be signed in to change notification settings - Fork 27
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
base: 0.4.X
Are you sure you want to change the base?
Conversation
Added a second metric for assessing quality of refinement to metrics.py Added a method for partial single value decomposition. Implementation of SIMPLISMA for initial component guessing |
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 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. |
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.