30+
years serving the scientific and engineering community
Log In
Buy Now
Try Origin for Free
Watch Videos
English
日本語
Deutsch
Toggle navigation
Products
PRODUCTS
Origin
OriginPro
Origin Viewer
All products
Origin vs. OriginPro
What's new in latest version
Product literature
SHOWCASE
Applications
User Case Studies
Video Tutorials
Graph Gallery
Animation Gallery
3D Function Gallery
FEATURES
2D&3D Graphing
Peak Analysis
Curve Fitting
Statistics
Signal Processing
Key features by version
LICENSING OPTIONS
Node-locked(fixed seat)
Concurrent Network (Floating)
Dongle
Academic users
Student version
Commercial users
Government users
Non-Profit users
Why choose OriginLab
Who's using Origin
What users are saying
Published product reviews
Online Store
Get a quote/Ordering
Find a distributor
Apps
Data Import
CSV Connector
Excel Connector
HTML Connector
HDF Connector
NetCDF Connector
Import NMR Data
Import PDF Tables
Google Map Import
Import Shapefile
More...
Graphing
Graph Maker
Correlation Plot
Paired Comparison Plot
Venn Diagram
Taylor Diagram
Volcano Plot
Kernel Density Plot
Chromaticity Diagram
Heatmap with Dendrogram
More...
Publishing
Graph Publisher
Send Graphs to PowerPoint
Send Graphs to Word
Send Graphs to PDF
Send Graphs to OneNote
Movie Creator
Graph Anim
More...
Curve Fitting
Simple Fit
Speedy Fit
Piecewise Fit
Fit ODE
Fit Convolution
Rank Models
Fitting Function Library
Neural Network Regression
Polynomial Surface fit
Global Fit with Multiple Functions
More...
Peak Analysis
Simple Spectroscopy
Peak Deconvolution
Pulse Integration
Align Peaks
Global Peak Fit
PCA for Spectroscopy
2D Peak Analysis
Gel Molecular Weight Analyzer
More...
Statistics
SPC
DOE
Stats Advisor
PCA
RDA
Bootstrap Sampling
Time Series Analysis
Factor Analysis
General Linear Regression
Logistic Regression
SVM Classification
More...
How do Apps work in Origin?
Suggest a New App
Purchase
New Orders
Renew Maintenance
Upgrade Origin
Contact Sales(US & Canada only)
Find a Distributor
Licensing Options
Node-locked(fixed seat)
Concurrent Network (Floating)
Dongle
Academic users
Student version
Commercial users
Government users
Non-Profit users
Why choose OriginLab
Purchasing FAQ
Support
SERVICES
Transfer Origin to new PC
License/Register Origin
Consulting
Training
Renew Maintenance
SUPPORT
Support FAQ
Help Center
Contact Support
Support Policy
DOWNLOADS
Service Releases
Origin Viewer
Orglab Module
Product Literature
Origin Trial
All downloads
VIDEOS
Installation and Licensing
Introduction to Origin
All video tutorials
DOCUMENTATION
User Guide
Tutorials
Python Programming
OriginC Programming
LabTalk Programming
All documentation
Communities
User Forum
User File Exchange
About Us
OriginLab Corp.
News & Events
Careers
Distributors
Contact Us
Contact Us
Log In
All Books
Non-Programming Books
User Guide
Tutorials
Quick Help
Origin Help
Programming Books
X-Function
Origin C
LabTalk Programming
Python
Python (External)
Automation Server
LabVIEW VI
Apps
App Development
Code Builder
License
Orglab
2.1.23.2 Peak and Baseline
Functions
Name
Brief
Example
ocmath_check_linear
Find linear segment of a curve by piecewise linear fit.
Examples
ocmath_create_baseline_by_masking_peaks
Create curve's baseline by masking its peaks.
Examples
ocmath_find_base_regions
Find the flat part in the curve as baseline
Examples
ocmath_find_baseline_part_by_small_curvature
Get baseline points of the input curve by second derivative method or small curvature
Examples
ocmath_find_inflection_point
Find x coordinate of the inflection points for the peak data by an iterative method and calculate the peak width at base
Examples
ocmath_find_markers_of_peak_centers_by_height_and_width
Find feets of the peaks by user settings
Examples
ocmath_find_markers_of_peaks_by_height_and_width
Find feets of the peaks with user settings.
Examples
ocmath_find_peaks_1st_derivative
Find curve's peaks by 1st derivative.
Examples
ocmath_find_peaks_2nd_derivative
Find curve's peaks by 2nd derivative.
Examples
ocmath_find_peaks_by_local_maximum
Find local maximum point in a local scope selected by nLocalPts. For a current point marked by nIndex, the scope is [nIndex-nLocalPts, nIndex+nLocalPts]. The local maximum point will be save as a peak.
Examples
ocmath_find_peaks_by_search_window
Find peaks in local scope.
Examples
ocmath_find_peaks_partition
Find two inflexions determined by smoothed 2nd derivative on the nearest left and right of dPeakCenter, and then use nStartofPeak and nEndofPeak to record the two inflexions indices. nStartofPeak and nEndofPeak determined the peak's partition.
Examples
ocmath_init_baseline_by_connect_ends
Init baseline depending on two end points of the curve.
Examples
ocmath_pick_peaks
find peaks by simply looking at the Y values
Examples
ocmath_test_peaks_by_height
Test and record the number of peaks passed testing.
Examples
ocmath_test_peaks_by_number
Find the npeakNum highest peaks.
Examples
ocmath_xy_remove_duplicates
This function remove duplicated points and replace duplicated points by nMethod, where 0 means replace with mean, 1=median, 2=min, 3=max, 4=sum
Examples
Skip Navigation Links
All Books
Origin C
Origin C Reference
Global Functions
Spectroscopy
Peak and Baseline
User Guide
Tutorials
Quick Help
Origin Help
X-Function
Origin C
LabTalk Programming
Python
Python (External)
Automation Server
LabVIEW VI
Apps
App Development
Code Builder
License
Orglab
Programming
Origin C Programming Guide
Origin C Reference
Examples
Origin Developer Kit
Build Dialogs using HTML and JavaScript
Global Functions
Classes
Macros
Typedef
Struct
Enum
Basic IO
Character and String Manipulation
COM
Communications
Curve
Data Conversion
Data Range
Date Time
File IO
File Management
Fitting
Image Processing
Import Export
Internal Origin Objects
LabTalk Interface
Math Functions
Mathematics
Matrix Conversion and Gridding
Memory Management
NAG Functions
Network
Signal Processing
Spectroscopy
Statistics
System
Tree
User Interface
Moment Calculation
Peak and Baseline
ocmath_check_linear
ocmath_create_baseline_by_masking_peaks
ocmath_find_baseline_part_by_small_curvature
ocmath_find_base_regions
ocmath_find_inflection_point
ocmath_find_markers_of_peaks_by_height_and_width
ocmath_find_markers_of_peak_centers_by_height_and_width
ocmath_find_peaks_1st_derivative
ocmath_find_peaks_2nd_derivative
ocmath_find_peaks_by_local_maximum
ocmath_find_peaks_by_search_window
ocmath_find_peaks_partition
ocmath_init_baseline_by_connect_ends
ocmath_pick_peaks
ocmath_test_peaks_by_height
ocmath_test_peaks_by_number
ocmath_xy_remove_duplicates
English
|
Deutsch
|
日本語
© OriginLab Corporation. All rights reserved.
×
☐
_
Let's Chat