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 in cxi_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 a STData container will be loaded.

Returns

Default CXI loader.

Return type

STLoader

See also

cxi_protocol

Default CXI protocol.

STLoader

Full loader class description.

STData

Data container with all the data necessary for Speckle Tracking.