Mercurial > hg > GlobalNeighbors
comparison globalneighbors/grid.py @ 5:7e27e874655b
test a larger grid + move distance insertion to its own function
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Sat, 24 Jun 2017 15:16:10 -0700 |
parents | 1b94f3bf97e5 |
children | 254195d0bac2 |
comparison
equal
deleted
inserted
replaced
4:8e130b7bfed9 | 5:7e27e874655b |
---|---|
33 | 33 |
34 def neighbors(self, i, j): | 34 def neighbors(self, i, j): |
35 """ | 35 """ |
36 return neighbors of points i, j | 36 return neighbors of points i, j |
37 """ | 37 """ |
38 imat = [] | |
39 jmat = [] | |
40 | |
41 # latitude | |
38 if i: | 42 if i: |
43 imat.append(i-1) | |
39 raise NotImplementedError('TODO') | 44 raise NotImplementedError('TODO') |