attitude.error package¶
Submodules¶
attitude.error.axes module¶
Functions for converting fit parameters into covariance and hyperbolic axes. These all operate in axis-aligned space—rotation into global coordinate systems should occur after these transformations are applied.
-
attitude.error.axes.
angular_errors
(hyp_axes)[source]¶ Minimum and maximum angular errors corresponding to 1st and 2nd axes of PCA distribution.
Ordered as [minimum, maximum] angular error.
-
attitude.error.axes.
apply_error_scaling_old
(nominal, errors, **kw)[source]¶ This method does not account for errors on the in-plane axes
-
attitude.error.axes.
axis_angular_error
(hyp_axes, axis_length)[source]¶ The angular error for an in-plane axis of given length (either a PCA major axis or an intermediate direction).
-
attitude.error.axes.
mean_estimator
(data_variance, n)[source]¶ Get the variance of the mean from a data variance term (e.g. an eigenvalue) and return an estimator of the precision of the mean
-
attitude.error.axes.
noise_covariance
(fit, dof=2, **kw)[source]¶ Covariance taking into account the ‘noise covariance’ of the data. This is technically more realistic for continuously sampled data. From Faber, 1993
-
attitude.error.axes.
sampling_axes
(fit, **kw)[source]¶ Hyperbolic axis lengths based on sample-size normal statistics
-
attitude.error.axes.
statistical_axes
(fit, **kw)[source]¶ Hyperbolic error using a statistical process (either sampling or noise errors)
Integrates covariance with error level and degrees of freedom for plotting confidence intervals.
Degrees of freedom is set to 2, which is the relevant number of independent dimensions to planar fitting of a priori centered data.
attitude.error.bootstrap module¶
attitude.error.ellipse module¶
Module contents¶
-
attitude.error.
average_orientation
(orientations)[source]¶ Find the average orientation of a set of fitted or reconstructed orientations, taking into account uncertainty.
-
attitude.error.
from_normal_errors
(ax1)[source]¶ Hyperbolic error axis lengths for planes from the equivalent representation for normal vector endpoints