Skip to content

AlignmentResult

module trajectopy.core.alignment.result

Trajectopy - Trajectory Evaluation in Python

Gereon Tombrink, 2025 tombrink@igg.uni-bonn.de


class AlignmentResult

Class to store the result of an alignment.

Attributes:

  • name (str): Name of the result.
  • position_parameters (AlignmentParameters): Estimated position alignment parameters.
  • rotation_parameters (SensorRotationParameters): Estimated rotation alignment parameters.
  • estimation_of (AlignmentEstimationSettings): Settings defining which parameters were estimated.
  • converged (bool): Whether the estimation converged.

method AlignmentResult.__init__

__init__(
    name: str = 'Alignment Result',
    position_parameters: trajectopy.core.alignment.parameters.AlignmentParameters = <factory>,
    rotation_parameters: trajectopy.core.alignment.parameters.SensorRotationParameters = <factory>,
    estimation_of: trajectopy.settings.AlignmentEstimationSettings = <factory>,
    converged: bool = True
)  None

classmethod AlignmentResult.from_file

from_file(filename: str)  AlignmentResult

Load the result from a file.

Args:

  • filename (str): Path to the file.

Returns:

  • AlignmentResult: The loaded result.

method AlignmentResult.to_file

to_file(filename: str)  None

Save the result to a file.

Args:

  • filename (str): Path to the file.