What problem does it solve?
This skill reduces manual and error-prone fitting of Raman spectra by guiding users through data exploration, baseline correction, selection of physical peak models, constrained numerical fitting, and robust validation against expected material signatures.
Core Features & Use Cases
- Baseline subtraction and preprocessing: recommendations for linear, polynomial, and asymmetric least squares methods and guidance on when each is appropriate.
- Peak model selection and fitting: support for Lorentzian, Gaussian, Voigt, and pseudo-Voigt shapes and procedures for multi-peak deconvolution.
- Physical constraints and validation: recommended bounds for peak positions and FWHM, positivity constraints for intensities, residual analysis, R² reporting, and checks for parameters hitting bounds.
- Code design guidance: modular fitting functions, reuse patterns, and sanity-check utilities to ensure reproducible analyses.
- Use Case: extracting G, D, and 2D peak parameters from graphene Raman measurements with uncertainties and fit diagnostics for publication or QC.
Quick Start
Use the raman-fitting skill to fit the G and 2D peaks in my Raman spectrum, perform baseline correction, and return fitted parameters with uncertainties and an R² score.