File Exchange > DataAnalysis >    Sequential Fit

Author:
OriginLab Technical Support
Date Added:
7/7/2016
Downloads (90 Days):
246
Last Update:
3/2/2017
Total Ratings:
4
File Size:
81 KB
Average Rating:
File Name:
Sequential Fit.opx
Created Using:
Origin 2016 SR2
File Version:
1.3
Minimum Versions:
2017
License:
Free
Summary:

Perform fitting on all datasets in a worksheet sequentially.

Screen Shot and Video:
Description:

Purpose
This app can be used to fit a large number of datasets from a worksheet sequentially, and create a simple report table of parameter values and fit statistics.

Features include:

  • Fit all XY (YErr) datasets in the active worksheet
  • Select a built-in or user-defined function
  • Set maximum number of iterations, tolerance, and constraints on parameters
  • Three choices for parameter initialization:
    • Initialize each dataset independently
    • Use fit values from previous dataset as initial parameter values for next dataset
    • Use custom (user-specified) initial parameter values for all datasets
  • Output parameter values, standard errors, dependencies etc and also output fit statistics including fit status
  • Output the fitted curve, and allow go through each dataset by the navigation buttons on the fitted curve graph
  • Use metadata elements such as long name or comments as dataset identifier in the output sheet

Installation
Download the file Sequential Fit.opx, and then drag-and-drop onto the Origin workspace. An icon will appear in the Apps Gallery window.

Operation

  1. Import desired data into a worksheet. Make sure that column designations are set correctly (such as XYY..., XYXY.... XYYer... etc)
  2. With worksheet active, click the icon in the Apps Gallery window.
  3. In the pop up dialog, the active worksheet is set as Input Data automatically.
  4. Select the fitting function, and optionally set the maximum number of iterations, tolerance and constraints.
  5. Select desired method for parameter initialization.
  6. Optionally enter custom initial values, fix status, and lower/upper bounds for parameters in pop-up dialog accessible
    by clicking the Init Parameters button located next to the OK button.
  7. Choose the parameter values and statistics you want to output.
  8. Click OK button to perform the sequential fitting. 
  9. For large number of datasets, a progress bar will be displayed, including information on what percentage of datasets were successfully fitted.
    You can quit the fit process in the middle. Results up to that dataset will still be available in the output sheet.

Updates:

v1.1: Fixed bug related to parameter initialization
v1.2: Add fitted curve support
v1.3: Ignore hidden columns. Support parameter initialization from header rows. initialization

Reviews and Comments:
03/13/2017vtstm50r418Thanks. It is very useful to have Navigation buttons.

08/17/2016vtstm50r418It is very good tool. If there was a option to make groups of spectra such as 10 (or 121) with corresponding group code column, I would appreciate it very much. (I wrote it here as the direct contact link "here" does not work)

08/17/2016vtstm50r418I am using this tool for my 2000 spectra. I like the simplicity and user control options. I am happy to have it. Great work!

08/17/2016vtstm50r418I am using this tool for my 2000 spectra. I like the simplicity and user control options. I am happy to have it. Great work!