nvector.tests package

Submodules

nvector.tests.test_frames module

Created on 18. des. 2015

@author: pab

class nvector.tests.test_frames.TestExamples(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_alternative_great_circle_distance()[source][source]
static test_exact_ellipsoidal_distance()[source][source]
test_intersection_of_parallell_paths()[source][source]
class nvector.tests.test_frames.TestFrames(methodName='runTest')[source][source]

Bases: unittest.case.TestCase

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

nvector.tests.test_geodesic module

class nvector.tests.test_geodesic.GeodSolveTest(methodName='runTest')[source][source]

Bases: unittest.case.TestCase

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

Bases: unittest.case.TestCase

test_direct()[source][source]
test_inverse()[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)

here to make the code more readable for those unfamiliar with Matlab. In Matlab one would normally write x’*y (i.e. x transposed times y)

class nvector.tests.test_nvector.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_R2zxy()[source][source]
static test_n_E_and_wa2R_EL()[source][source]

Module contents