Window must be > polynomial order. Lower order = smoother.
50% = median filter. <50% = removes spikes/peaks above baseline.
Leave X Start and X End blank to smooth the entire spectrum.
Asymmetric Least Squares (Eilers-Boelens). The ultimate baseline for Raman fluorescence. λ controls rigidity. p controls asymmetry (hugging the bottom).
Subtracts: baseline = slope × x + offset from each spectrum.
SNIP algorithm — iterative peak-clipping in log²-space. Higher iterations = flatter baseline.
Iterative polynomial fit — clamps peaks above fitted curve + spread, then refits. Good for fluorescence background.
Only data points within [X Start, X End] are retained. Leave blank to use full range boundary.
Note: Live Preview only works when exactly ONE spectrum is selected.
Each Y value = Y × multiplier. Useful for visual comparison of peak heights.
All selected spectra normalized to same intensity range for visual comparison when stacked.
Batch Export: Each selected spectrum will be downloaded as an individual file. Filenames will be automatically sanitized for your Operating System.
Limits the match to a specific region. Automatically disables AI models.
Remove a reference mineral phase from a mixed sample.
Scales the reference before subtracting. Example: 0.5 removes 50% of the reference intensity.
Note: For accurate percentages, ensure your Target and References are fully baseline-corrected first!
Select 2 to 5 pure reference spectra you suspect are hiding inside the mixture.
Evaluate the Signal-to-Noise Ratio (SNR) for all visible spectra. Define your quality thresholds below.
Scores falling between these two bounds will be marked as Acceptable (Orange).
Calculates the Total Area (down to Y=0) and the Net Area (above a local baseline connecting the bounds) using the Trapezoidal Rule.
⚠️ Note: Derivatives amplify noise exponentially. It is highly recommended to apply a Savitzky-Golay Smooth to your spectra before deriving.
Increase iterations or lower tolerance if complex peaks fail to converge.
Uses Levenberg-Marquardt to resolve overlapping peak profiles.
Uses a median filter and Z-score thresholding to identify and remove artificially sharp cosmic ray artifacts.
Calculates the mean intensity across all selected spectra. If X-axes do not perfectly align, they will be automatically interpolated to match the first selected spectrum.
PCA reduces complex spectral arrays into a 2D scatter plot, grouping statistically similar spectra together. Highly recommended for mapping datasets or finding outliers.
Hover to identify a spectrum. Click a dot to toggle it ON/OFF in the main chart. Dark dots are currently hidden.
⚠️ Note: Your X-axis must be set to Wavelength [nm].
Calculates the CIE 1931 (x, y) coordinates from an emission spectrum. Use the X bounds to isolate the material's emission and exclude the laser/LED excitation peaks!
Execute multiple processing steps in exact mathematical sequence.
Mathematically recalculates the physical X-axis array for the selected spectra.
Mathematically recalculates the Y-axis intensity array for the selected spectra.
Just renames the global chart axes. No math is applied to the data.
Shifts the entire spectrum horizontally by adding or subtracting this value from the X-axis.
Removes data between [Center - Width] and [Center + Width], bridging the gap with a straight interpolated line.
Combines multiple spectral chunks into a single, continuous line. Overlapping regions are averaged together. Gaps are interpolated.
Adds the reference spectrum to all selected target spectra.
Divides all selected target spectra by the reference spectrum. Useful for generating transmission/reflectance ratios.
Access to the Database and AI Match features requires a verified researcher account.
Help us improve RDRS SpectraLib! Your testimonials may be featured on the platform.
Loading testimonials...
SVG (Unchecked): Best quality, required for PDF Reports. Lags with >20 spectra.
WebGL (Checked): Uses GPU. 60fps panning for 50+ spectra. May cause minor fill artifacts.
Standard scientific journal style.
⚠️ Note: Logarithmic Y-scales require strictly positive data. Baseline-subtracted spectra with negative noise may cause visual glitches.
RDRS SpectraLib is developed and maintained independently to provide a professional, instrument-grade analytical tool for the scientific community.
If you find it useful, consider supporting the project to help cover server costs and keep the platform evolving!
Secure payments processed by PayPal. Thank you for your support!
A comprehensive, instrument-grade web application designed for the visualization, advanced processing, and high-speed mathematical matching of Raman and infrared spectra. Built to process proprietary laboratory data alongside massive open-source reference libraries.
Data Privacy Guarantee: All spectrum parsing and processing happens completely locally in your browser. Your raw data files and spectra are never uploaded, saved, or collected by RDRS SpectraLib server.
Scientific Use & Citations
RDRS SpectraLib is provided as a free tool for the academic and scientific community. If you use RDRS SpectraLib in your scientific work, publications, or presentations, please reference the software as:
Developed by Andrei Ionuț Apopei, PhD
RDRS SpectraLib is designed to handle dozens of spectra simultaneously. When you open any processing tool (like Smooth or Baseline), you will see a list of all your loaded spectra.
[SG] or [Cut]) added to the name.Load pure, verified reference spectra directly into your chart for visual comparison.
How to use: Type a mineral name (e.g., "Quartz") into the Global Search, or use the dropdowns to browse by Technique and Class. Check the boxes of the minerals you want, and click Add to Chart. Hovering over a result will show a live preview overlay.
Data Sources & Citations
Identify an unknown sample by comparing it against our 11,400+ reference library using traditional mathematical algorithms or advanced Artificial Intelligence.
Available Algorithms:
How to use:
Pro Tip for Mixtures: The Multi-Phase AI is highly sensitive to background fluorescence and amorphous humps. Always run an Auto Baseline (ALS) on your sample before matching to ensure maximum accuracy!
Note: Results are paginated. You can load up to the top 50 closest matches by clicking "Show Next 10 Results" at the bottom of the list.
RDRS SpectraLib gives you deep, publication-level control over how your data is rendered on the screen. These settings are cached in your browser so your preferred lab aesthetic loads automatically every time.
Pro-Tip: If you ever accidentally hide your axes or mess up your chart layout, click File > Reset Settings at the top of the screen to instantly restore the default factory view!
Visual toggles to customize your workspace appearance. These do not mathematically alter raw data arrays.
Tools that modify the chart's physical layout and active tracking.
×Scale box in the left sidebar next to the spectrum name!Removes bad data points (like stubborn artifacts or saturated solvent peaks) and heals the gap with a clean, interpolated line.
How to use: Input the exact X-axis center of the bad peak, and how wide the cut should be. RDRS SpectraLib will delete the data in that window and draw a straight line connecting the two broken ends.
Automatically detects and removes artificially sharp spikes caused by high-energy particles hitting the camera sensor.
Tip: Keep Live Preview checked! The red dashed line will show you exactly what the cleaned spectrum looks like before you apply it.
Removes thermal noise, fluorescence, or sloped backgrounds from your data.
Corrects instrumental calibration errors by manually shifting the data horizontally.
How to use: Enter a positive number to shift the peaks to the right (higher wavenumbers), or a negative number to shift them to the left. The Y-intensities remain completely unchanged.
A unified tool to mathematically transform your data arrays or fix imported metadata.
The ultimate power-user tool. Apply an entire sequence of mathematical operations to dozens of spectra with a single click.
How to use: Check the boxes for the operations you want to apply (Cut, Smooth, Baseline, Normalize), adjust the specific parameters, and click Run Pipeline. RDRS SpectraLib will sequentially chain the math together in the background.
Automatically detect and label peaks (maxima) or valleys (minima) based on height thresholds.
When peaks are found, RDRS SpectraLib automatically calculates the FWHM (Full Width at Half Maximum) for crystallographic analysis. The results are automatically logged to the Console and exported in your PDF reports.
Calculates the area under a curve, which is proportional to chemical concentration.
How to use: Click the ✛ Cursor tool in the left panel to find the X-axis start and end points of your peak. Enter those numbers here. The Console Log will open and display the Total Area (down to zero) and the Net Area (above the local background).
Extracts the true mathematical color (Hex code and x,y coordinates) from an emission or photoluminescence spectrum.
How to use: Your X-axis must be set to Wavelength [nm]. Input the X bounds to isolate the material's emission peak (carefully excluding the excitation laser/LED). The application integrates the area using standard CIE 1931 Color Matching Functions and outputs the precise color swatch directly to the Console.
Resolves heavily overlapping peak clusters into individual mathematical components using Levenberg-Marquardt optimization. You can now model true physical and instrumental states by selecting specific Profile Shapes.
How to use:
Which Profile Shape should I choose?
Why pick centers visually? Blindly guessing peak locations often causes the math to fail on asymmetric data. By clicking the exact X-coordinates, you give the algorithm a perfect starting line, guaranteeing sub-second convergence for complex overlaps.
Advanced Solver Parameters: If your data is extremely noisy and triggers an 'Optimization failed to converge' error, expand the Advanced Parameters drawer. Increase the Max Iterations (e.g., 20000) or lower the Tolerance (e.g., 1e-6) to force the math to solve it.
Calculates the 1st or 2nd derivative to identify hidden shoulders or overlapping bands. Because derivatives amplify signal noise exponentially, always apply a Savitzky-Golay Smooth prior to using this tool.
Used to mathematically remove a pure reference phase from a mixed sample spectrum.
How to use: Select your mixed sample (Minuend) and the pure database reference (Subtrahend). Slowly drag the multiplier slider. Watch the chart update live until the reference peaks visually disappear from your mixed sample.
Combines multiple spectral segments (e.g., from a dual-grating spectrometer) into one continuous trace.
How to use: Select the spectra you want to weave together. RDRS SpectraLib will automatically sort them by X-axis, interpolate any empty gaps, and average any overlapping regions to create a single, seamless line.
Perform direct mathematical operations between multiple target spectra and a single reference spectrum.
Auto-Alignment Magic: RDRS SpectraLib will automatically interpolate the reference data to perfectly align with each target's X-axis before calculating the results.
Calculates the Mean (average) of multiple spectra. Highly recommended for heterogeneous samples where multiple acquisitions were taken. If you check Draw ±1 Std. Dev., it will draw a semi-transparent shaded area behind the main line representing the sample variance!
PCA is an advanced unsupervised Machine Learning technique that reduces the dimensionality of complex spectra. It looks for the greatest sources of variance (differences) across your entire dataset.
How to use: Select at least 3 spectra (ideally dozens) and click Compute. The server will standard-scale your data and return a 2D Scatter Plot. Spectra that are chemically identical will cluster together in tight groups. Outliers (like a spectrum ruined by a cosmic ray or a completely different mineral) will plot far away from the main clusters.
Pro-Tip: Click any dot on the PCA Scatter Plot to instantly isolate and view that specific spectrum in the main workspace!
Quantifies the percentage composition of a mixed sample using Non-Negative Least Squares (NNLS).
How to use: Baseline correct your mixed sample. Load the pure reference spectra from the database. Open the LCF tool, select the mixture as the Target, check the references, and calculate. The algorithm builds a synthetic "Fit" curve and logs the exact mathematical percentages to the Console.
Automatically calculates the Signal-to-Noise Ratio (SNR) for all visible spectra to help you quickly identify pristine data and flag noisy, unusable acquisitions.
How to use:
Results will appear as colored badges directly in the left sidebar next to each spectrum's name.
Connect a USB Camera or an OBS Virtual Camera (for SharpCap integration) to capture live photons from a diffraction grating.
How to Calibrate to Nanometers: