Skip to main content
Back to top
Ctrl
+
K
1.3.1
Getting started
Guides
API
Examples
About
Search
Ctrl
+
K
GitHub
PyPI
Conda
Search
Ctrl
+
K
Getting started
Guides
API
Examples
About
GitHub
PyPI
Conda
Collapse Sidebar
Expand Sidebar
Examples
Datasets and plotting
How to use NDDataset
NDDataset creation and plotting example
NDDataset coordinates example
Units manipulation examples
Slice an NDDataset with indices and coordinates
Interoperability
Interoperability with xarray and NetCDF
Import / Export
Reading datasets
Loading an IR (omnic SPG) experimental file
Loading Bruker OPUS files
Reading a PerkinElmer SP file (plugin)
Loading RAMAN experimental file
Read an experimental Raman spectrum from JCAMP-DX
Reading Renishaw WiRE files
Reading Galactic SPC files
Read a UV-visible spectrum from JCAMP-DX
Exchange a spectrum with Excel using CSV
Write and read an infrared spectrum in JCAMP-DX
Save and reload a native SpectroChemPy dataset
Read a Bruker TopSpin 1D FID
Read a JEOL 1D FID
Read a raw JEOL 2D COSY
Read a processed NMRPipe 2D COSY
Plotting datasets
Introduction to the plotting library
Show complex components and masks in 1D
Add projections to a 2D contour plot
Using
plot_multiple
to plot several datasets on the same figure
Choose an explicit plot type for a 2D IR dataset
Apply built-in plotting styles
Project Management
Project creation
Processing
Apodization
Exponential window multiplication
Sine bell and squared sine bell window multiplication
Baseline
NDDataset baseline correction
Denoising
Denoising a 2D Raman spectrum
Removing cosmic ray spikes from a Raman spectrum
Filtering
Compare spectral smoothers on noisy peaks
Savitzky-Golay and Whittaker-Eilers smoothing of a Raman spectrum
Savitzky-Golay derivatives on a synthetic spectrum
Compare smoothing window sizes on a Raman spectrum
NMR processing
Compare a Bruker 1D FFT with a TopSpin spectrum
Transform F2 of a JEOL 2D COSY
Process an MQMAS spectrum
Processing Raman datasets
Processing RAMAN spectra
Transformations
Mask a saturated region and transform an IR dataset
Chemometric preprocessing
Preprocessing transformers and scikit-learn compatibility
Analysis
Decomposition
EFA example
EFA (Keller and Massart original example)
FastICA example
IRIS: 2D-IRIS analysis (plugin)
MCR-ALS example (adapted from Jaumot et al. 2005)
MCR-ALS with kinetic constraints
NMF analysis example
PCA example (iris dataset)
PCA analysis example
SIMPLISMA example
Build synthetic concentration profiles
Decompose a 3D dataset with CP/PARAFAC
Cross-decomposition
Cross-validation of corn moisture models
PLS regression example
PLS regression with a Pipeline
Curvefitting
Fitting 1D dataset
Fit overlapping peaks in a 2D spectrum
Built-in line-shape helpers
Solve a linear equation using LSTSQ
Peak analysis
Explore an IR activation series with Noda’s 2D-COS
Find peak maxima in an IR time series
Find peaks in an experimental 2D-IR spectrum
Integrate a baseline-corrected IR band
Integrate a 2D peak and estimate its uncertainty
Find and integrate cross-peaks in a 2D COSY
Find and fit peaks in a 1D NMR spectrum
NMR series analysis
Follow cross-polarization buildup in a Bruker series
Analyze a saturation-recovery relaxation series
Modeling and simulation
Powder spectra from Czjzek distributions
Explore an alumina spectrum with an extended Czjzek model
Simulate a quadrupolar powder line shape with PULSAR
Fit a quadrupolar powder line shape with PULSAR
Plugins
Examples
Processing
Apodization
Apodization
#
Exponential window multiplication
Sine bell and squared sine bell window multiplication
Edit on GitHub