nvector.tests.test_nvector module
This file contains solutions to the examples given at
www.navlab.net/nvector
The content of this file is based on the following publication:
Gade, K. (2010). A Nonsingular Horizontal Position Representation, The Journal
of Navigation, Volume 63, Issue 03, pp 395-417, July 2010.
(www.navlab.net/Publications/A_Nonsingular_Horizontal_Position_Representation.pdf)
Copyright (c) 2015, Norwegian Defence Research Establishment (FFI)
All rights reserved.
Originated: 2015.03.26 Kenneth Gade, FFI
NOTES:
- All angles are by default assumed to be in radians, if an angle is
in degrees, the variable name has the following ending: _deg
- The dot product (inner product) of vectors x and y is written dot(x,y).
-
class
TestNvector
(methodName='runTest')[source][source]
Bases: unittest.case.TestCase
-
static
test_Ex10_cross_track_distance
()[source][source]
-
static
test_Ex1_A_and_B_to_delta_in_frame_N
()[source][source]
-
static
test_Ex2_B_and_delta_in_frame_B_to_C_in_frame_E
()[source][source]
-
static
test_Ex3_ECEF_vector_to_geodetic_latitude
()[source][source]
-
static
test_Ex4_geodetic_latitude_to_ECEF_vector
()[source][source]
-
static
test_Ex5_great_circle_distance
()[source][source]
-
static
test_Ex6_interpolated_position
()[source][source]
-
static
test_Ex7_mean_position
()[source][source]
-
static
test_Ex8_position_A_and_azimuth_and_distance_to_B
()[source][source]
-
static
test_Ex9_intersect
()[source][source]
-
static
test_R2xyz
()[source][source]
-
static
test_R2xyz_with_vectors
()[source][source]
-
static
test_R2zxy
()[source][source]
-
static
test_R2zxy_0
()[source][source]
-
static
test_R2zxy_x90
()[source][source]
-
static
test_R2zxy_y90
()[source][source]
-
static
test_R2zxy_z90
()[source][source]
-
static
test_n_EA_E_and_n_EB_E2azimuth
()[source][source]
-
static
test_n_E_and_wa2R_EL
()[source][source]
-
test_small_and_large_cross_track_distance
(self)[source][source]