Analysis Functions
Use SmartPlot analysis tools to clean signals, correct baselines, fit peaks and trends, and turn selected ranges into results that can be plotted, styled, and exported.
Recommended analysis workflow
Most analysis actions work best after the figure layer is visible, because you can use the plot preview to judge whether the selected range and parameters make scientific sense.
- Import or prepare the data table.
- Create or select the target plot layer.
- Select the meaningful x-range or data region.
- Choose the analysis method from the Analyze menu.
- Adjust parameters while checking the preview.
- Apply the result and keep the original data available for comparison.
- Style, annotate, export, or save the project.
UI entry and key parameters
Select data or a figure layer -> Analyze -> Choose a method -> Set ROI and parameters -> Preview -> Apply
- ROI / selected range
- Method
- Baseline or fitting model
- Peak count
- Smoothing window
- Preview state
- Result output
Analysis method guide
Baseline correction
Purpose: Remove slowly changing background from spectra or curves before comparing signal intensity.
Use when: Use it when the whole curve has drift, sloped background, or offset that should not be counted as signal.
Main settings
- ROI or full range
- Baseline model
- Anchor points or endpoint behavior
- Preview overlay
Workflow
- Select the curve.
- Choose Baseline Correction.
- Adjust the range and model.
- Preview the corrected curve.
- Apply as a derived result.
Shirley background correction
Purpose: Estimate XPS-style background under a peak region caused by inelastic scattering.
Use when: Use it for XPS spectra where the background rises or falls across the peak envelope.
Main settings
- Peak ROI
- Endpoint mode
- Negative clipping
- Corrected spectrum output
Workflow
- Import XPS data.
- Select the peak region.
- Apply Shirley correction.
- Check corrected baseline.
- Continue with peak fitting if needed.
Peak fitting
Purpose: Fit one or more peaks to estimate peak position, height, area, and width.
Use when: Use it when overlapping peaks need to be separated or reported quantitatively.
Main settings
- Peak count
- Peak model
- Initial peak positions
- Fit range
- Residual preview
Workflow
- Correct the baseline first when needed.
- Choose the fit range.
- Set peak count and starting positions.
- Preview the fit and residual.
- Apply and label key peaks.
Trend fitting
Purpose: Fit a mathematical relationship such as linear, polynomial, exponential, or power-law trend.
Use when: Use it when the goal is to summarize a trend, calibration curve, or kinetic relationship.
Main settings
- Model type
- Fit range
- Parameter display
- Equation / R-squared label
Workflow
- Select paired X/Y data.
- Choose Trend Fitting.
- Pick a model that matches the science.
- Preview the curve.
- Add equation labels only when useful.
Smoothing
Purpose: Reduce visual noise while keeping the main curve shape readable.
Use when: Use it for noisy measured curves where the raw signal remains available for comparison.
Main settings
- Window size
- Method
- Edge behavior
- Preview against raw data
Workflow
- Select the curve.
- Choose Smoothing.
- Start with a small window.
- Compare with raw data.
- Apply only when features are not distorted.
Derivative and integration
Purpose: Extract rate-like changes or area-like quantities from selected regions.
Use when: Use derivatives to reveal slope changes, and integration to quantify area under a curve.
Main settings
- Selected range
- Derivative order
- Integration baseline
- Output table or curve
Workflow
- Select the range.
- Choose Derivative or Integration.
- Set parameters.
- Preview the result.
- Annotate the region if exporting the figure.
Before applying a result
- Confirm the x-range contains the signal you intend to analyze.
- Check that units and column roles are correct.
- Preview the output and compare it with the raw curve.
- Save the project before replacing or adding derived results.
- Record important parameters when the figure is used in a paper or report.
What to do after analysis
- Keep raw and processed curves visually distinguishable.
- Add labels, reference lines, or annotations for fitted peaks and integration regions.
- Use consistent colors and legends before export.
- Save the project so the analysis state can be reopened later.
Notes / limitations
- Analysis results depend on data quality, selected range, and method parameters.
- Keep a copy of the original curve visible until the correction or fit is checked.
- Use narrow, meaningful ranges for local operations such as peak fitting or integration.
- Do not interpret smoothing as a replacement for raw data.
