## Experimental Kinetics: Help
## File Manager
The "File Manager" menu provides tools for loading, saving, and managing experiment data.
# Import Data
Use **Import Data** for a raw TXT/CSV measurement file with a header row or a typed single-experiment KiThe CSV. For raw data, choose an experiment ID, bind columns and units, select the thermal mode, then click **Import experiment**. Add a typed series here when it should join the current document; use **Open Document** when it should replace the current series. Import never changes the destination used by Save.
# Open Document
Opens a typed KiThe series CSV as the current document, replacing the current series. If the current document has unsaved changes, choose Save, Discard, or Cancel first. Raw measurement files are imported, not opened as the document.
# New experiment
Creates one experiment from a raw measurement file. Choose a unique experiment ID, set the thermal metadata, bind the time and mass/signal columns, and bind temperature only when it was measured. For an isothermal run without a temperature trace, enter its known temperature in metadata. Review the preview and units, then click **Import experiment**. Likely headers such as `t`, `m`, and `T` may be suggested automatically; verify the bindings before importing.
# Append to experiment
Adds a second file to an existing experiment after binding its columns. The resulting experiment is added to the current series, or replaces the source experiment when that option is selected.
# Save / Save As
Save writes the complete current series to a typed KiThe CSV, including all experiments, columns, metadata, bindings, provenance, and operation history. The first Save asks for a path; later Saves reuse that document path. Save As chooses a new path for the complete document. Ctrl/Cmd+S runs Save.
# Export CSV / Export TXT
Exports the whole series, selected experiments, or one experiment with selected columns. Column choices show their classification, unit, and active binding. Export settings and paths are independent of the current document; exporting never changes what Save writes. CSV preserves KiThe metadata, while TXT is plain tab-delimited data for one experiment.
# Add Plot
Opens the plot configuration dialog to add curves. Existing curves have separate Show and Delete controls; hiding a curve does not delete it or its data.
# Plot Editor
Opens the print-ready plot editor for journal/report figures. It does not change live plots or experiment data.
## Math
The "Math" menu contains tools for mathematical data processing: filtering, smoothing, interpolation.
# Hampel filter
Detects outliers in a selected signal using a local median and MAD threshold. Replacement strategies produce a result column; **Drop** removes the affected rows across the entire experiment and requires confirmation. The source signal and output name are explicit. Check the displayed time span as well as the number of points in the window.
# Savitzky Golay
Applies a local polynomial filter to the explicitly selected signal. Derivative order zero smooths the signal; a positive order creates a derivative result and does not rebind it as mass or temperature. A different output name creates a new column; using the source name explicitly replaces it. The window reports the approximate time span covered by the selected point window.
# Rolling mean
Computes a moving average for the explicitly selected signal. A different output name creates a new column; using the source name explicitly replaces it. The input rows and other columns are not trimmed as a side effect. The window reports the approximate time span covered by its point count.
# Splines
Resamples the currently selected curve onto a new X grid. The operation creates a fresh X/Y pair and keeps the source columns; existing output names are rejected rather than silently overwritten. Review the generated range and point count before applying.
# LSQ Splines
Fits selected signal columns against one selected X column and evaluates all of them on one shared new grid. Each output gets a fresh column name; source data are retained. Only the schema bindings represented by selected signals are changed, and the new X grid becomes the active time binding. The preview lists the signals and target grid before applying.
# LOWESS
Locally weighted regression smoother for one or more selected signals against an explicitly chosen X column. Blank output names generate fresh columns; entering a source name explicitly replaces that signal. Results are plotted against the chosen X column.
## Kinetic Methods
The "Kinetic Methods" menu provides a set of methods for thermal decomposition kinetics analysis.
# Isoconversional
Series analysis that computes effective activation energy as a function of conversion. The selected method determines the thermal regime: **Friedman Integral** is isothermal and requires at least three isothermal experiments with conversion data and a finite temperature setpoint in metadata; the other listed methods are non-isothermal and require measured temperature columns and heating-rate metadata. Isothermal experiments are rejected by those non-isothermal methods. Choose the full series or a subset; the result is added as a separate experiment with the requested output ID.
The analysis window contains:
- Method selection (Method) – dropdown list of available methods.
- Checkbox "Use selected only" – if checked, you can pick specific experiments from a list.
- Field "Output ID" – name under which the result will be saved in the experiment list.
- Button "Calculate" – start calculation.
- Field "Status" – shows progress or errors.
# Kissinger
Determines activation energy from DTG peak temperatures. Uses the dependence of peak temperature on heating rate. Results are displayed in the window (Ea, R²).
This is a non-isothermal method for a series with different heating rates. It reports activation energy and fit quality; it does not add a result column or calculate the pre-exponential factor.
# Combined Kinetics Analysis
Non-isothermal combined analysis. Jointly searches model parameters n and m and activation energy by minimizing residuals across the eligible experiments. `n_min/max` and `m_min/max` bound the search; `n_steps` and `m_steps` set its coarse grid resolution. `Conversion η min/max` restricts the conversion interval included in the fit and must be given as fractions from 0 to 1. Here η means conversion; it is not relative mass α. `refinement_steps` controls the local refinement around the best coarse-grid candidate. Calculate updates result fields only and does not add a column or experiment.
The window contains:
- Search parameters: n_min, n_max, n_steps; m_min, m_max, m_steps; Conversion η min/max; refinement_steps.
- Result display fields: n, m, Ea (kJ/mol), R².
- Button "Calculate" – start analysis.
- Field "System messages" – status.
# Criado Master Curve
Unavailable pending scientific validation. It cannot currently be run from this menu.
# Fit Model
Fits one Y column against one X column in one selected experiment. The experiment and columns named in the form are the fit inputs; selecting a curve in the plot does not substitute for checking those fields. A fit session is associated with its experiment and X column.
## Fit workflow
1. Choose the experiment, X, Y, model, and solver. A custom formula must use the parameter names listed in the form. Check the model equation and parameter estimates after fitting.
2. **Limit fit range** restricts the measured points used to estimate parameters to the entered X interval. It does not set the later evaluation interval.
3. **Exclude missing interval from fit** excludes measured points inside the entered gap from parameter estimation. When the interval is truly absent from the data, there are no rows or nulls to remove; the option still defines the interval that can later be evaluated as a gap. If both range controls are enabled, fitting uses points inside the fit range and outside the excluded interval.
4. Click **Fit**. This adds a new fitted-Y column to the same experiment and plots it. Measured columns are not overwritten. The fitted model and its result remain available for Evaluate.
5. **Evaluate fitted columns** applies stored fits for the currently selected experiment and X column to a shared new X grid. With the gap option enabled, it evaluates the excluded interval; otherwise the entered start/end bounds define extrapolation. The point count controls the generated grid. Evaluation creates a preview, not rows in the source experiment.
6. Review the source ID, X column, mode, R2, coefficients, and sample values in Column Manager. **Add reconstructed experiment** commits a separate experiment containing the generated X grid and fitted output columns; it does not merge rows into or change the source. Choose a unique experiment ID. **Discard preview** removes only the evaluated batch; it keeps the fitted sessions.
After a successful fit, use **Save fit** to archive its coefficients, units, model, fit range, quality, and experiment conditions in the current series document. This is separate from **Save** to disk. Refit results remain in memory until explicitly accepted.
## Coefficients Handling
Open **Kinetic Methods → Coefficients Handling** to inspect accepted parameter results. The catalogue combines coefficients from **Fit Model**, **Combined Kinetics Analysis**, **Kissinger**, and **Sublimation**. Expand a result to review its method and model, conditions, interval, formula, solver, settings, diagnostics, and every named coefficient with its unit. Values are stored with typed roles: unknown and custom parameters are not automatically treated as rate constants. One experiment may retain several independent results, for example fits from different models or intervals.
The lower **Arrhenius analysis** table is a separate optional calculation. It lists only coefficients explicitly typed as rate constants, with a known absolute temperature and a supported time unit. Select the same coefficient and stage from different experiments; alternative fits from one experiment are not independent Arrhenius points. A typical workflow is to fit isothermal experiments at different temperatures, archive their `k` values, and select the desired set. Values in `min^-1` and `h^-1` are normalized to `s^-1`; both the source and normalized rates are shown. Linear slopes, `Ea`, `k0`, and custom parameters are not included unless their recorded role is a rate constant.
**Calculate Arrhenius fit** plots `k(T)` and reports `Ea`, `A`, and `R2` from the regression of `ln(k)` versus `1/T`. Review the selected results, temperatures, and units. **Save Arrhenius result** archives the calculation and its parent results in the current typed document; it does not change measured columns or experiment count. **Save** writes the complete document, and **Open Document** restores the catalogue and source links.
The archive list has an adjustable height and filters for experiment, method/model, and coefficient name. Expand a record for details; Combined entries show their input columns, while Kissinger entries show the heating rates and peak temperatures used. A row that cannot be used for Arrhenius analysis explains why. **Show archived Arrhenius plot** reopens a saved regression as either `k(T)` or `ln(k)` versus `1/T`; source labels come from the historical names stored with the result. The plot summary includes physical stage, point count, temperature range, and `R2` status. This view does not create a synthetic experiment.
R2 describes fit agreement on the data used by the fitting routine; it is not proof that a model is physically correct or that extrapolated values are trustworthy. Inspect the residual behavior and whether the selected interval is supported by the experiment before accepting a reconstruction.
# Is this a sublimation?
Diagnoses one selected experiment (not a series) against a sublimation model. The analysis uses the selected conversion interval when available, otherwise the full curve; optional X bounds can be entered explicitly. **Calculate** fits the model and keeps the coefficient result and fitted-rate values pending; measured columns are not changed. **Save sublimation result** accepts the coefficients into the catalogue. To add the fitted rate to the experiment, choose an output column name and press **Publish fitted rate column**. An existing name is never overwritten; on conflict, the fit remains available so you can choose another name and retry.
The window contains:
- Result display fields: Mean Ea (kJ/mol), Mean k, Verdict.
- Button "Calculate" – start analysis.
- Field "System messages" – status.
# Golden Pipeline
Applies the configured preprocessing sequence to the experiment identified by the selected plot. The pipeline works on a candidate copy and publishes the result only after every step succeeds; a failed step does not leave a partial output. By default it creates `proceeded_<source-id>` and keeps the source. This new experiment contains the columns created by the pipeline, not a full copy of every input column; inspect it in Column Manager before treating it as a standalone replacement dataset. **Delete old experiment** is off by default and is meaningful only when saving to a new experiment; enable it only when you intentionally want to remove the source after success.
## Processing sequence and settings
1. Check and, if needed, sort rows by the bound time column.
2. Convert the voltage signal to mass using the calibration line (`k`, `b`), then apply optional time cuts. Cut bounds use the input time units.
3. Convert time from seconds to hours and shift the first time to zero.
4. Apply Savitzky-Golay to mass. `Window size` and `Polynomial degree` control smoothing; `Derivative order` is normally zero for smoothing. `Delta` is the sample step expected by the numerical filter, not a time-bound field.
5. Calculate dimensionless mass and conversion using the initial averaging interval. **Averaging time is in seconds**, even though time has already been converted to hours internally.
6. Resample the processed mass, dimensionless mass, conversion, and (if measured) temperature on a common LSQ-spline time grid. `Number of points` sets the output grid size; internal knots and degree control the spline fit. Edge rows without a complete resampled result are trimmed before rates are calculated.
7. For non-isothermal data, calculate temperature rate; calculate conversion and dimensionless-mass rates for both regimes.
An explicitly isothermal experiment can use its metadata setpoint without a measured temperature column; no temperature-rate column is generated in this case. Non-isothermal processing requires a bound measured temperature column. The SG quality report compares filtered mass with its input: roughness ratios below 1 indicate smoother differences, while RMSE and correlation describe change relative to the input. These values do not measure error against an unknown true signal, and they do not report the quality of every pipeline stage. Use individual Math operations when you need to inspect or keep each intermediate result separately.
## Direct Problem
The "Direct Problem" menu solves direct kinetic problems: simulating curves from given parameters.
# Simple One-Step Kinetics
Solves a single-step kinetic IVP for one selected set of parameters and adds the calculated experiment to the current series.
# Complex Direct Problem
Solves a reaction-network IVP for a comma-separated series of temperatures or heating rates. Each run is added as a separate experiment and can be shown in the live plot window. A shared time interval is used for all runs.
## Test Options
The "Test Options" menu is intended for testing and debugging the program.
# Load testing data
After confirmation, replaces the current workspace with the bundled demonstration experiment and clears the current Save target.
# Create synthetic data
Generates synthetic TGA datasets for the selected thermal regime and model, with configurable sampling and supported noise options. Use it to exercise GUI workflows and compare processing results; it changes the current workspace by adding generated experiments.
# Show and redact settings
Opens the program settings window: calibration line (coefficients k, b), number of plot points, logging level. Changes are saved to tgasettings.json.
# Show Logs
Displays the program event log (logs) for diagnostics.
# Help
Shows this reference guide.
## Quick Action Panel
The Quick Action Panel contains buttons for frequently used operations on selected data.
# Add Plot
Opens the plot configuration dialog. Use the separate Show and Delete controls to hide or remove a curve; hiding preserves the curve configuration and data.
# Column Manager
Opens the data workspace for inspecting one experiment at a time. The experiment selector sets the target for table actions; clicking a column heading selects it for the inspector, while the separate checkbox selects it for bulk deletion. Compare mode is read-only and requires selected experiments to have the same complete, strictly increasing bound-time grid and time unit. It does not interpolate or resample.
## Inspecting data
- **Samples** shows a page of table values. Paging changes only the displayed rows. Search moves to a matching value and does not modify data.
- **Overview** shows column units and active schema bindings. **Processing** shows source columns and transformation provenance. **Quality** shows computed signal-change metrics where available; those metrics compare columns and are not proof of accuracy relative to unknown truth. **History** lists recorded data operations. **Compare** compares selected columns in one experiment on shared valid source rows.
- Use the provenance and quality details to verify which source columns and transformations produced a result before using it in a later calculation.
## Editing and deletion
- **Create formula column** adds a new numeric column; it leaves source columns and active bindings unchanged.
- A cell replacement changes one value after confirmation. **Delete source row** removes that row from every column in the experiment, not just the column used to find it. These data changes can be undone from the action bar.
- **Delete columns** removes only the checked columns after showing their schema, plot, active-source, and provenance references. Referencing plots and bindings are cleared; derived descendants are not deleted automatically.
- **Delete experiment** removes the selected experiment and its plots after confirmation. **Delete All** clears the entire workspace after a separate confirmation.
- Metadata editing changes experiment metadata, not the measurement columns. Time check is diagnostic; **Sort by time** reorders complete rows and does not change values within a row.
## Reconstruction and comparison
An evaluated Fit Model batch appears above the table as a preview. Review its source experiment, X grid, fitted columns, R2, coefficients, and sample values. Adding it creates a separate experiment; it does not fill rows in the source dataset. Discarding the preview does not discard the fitted model sessions.
Compare several experiments only when their bound-time grids and time units match exactly. If they do not, the comparison is unavailable rather than silently aligning data. Use explicit resampling tools to create comparable grids; do not interpret side-by-side rows as time-aligned unless the displayed grid confirms it.
# Formula Column
In Column Manager, create a numeric output column by entering a formula and binding each variable to a source column in one experiment. The output name is required. The operation adds a new column, requires aligned finite inputs and finite results, and does not change source values or active bindings.
# Golden Pipeline
Quick access to the golden pipeline.
# Clear Selected
Clears the selection on the plot.
# Reset View
Restores the original plot bounds.
# Refresh
Forces a plot redraw.
# Cut before time
Removes data before the specified time (in the "Input value" field).
# Cut selected
Trims data according to the selected range along the X or Y axis (first select X/Y with the button).
# Zoom To Selection
Zooms the plot to the selected region.
# Move time to zero
Subtracts the minimum time from the time column so that time starts at zero.
# Delete Plot
Deletes the selected curve from the plot.
# Calculate relative mass
Calculates dimensionless mass relative to the mean mass up to the nonzero baseline time entered in "Input value". The operation creates a result column and keeps the source mass.
# Calculate conversion
Computes dimensionless conversion from the selected mass source using the mean mass up to the positive baseline time entered in "Input value". The output-name field controls whether the result is added as a new column or replaces a named source column.
# From mV to mg
Calibrates mass from voltage (mV) using calibration coefficients. Creates a new column with mass in mg.
# From s to h
Converts time from seconds to hours.
# From C° to K
Converts temperature from degrees Celsius to Kelvin.
# Average on column
Computes the average value of the selected column over the whole range or over the selected interval.
# Conversion rate
Computes the derivative of conversion degree with respect to time (dα/dt).
# Dimensionless mass rate
Computes the derivative of relative mass with respect to time.
# Mass rate
Computes the derivative of mass with respect to time (dm/dt).
# T rate
Computes the derivative of temperature with respect to time (dT/dt).
# Arithmetic operations
Buttons "Add", "Sub", "Mul", "Divide", "ln", "exp" apply the corresponding mathematical operation to the selected column using the value from the "Input value" field. First you need to select a column (X or Y) and optionally check "apply only to the selected chart".
## Typical Workflows
### One experiment
#### Import and inspect
1. Open **File Manager > Import Data** for a raw TXT/CSV file with a header row, or use **New Experiment** when you also want to enter experiment metadata. Select the file and bind the time column (`t`), mass/signal column (`m`), and temperature column (`T`) when present. Check the displayed units before importing.
2. For an isothermal experiment without a measured temperature column, enter its known temperature in the isothermal metadata. A temperature column is not required. If the instrument recorded a nearly constant temperature, bind that column instead; you can calculate its average later.
3. Click **Import experiment**. The standard `m vs t` and, when temperature is bound, `T vs t` plots are created. Inspect the curves before transforming data.
#### Clean and prepare
1. Remove startup or shutdown portions that are not part of the experiment. Select the unwanted plot interval and use **Cut selected**, or use **Cut before time** for a known boundary. These operations remove rows from the experiment; they do not fill missing measurements.
2. Use **Move time to zero** when the experiment should start at `t = 0`. Check the plot again after each row or time transformation.
3. If the instrument column is voltage, select that signal and use **From mV to mg**. The calibration coefficients must already be configured. This creates a calibrated mass column; retain the voltage column when you want to compare the original signal with the calibration result.
4. Calculate conversion from the mass column you intend to analyze. Choose a nonzero baseline interval in the `Input value` field: the mean mass up to that time is used as the initial mass. A value of `0` is rejected because it would select only the first sample. Relative mass and conversion are dimensionless quantities; they have opposite direction conventions.
5. Apply filters and smoothers to the intended source column. Savitzky-Golay (SG) is useful for local polynomial smoothing; LSQ spline resampling is useful when a smooth curve on a chosen time grid is needed. Prefer a separate output column so the source remains available for comparison. For SG and rolling-window methods, inspect the time span covered by the chosen point window; for splines, inspect knot spacing and the resampled time range.
6. Open **Column Manager** and inspect the sample values, units, active bindings, transformation provenance, and quality comparison. Confirm that the new column contains numeric values and that the smoothing did not erase meaningful trend or distort the result.
7. Save the prepared experiment as the typed CSV format. It preserves column metadata and bindings, unlike a raw text export. Reopen the saved file when you need to verify the round trip.
#### Isothermal versus non-isothermal
- **Isothermal:** set the known temperature in experiment metadata if no temperature trace exists. If a temperature trace was measured, bind it and optionally use **Average on column** over the selected whole range to inspect or record its representative value. Use isothermal kinetic methods; do not infer a heating rate from a constant-temperature experiment.
- **Non-isothermal:** bind the measured temperature trace and record the heating rate in K/min. Convert Celsius to Kelvin when necessary before kinetic calculations. Inspect `T vs t` and its units; non-isothermal kinetic methods require a valid temperature history, not only a metadata setpoint.
### Series of experiments
1. Import each run as a separate experiment with a unique ID that identifies its condition, for example `iso_500K` or `ramp_2Kmin`. Bind each file's columns and record its isothermal temperature or heating rate. Do not concatenate distinct runs into one experiment merely to make them look like a series.
2. Process runs one at a time: trim invalid beginning/end regions, shift time if appropriate, calibrate voltage to mass if required, calculate relative mass/conversion, then apply the chosen smoothing or resampling. Keep the same physical meaning, units, and transformation choices across runs when comparing them.
3. In **Column Manager**, inspect each experiment's bindings, samples, and provenance. Use the compare-samples view to compare selected columns across runs; different adaptive/resampled grids do not need to be forced to equal lengths for plotting.
4. Save the typed experiment series after processing. Before running a series kinetic method, verify that every experiment has the required inputs: isothermal temperature metadata for isothermal methods, or bound temperature data and heating-rate metadata for non-isothermal methods.
#### Isothermal and non-isothermal series
- **Isothermal series:** create one experiment per temperature, with the temperature stored in metadata (a `T` column is optional). Apply mass calibration, conversion, and smoothing independently to each run. Confirm IDs and temperatures, then run an isothermal series method.
- **Non-isothermal series:** create one experiment per heating rate, bind its temperature trace, and store the heating rate in K/min. Apply the same preprocessing sequence to each run, checking the valid conversion range and temperature units. Then run a non-isothermal series method.
- Keep the two regimes separate. A missing `T` trace is valid for an explicitly isothermal run, but it is not a substitute for a temperature program in a non-isothermal run.