nvector.tests package

Submodules

nvector.tests.test_frames module

Created on 18. des. 2015

@author: pab

class TestExamples(methodName='runTest')[source][source]

Bases: unittest.case.TestCase

test_Ex10_cross_track_distance(self)[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_alternative_great_circle_distance()[source][source]
static test_compute_delta_L_in_moving_frame_east()[source][source]
static test_compute_delta_L_in_moving_frame_north()[source][source]
static test_compute_delta_N_in_moving_frame_east()[source][source]
static test_exact_ellipsoidal_distance()[source][source]
test_intersect_on_parallell_paths(self)[source][source]
class TestFrames(methodName='runTest')[source][source]

Bases: unittest.case.TestCase

test_compare_B_frames(self)[source][source]
test_compare_E_frames(self)[source][source]
test_compare_L_frames(self)[source][source]
test_compare_N_frames(self)[source][source]

nvector.tests.test_geodesic module

class GeodSolveTest(methodName='runTest')[source][source]

Bases: unittest.case.TestCase

test_GeodSolve0(self)[source][source]
test_GeodSolve1(self)[source][source]
test_GeodSolve10(self)[source][source]
test_GeodSolve11(self)[source][source]
test_GeodSolve12(self)[source][source]
test_GeodSolve14(self)[source][source]
test_GeodSolve17(self)[source][source]
test_GeodSolve2(self)[source][source]
test_GeodSolve29(self)[source][source]
test_GeodSolve33(self)[source][source]
test_GeodSolve4(self)[source][source]
test_GeodSolve5(self)[source][source]
test_GeodSolve55(self)[source][source]
test_GeodSolve6(self)[source][source]
test_GeodSolve9(self)[source][source]
class GeodesicTest(methodName='runTest')[source][source]

Bases: unittest.case.TestCase

test_direct(self)[source][source]
test_inverse(self)[source][source]

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]

Module contents