1.0

1.0 | 1 rating Rate this file 139 downloads (last 30 days) File Size: 8.91 KB File ID: #23452

Interactive Peak Fitter (Version 4.1)

by Tom O'Haver

 

27 Mar 2009 (Updated 18 Apr 2009)

Code covered by BSD License  

Keyboard operated peak fitting function for time-series signals.

Download Now | Watch this File

File Information
Description

A peak fitting program for time-series signals, written as a self-contained function in a single m-file. Uses an non-linear optimization algorithm to decompose a complex, overlapping-peak signal into its component parts. The objective is to determine whether your signal can be represented as the sum of fundamental underlying peaks shapes. Accepts signals of any length, including those with non-integer and non-uniform x-values. Fits Gaussian, exponentially-broadened Gaussian, Lorentzian, Pearson, and Logistic shapes (expandable to other shapes). Unlike the previous version of this program, this one does not use sliders, which were giving some people problems. See http://www.wam.umd.edu/~toh/spectrum/InteractivePeakFitter.htm for more information. Version 4.1, April 18: Added Autozero ON/OFF notification at top, and "k" keypress to print out list of commands.

Acknowledgements

The author wishes to acknowledge the following in the creation of this submission:
Interactive Peak Fitter, version 2.2
This submission has inspired the following:
Peak Fitter

MATLAB release MATLAB 6.5 (R13)
Zip File Content  
Other Files ipf.m,
license.txt
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (5)
28 Mar 2009 Tom O'Haver

This latest version (3.3) add two features:

1. It computes the model at 100 points regardless of number of data points, giving the graph a smoother appearance.

2. A new keypress function, "d", to print out x,y values of the current data segment.

28 Mar 2009 John D'Errico

Please do not upload two copies of the same file. If you wish to update a file, then click on the update link on the file page.

Delete one of the copies.

30 Mar 2009 Wang Hai

good

08 Apr 2009 Lissa  
14 Apr 2009 Tom O'Haver

Version 4: April 2008: Added keypress function "x" to refine the fit by performing 10 trial fits with slightly different first guesses and take the one with the lowest fitting error. You can change the number of trials, "NumTrials", in line 69 (the default is 10)

Please login to add a comment or rating.
Updates
08 Apr 2009

Version 3.5 computes the model at 100 points regardless of number of data points; adds keypress functions "t" to toggle between normal and autozero mode, and "d" to print out x,y values of the current data segment.

14 Apr 2009

 Version 4: April 2008: Added keypress function "x" to refine the fit by performing 10 trial fits with slightly different first guesses and take the one with the lowest fitting error.

18 Apr 2009

Version 4.1, April 18: Added Autozero ON/OFF notification at top, and "k" keypress to print out list of commands.

Tag Activity for this File
Tag Applied By Date/Time
chemistry Tom O'Haver 27 Mar 2009 16:24:00
physics Tom O'Haver 27 Mar 2009 16:24:00
peak fitting Tom O'Haver 27 Mar 2009 16:24:00
decomposition Tom O'Haver 27 Mar 2009 16:24:00
time series Tom O'Haver 27 Mar 2009 16:24:00
curve fitting Tom O'Haver 27 Mar 2009 16:24:00
chemistry Frantisek 10 Apr 2009 01:36:32
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com