Load data
load_dataLoads script files and runs them, or imports data files, NK, and raw arrays into the workspace for analysis.
Instructions
Load a script file, data files, or import NK / raw arrays into the workspace.
kind="script": SimWorks load('file_path') — loads and runs a script (e.g. .msf). Prefer an absolute path.
To open a project (.sim / .mpps etc.), use project_action(action="open").
Other kinds load data into the workspace (mdf/mat/h5/…), not scripts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | Optional readascii x. | |
| x0 | No | ||
| y0 | No | ||
| z0 | No | ||
| var | No | Optional workspace variable target. | |
| kind | Yes | script: load() a .msf (or other) script file and run it. Other kinds load data / NK / raw reads into the workspace. | |
| size | No | Optional readm size. | |
| swapb | No | ||
| x_vec | No | X vector for nk_array. | |
| y_vec | No | Y vector for nk_array. | |
| z_vec | No | Z vector for nk_array. | |
| nitems | No | fread item count. | |
| n_array | No | NK array for nk_array. | |
| file_path | No | File path. Prefer absolute paths (required for most kinds). | |
| type_name | No | fread type. | |
| file_units | No | NK file units. | m |
| reverse_index | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |