specdraw
v0.6.0
Published
Interactive processing and visualization of NMR spectra
Downloads
4
Maintainers
Readme
specdraw.js
A javascript library for interactive visualization and client-side manipulation of NMR spectra. The package is still under developlment.
Exmaples
To see the package in action, visit my codepen
Current functions:
- Redering of 1D spectra from JSON files, including PNG compressed spectra.
- Supports zooming, peak picking/deleting, integration.
- Styling of spectra using CSS.
Roadmap:
- Complete 2D spectral rendering.
- Visualization of multiple spectra in the same SVG (using a sliding side panel to change between spectra)
- Linking events on multiple spectra drawn in different SVGs (for metabolomics application).
- Render "datasets" of spectra
- Interactivity with server-side using AJAX for baseline and phase correction.
Contribution
All contributions, suggestions, feature requests are exetremely welcome. Just create an issue or a pull request, or email me @ mohamed [at] kuicr.kyoto-u.ac.jp
Known issues
- Firefox bug causes 2D spectra to disappear when zoomed. Apparently the filters conflict with transform attributes applied.