MagicPlot Manual

Plotting and nonlinear fitting software

User Tools

Site Tools


batch

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
batch [Wed Dec 14 16:52:04 2016]
Alexander
batch [Thu Jan 14 17:15:40 2021] (current)
Alexander
Line 1: Line 1:
-====== Batch Processing (Pro edition only) ======+====== Batch Processing ======
  
 MagicPlot Batch Processing allows to automatically process multiple similar data in the same way without programming (scripting) and recording of macro. One only have to ordinarily process the first data set manually and then use it as a template for processing of the rest data sets. Batch Processing includes the processing of data itself and semiautomatic fitting of the series of similar data. MagicPlot Batch Processing allows to automatically process multiple similar data in the same way without programming (scripting) and recording of macro. One only have to ordinarily process the first data set manually and then use it as a template for processing of the rest data sets. Batch Processing includes the processing of data itself and semiautomatic fitting of the series of similar data.
Line 32: Line 32:
 ==== These features are not supported by Batch Processing tool: ==== ==== These features are not supported by Batch Processing tool: ====
   * Changing the sequence of columns with imported source data (inserting columns left, deleting and moving these columns),   * Changing the sequence of columns with imported source data (inserting columns left, deleting and moving these columns),
-  * Table sorting.+  * Table sorting and transposing.
  
 ===== Batch Processing Steps ===== ===== Batch Processing Steps =====
Line 39: Line 39:
 The overall processing steps are: The overall processing steps are:
  
-  - Import the first text file from series (''Project -> Import Text Table...'' menu item) and process it. You can add new columns with formulas, calculate some derivative data (histograms, FFT, etc.), create Figures and Fit Plots with one simple restriction: \\ **Do not change the sequence of leftmost columns with imported source data: do not insert columns left, delete and move these columns. \\ Table sorting is also not supported in Batch Processing.** \\ Create Fit Plot(s) and fit the first data in series if you want to fit series of data.+  - Import the first text file from series (''Project -> Import Text Table...'' menu item) and process it. You can add new columns with formulas, calculate some derivative data (histograms, FFT, etc.), create Figures and Fit Plots. There is one simple restriction: **Do not change the sequence of leftmost columns with imported source data: do not insert columns left, delete and move these columns. Table sorting and transposing is also not supported in Batch Processing.** \\ Create Fit Plot(s) and fit your data if you want to fit series.
   - Run Batch Processing by selecting ''Project -> Import with Batch Processing...'' menu item. In the opened file dialog select all rest files in the series except the first file which has been already processed. Use ''Shift'' and ''Ctrl'' to select multiple files. \\ {{:batch01.png?nolink&|}}   - Run Batch Processing by selecting ''Project -> Import with Batch Processing...'' menu item. In the opened file dialog select all rest files in the series except the first file which has been already processed. Use ''Shift'' and ''Ctrl'' to select multiple files. \\ {{:batch01.png?nolink&|}}
   - In 3 tabs of ''Batch Processing'' dialog:   - In 3 tabs of ''Batch Processing'' dialog:
Line 50: Line 50:
 ===== Fitting Series ===== ===== Fitting Series =====
  
-The Fitting Series dialog will be opened after the batch processing finishes if some Fit Plots were created during the processing. If more than one Fit Plot was created for Template (and for each data set also), multiple tabs with Fit Plots will be shown in the window. Each tab will show one Fitting Series.+The ''Fitting Series'' dialog will be opened after the batch processing finishes if some Fit Plots were created during the processing. If more than one Fit Plot was created for Template (and for each data set also), multiple tabs with Fit Plots will be shown in the window. Each tab will show one Fitting Series.
  
