result.from_core¶
The ScanResult of the result scanresult/1 of the planner of sbmlsim-core.
The planner of a scan of sbmlsim-core (sbmlsim_core.scan) answers with the
arrays of the result as columns: the sizes, the coordinates and the variables
in the order of the dataset, the units, the times of the changes, the failed
points and the block of a run of points, see the page Scans of the
documentation of sbmlsim-core. scan_result builds the ScanResult of them
with the names, coordinates and attributes Simulator.run gives every engine:
the arrays are taken as the bindings give them, numpy arrays of float64 in
the shape of their variable; the provenance (scan, engine,
integrator_settings, observables) comes from the run.
scan_result
¶
Build the result of a scan from the answer of the planner.
A run of on_error: flag logs a warning naming how many points failed and
the first of them, as every engine does.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
answer
|
Mapping[str, Any]
|
the result |
required |
scan
|
Scan
|
the scan of the run, its record is the attribute |
required |
observables
|
Sequence[Observable]
|
the observables of the run, their definitions are the
attribute |
required |
integrator_settings
|
Mapping[str, Any]
|
the record of the integrator settings of the
run, the attribute |
required |
engine
|
str
|
the engine of the run, the attribute |
'core'
|
Returns:
| Type | Description |
|---|---|
ScanResult
|
The result. |