read
Engine.read_rotation_key(file_path)- Creates a rotation key by reading data from a file.
- Input:
- file_path:
str | pathlib.Path- Can be an absolute or relative path.
- file_path:
- Output:
RotationKey
Warning
- The matrix form does not support this operation.
Examples
Using an absolute path
from desilofhe import Engine
engine = Engine()
rotation_key = engine.read_rotation_key("/opt/desilo/rotation_key")
Using a relative path