attitude.orientation.linear package

Submodules

attitude.orientation.linear.regression module

class attitude.orientation.linear.regression.Regression(coordinates)[source]

Bases: object

coefficients
covariance_matrix
predictions
residuals
standard_errors()[source]

Gets the standard errors of the coefficients

attitude.orientation.linear.regression.add_ones(a)[source]

Adds a column of 1s at the end of the array

attitude.orientation.linear.regression.matrix_squared(array)[source]

Returns a pseudo-squared matrix by solving X^T.X

attitude.orientation.linear.tests module

attitude.orientation.linear.tests.test_coordinates()[source]

Tests coordinate length

attitude.orientation.linear.tests.test_covariance()[source]

Make sure we don’t get empty covariance matrices

attitude.orientation.linear.tests.test_regression()[source]

Make sure we can fit a simple plane

Module contents

class attitude.orientation.linear.LinearOrientation(coordinates)[source]

Bases: attitude.orientation.base.BaseOrientation

strike_dip(uncertainties=False)[source]
attitude.orientation.linear.axes(matrix)[source]

Computes the ellipse axes lengths for a covariance matrix