-The Fitting Series dialog window is a standard Fit Plot panel with the list if data sets and options for the fitting series added on the bottom. Each data set will be processed in the same way as shown in the window:+The ''Fitting Series'' dialog window is a standard Fit Plot panel with the list if data sets and options for the fitting series added on the bottom. The Fit Plot interface is described here: [[fitting]]. The list of imported data sets to process is shown on the bottom left. Fit Plot panel shows the data from the selected line. Each data set will be processed in the same way as shown in the window:
  
   - The fit curves will be copied from the template plot (first in list) or from the (already fitted) previous plot depending on radio button selected (see more information below).   - The fit curves will be copied from the template plot (first in list) or from the (already fitted) previous plot depending on radio button selected (see more information below).
Line 60: Line 60:
 {{:batch05.png?nolink&}} {{:batch05.png?nolink&}}
  
-==== Curves and Initial Values of Parameters: from the Template or from Previous Data Set? ==== +==== Curves and Initial Values of Parameters: from the Template or from Previous Fit Plot? ==== 
  
 Please pay attention on the source curves alternative: from the template or from the previous data set. This setting manage which curves and initial values of parameters will be used for nonlinear fitting of each data set. The recommendations are the following: Please pay attention on the source curves alternative: from the template or from the previous data set. This setting manage which curves and initial values of parameters will be used for nonlinear fitting of each data set. The recommendations are the following:
  
-  * Select 'Previous' if your data in data set changes 'evolutionary': the values of parameters (ex. peak positions) are changed progressively from one plot to another. This variant appears when you examine the dependency of your data on some parameter. Example: you heat the sample step by step and measure the spectrum; the temperature rises from one spectrum to another and peaks are moved. Each plot is more similar to the previous one then to the first one (the template). +  * Select ''Previous'' if your data in data set changes 'evolutionary': the values of parameters (ex. peak positions) are changed progressively from one plot to another. This variant appears when you examine the dependency of your data on some parameter. Example: you heat the sample step by step and measure the spectrum; the temperature rises from one spectrum to another and peaks are moved. Each plot is more similar to the previous one then to the first one (the template). 
-  * Select 'Template' if all of your data sets are independent and no 'evolution' process can be seen between plots. Each plot is more similar to the first one (the template) then to the previous one.+  * Select ''Template'' if all of your data sets are independent and no 'evolution' process can be seen between plots. Each plot is more similar to the first one (the template) then to the previous one.
  
 ==== Automatic and Step by Step Modes ==== ==== Automatic and Step by Step Modes ====
Line 71: Line 71:
 You have 3 alternative buttons to process: You have 3 alternative buttons to process:
  
-  * Process -- processes the currently selected Fit Plot: The curves are copied from the previous or the first Fit Plot and fitting is performed. All existing curves will be removed from current Fit Plot before coping curves from previous/first Fit Plot. +  * ''Process'' -- processes the currently selected Fit Plot: The curves are copied from the previous or the first Fit Plot and fitting is performed. All existing curves will be removed from current Fit Plot before coping curves from previous/first Fit Plot. 
-  * Process Next -- opens and processes the next Fit Plot. +  * ''Process Next'' -- opens and processes the next Fit Plot. 
-  * Process All Next -- automatically processes all the Fit Plots next to the currently selected Fit Plot. This option is equal to the manually pressing 'Process Nest' button until all Fit Plots will be processed.+  * ''Process All Next'' -- automatically processes all the Fit Plots next to the currently selected Fit Plot. This option is equal to the manually pressing ''Process Next'' button until all Fit Plots will be processed.
  
 ==== Semi-Automatic Mode ==== ==== Semi-Automatic Mode ====
  
-When using step-by-step batch processing ('Process'' / ''Process Next'' buttons) you can change the fit for the currently selected plot. You can change the initial values of the parameters (move peaks manually), add or remove peaks. Don't forget to launch the fitting after the manual changing of the curve list or  the parameters values.+When using step-by-step batch processing (''Process'' / ''Process Next'' buttons) you can change the fit for the currently selected plot. You can change the initial values of the parameters (move peaks manually), add or remove peaks. Don't forget to launch the fitting after the manual changing of the curve list or  the parameters values.
  
 ==== Summary Table ==== ==== Summary Table ====
batch.1481723524.txt.gz · Last modified: Wed Dec 14 16:52:34 2016 (external edit)