spatial.tests.test_kdtree

Module Contents

Functions

distance_box(a,b,p,boxsize)
test_random_ball_vectorized()
test_random_ball_vectorized_compiled()
test_query_ball_point_multithreading()
test_distance_l2()
test_distance_l1()
test_distance_linf()
test_distance_vectorization()
test_distance_matrix()
test_distance_matrix_looping()
check_onetree_query(T,d)
test_onetree_query()
test_onetree_query_compiled()
test_query_pairs_single_node()
test_query_pairs_single_node_compiled()
test_ckdtree_query_pairs()
test_ball_point_ints()
test_kdtree_comparisons()
test_ckdtree_build_modes()
test_ckdtree_pickle()
test_ckdtree_pickle_boxsize()
test_ckdtree_copy_data()
test_ckdtree_parallel()
test_ckdtree_view()
test_ckdtree_list_k()
test_ckdtree_box()
test_ckdtree_box_0boxsize()
test_ckdtree_box_upper_bounds()
test_ckdtree_box_lower_bounds()
simulate_periodic_box(kdtree,data,k,boxsize,p)
test_ckdtree_memuse()
test_ckdtree_weights()
test_ckdtree_count_neighbous_multiple_r()
test_len0_arrays()
test_ckdtree_duplicated_inputs()
test_ckdtree_noncumulative_nondecreasing()
test_short_knn()
distance_box(a, b, p, boxsize)
class ConsistencyTests
distance(a, b, p)
test_nearest()
test_m_nearest()
test_points_near()
test_points_near_l1()
test_points_near_linf()
test_approx()
class test_random
setup_method()
class test_random_far
setup_method()
class test_small
setup_method()
test_nearest()
test_nearest_two()
class test_small_nonleaf
setup_method()
class test_small_compiled
setup_method()
class test_small_nonleaf_compiled
setup_method()
class test_random_compiled
setup_method()
class test_random_far_compiled
setup_method()
class test_vectorization
setup_method()
test_single_query()
test_vectorized_query()
test_single_query_multiple_neighbors()
test_vectorized_query_multiple_neighbors()
test_single_query_all_neighbors()
test_vectorized_query_all_neighbors()
class test_vectorization_compiled
setup_method()
test_single_query()
test_vectorized_query()
test_vectorized_query_noncontiguous_values()
test_single_query_multiple_neighbors()
test_vectorized_query_multiple_neighbors()
class ball_consistency
distance(a, b, p)
test_in_ball()
test_found_all()
class test_random_ball
setup_method()
class test_random_ball_compiled
setup_method()
class test_random_ball_compiled_periodic
distance(a, b, p)
setup_method()
test_in_ball_outside()
test_found_all_outside()
class test_random_ball_approx
setup_method()
class test_random_ball_approx_compiled
setup_method()
class test_random_ball_approx_compiled_periodic
setup_method()
class test_random_ball_far
setup_method()
class test_random_ball_far_compiled
setup_method()
class test_random_ball_far_compiled_periodic
setup_method()
class test_random_ball_l1
setup_method()
class test_random_ball_l1_compiled
setup_method()
class test_random_ball_l1_compiled_periodic
setup_method()
class test_random_ball_linf
setup_method()
class test_random_ball_linf_compiled_periodic
setup_method()
test_random_ball_vectorized()
test_random_ball_vectorized_compiled()
test_query_ball_point_multithreading()
class two_trees_consistency
distance(a, b, p)
test_all_in_ball()
test_found_all()
class test_two_random_trees
setup_method()
class test_two_random_trees_compiled
setup_method()
class test_two_random_trees_compiled_periodic
distance(a, b, p)
setup_method()
class test_two_random_trees_far
setup_method()
class test_two_random_trees_far_compiled
setup_method()
class test_two_random_trees_far_compiled_periodic
setup_method()
class test_two_random_trees_linf
setup_method()
class test_two_random_trees_linf_compiled
setup_method()
class test_two_random_trees_linf_compiled_periodic
setup_method()
class test_rectangle
setup_method()
test_min_inside()
test_min_one_side()
test_min_two_sides()
test_max_inside()
test_max_one_side()
test_max_two_sides()
test_split()
test_distance_l2()
test_distance_l1()
test_distance_linf()
test_distance_vectorization()
class count_neighbors_consistency
test_one_radius()
test_large_radius()
test_multiple_radius()
class test_count_neighbors
setup_method()
class test_count_neighbors_compiled
setup_method()
class sparse_distance_matrix_consistency
distance(a, b, p)
test_consistency_with_neighbors()
test_zero_distance()
class test_sparse_distance_matrix
setup_method()
class test_sparse_distance_matrix_compiled
setup_method()
test_consistency_with_python()
test_against_logic_error_regression()
test_ckdtree_return_types()
test_distance_matrix()
test_distance_matrix_looping()
check_onetree_query(T, d)
test_onetree_query()
test_onetree_query_compiled()
test_query_pairs_single_node()
test_query_pairs_single_node_compiled()
test_ckdtree_query_pairs()
test_ball_point_ints()
test_kdtree_comparisons()
test_ckdtree_build_modes()
test_ckdtree_pickle()
test_ckdtree_pickle_boxsize()
test_ckdtree_copy_data()
test_ckdtree_parallel()
test_ckdtree_view()
test_ckdtree_list_k()
test_ckdtree_box()
test_ckdtree_box_0boxsize()
test_ckdtree_box_upper_bounds()
test_ckdtree_box_lower_bounds()
simulate_periodic_box(kdtree, data, k, boxsize, p)
test_ckdtree_memuse()
test_ckdtree_weights()
test_ckdtree_count_neighbous_multiple_r()
test_len0_arrays()
test_ckdtree_duplicated_inputs()
test_ckdtree_noncumulative_nondecreasing()
test_short_knn()