arim.io.native#
Load .arim file format
An .arim file is a directory which contains:
a conf.yaml file (base configuration file)
a conf.d directory which contains additional configuration files (optional)
intermediary and final results (optional).
The recommended way to load the configuration is to use load_conf()
.
The configuration is loaded according to the following pseudo-code:
conf := read(conf.yaml)
For each file in conf.d:
tmp_conf := read(file)
conf := merge(conf, tmp_conf)
Return conf
The files are conf.d are read in alphabetical order. If a configuration entry is present in two files, only the entry from the file read the latest will be kept.
conf.yaml format#
The ultrasonic data is provided using either:
frame.datafile
: path to the data file, either absolute or relative toconf.yaml
,frame.dataset_name
andframe.dataset_item
: a dataset name (arim.datasets
) and the path of the item to fetch
Load block in immersion (examination object) |
|
Load examination object |
|
|
Load a Frame. |
|
Load grid |
|
Load the configuration from a .arim directory |
|
Load a single configuration file |
|
Load a single configuration file from a stream or string formatted in YAML. |
|
Load material attenuation |
|
Load material |
|
Load probe |