origin_run_analysis
Run statistical or mathematical analyses on Origin data and retrieve structured metrics or output rows from supported operations.
Instructions
Run a supported Origin analysis and return structured metrics or output rows.
Use include_output=True with output_sheet for analyses that create a
worksheet. The analysis schema lists canonical names; aliases remain
accepted for backward compatibility.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x_col | No | Optional X column. | |
| y_col | No | Optional Y column. | |
| options | No | Analysis-specific options. Examples: polynomial_fit uses order; smooth uses method and points; peak_find uses direction, threshold, and smooth_points; t-tests use tail and alpha; fft/ifft use window and sampling_interval. Set recalculate to none/0, auto/1, or manual/2 to create a recalculating Origin operation. | |
| analysis | Yes | Canonical analysis name. Supported values are listed in the schema; common choices include linear_fit, polynomial_fit, smooth, peak_find, fft, and correlation. | |
| worksheet | No | Worksheet range or book/sheet reference. | |
| output_sheet | No | Optional output sheet/name hint. | |
| include_output | No | Read output worksheet rows back into the response when possible. | |
| output_max_rows | No | Maximum rows to read from an output worksheet. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||