View Code? Open in Web Editor
NEW
Python version of metabom8 (pronounced "py-mate") for NMR data import and and pre-processing. Significant run time improvements due to parallelisation of selected functions, interactive graphics (matplotlib, plotly).
pym8's People
Contributors
Watchers
pym8's Issues
Hi T,
The random lines remain an issue even with no pre-processing
:
Hope that helps
Hi Torben,
Please note the following-
When you pre-define the chemical shift the visualizations appear like this-
I am unsure if you would like them to appear across the full image length.
PCA scores plot does not have the option to label data points/customise colour groups.
Many thanks,
C
Needs get_idx updated for reading/utility.
Import re
If you wanted- a comment on the dimension required for X2 when plotting :)
Hi T,
I only got this function to work after-
[0] removed from get_idx
mm8.utility added to baseline
mm8.utility added to "tf.cast(doub...)
Works fine now I believe.
Also can't get Marias PCA's to run on her computer (they run on mine)
error is with sklearn/validation
"ValueError: input contains NaN, infinity or a value too large for dtype('float64')
Hi T,
The PCA (analyse.pca) had issues running with ppm values below zero.
This was the code that worked-
idx=np.where(np.std(X, 0)!=0)[0]
X1=X[:,idx]
ppx=ppm[idx]
:)