File: test_KDTree.py

package info (click to toggle)
python-biopython 1.45-3
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 18,192 kB
  • ctags: 12,310
  • sloc: python: 83,505; xml: 13,834; ansic: 7,015; cpp: 1,855; sql: 1,144; makefile: 179
file content (10 lines) | stat: -rw-r--r-- 221 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
from Bio.KDTree.KDTree import _neighbor_test, _test

nr_points=5000
dim=3
bucket_size=5
radius=0.01

for i in range(0, 10):
	_neighbor_test(nr_points, dim, bucket_size, radius)
	_test(nr_points, dim, bucket_size, radius)