Tolerances

class sonic.Tolerances
Property Summary
CompZero

CompZero (Math.m) Used for testing if a given component (real or imaginary) of a complex number is zero.

CondTol

CondTol (Conic.m and Quadric.m) used to check if the conic/quadric locus is degenerate

ConicCircle

ConicCircle (Conic.m) Used as a threshold for checking if a given conic is a circle.

ConicDisc

ConicDisc (Conic.m) Used as a threshold for various checks involving the discriminant of a conic.

ConicLocusDetOne

ConicLocusDetOne (Conic.m, Math.m) Used as a threshold for checking if the locus of a conic has a determinant of one.

CosArgCheck

CosArgCheck (Reflectance.m) Used for testing if the input to acos() is is +1 or -1

DCMDetOne

DCMDetOne (Attitude.m) Used as a threshold to check if the determinant of a potential DCM is one.

DCMOrthogCheck

DCMOrthogCheck (Attitude.m) Used as a threshold to check if a potential DCM is orthogonal via comparing the trace of (T*T’ - I) to zero.

HomNorm

HomNorm (Points2.m, Points3.m) In both cases, used for testing if the norm of the homogenous coordinate of a point is “zero”.

InfPlaneDistRatio

InfPlaneDistRatio (Plane3.m) Used for testing the ratio between the normal vector of a plane and the distance. If sufficiently small, then the plane is at infinity.

IsOnConic

IsOnConic (GeometryP2.m) Used for testing if a point lies on the conic

LineNorm

LineNorm (Lines2.m) Used for testing if the norm of the first two homogenous coordinates of a line are “zero”.

MatrixDetOne

MatrixDetOne (Conic.m) Used as a threshold for checking if the matrix has a determinant of one.

MaxIters

MaxIters (BrownConrady.m) used to cap the amount of iteration when undistorting points

PGRelation

PGRelation (Lines3.m) Used for testing if the Plucker-Grassman relation is satisfied for a given line.

PhaseAng

PhaseAng (Reflectance.m) Used for testing if the spherical triangle inequality is satisfied

QuatNormOne

QuatNormOne (Attitude.m) Used as a threshold for checking if the norm of a potential quaternion is one.

RelaxedCompZero

RelaxedCompZero (TestQuadric.m) Used as a threshold for checking if two outputs are the same in case of expected numerical issues

RepeatedPointTol

RepeatedPointTol (Conic.m) Used for testing if two points are the same point

SlopeAdjust

SlopeAdjust (Kvector.m) adjustment of the kvector slope due to floating point precision

SmallAngle

SmallAngle (Attitude.m, ScanLines.m) Used for determining if an angle is sufficiently small to be treated as a small angle, and approximated accordingly.

SmallNumber

SmallNumber (GeometryP2.m and Conic.m) Used for testing if division by zero occurs

SphereTol

SphereTol (Quadric.m) used to check if the ellipsoid is a sphere

UndistortTolBC

undistortTolBC (BrownConrady.m) used to test convergence when undistorting points

UnitVecNorm1

UnitVecNorm1 (PointsS2.m) Used for testing if unit vectors have magnitude 1.

bilinInterpThresh

bilinInterpThresh (Image.m) used in bilinear interpolation to see if interploation is linear

psiConicTol

psiConicTol (Conic.m) Used for testing how close psi is to zero.