8c8e41ac53
Rename some variables and functions, and add _very_ bare docs
2017-09-06 21:09:06 -07:00
206d3885b6
Break up raster() into sub-functions. Documentation to follow...
2017-09-06 01:17:38 -07:00
jan
fb8c547ec2
Clean up imports
2016-07-16 21:49:24 -07:00
jan
c7f551b0b7
Use complex number representation for vertex coordinates,
...
ie. (x, y) becomes x + iy. This gives a bit of a speedup
over repeating stuff for multiple arrays, and lets you
keep using the numpy +- operators (unlike structured
numpy arrays)
2016-07-16 21:47:06 -07:00
jan
d418ff149d
Perform [(x,y,v),...] -> ndarray conversion using complex numbers
...
Factor-of-2 speedup on code that currently takes ~20% of the runtime --
turns out cache is good stuff.
2016-07-16 18:32:11 -07:00
jan
caf51d72ba
Remove unused code for matlab interface
2016-07-16 18:29:57 -07:00
12fdc5401e
Use scipy.sparse.coo_matrix instead of numpy.histogram2d to get a decent speedup
2016-07-13 16:39:37 -07:00
jan
f68555cb0b
Switch to >= <= operators instead of functions
...
For clarity
2016-03-15 22:47:22 -07:00
jan
ed77450c80
add all files
2016-03-15 20:26:21 -07:00