loader¶
-
pyrost.loader(protocol=None, load_paths=None, policy=None)¶ Return the default CXI loader.
- Parameters
float_precision ({'float32', 'float64'}, optional) – Floating point precision.
load_paths (dict, optional) – Extra paths to the data attributes in a CXI file, which override the
cxi_protocol(). Accepts only the attributes enlisted incxi_protocol().policy (dict, optional) – A dictionary with loading policy. Contains all the attributes that are available in
cxi_protocol()and the corresponding flags. If a flag is True, the attribute will be loaded from a file. By default only the attributes necessary for aSTDatacontainer will be loaded.
- Returns
Default CXI loader.
- Return type
See also
cxi_protocolDefault CXI protocol.
STLoaderFull loader class description.
STDataData container with all the data necessary for Speckle Tracking.