Jan Petykiewicz
50e3822eac
Create folder-based module and use VERSION file
...
use VERSION to avoid importing the module before it's installed
5 years ago
Jan Petykiewicz
756c015b87
Move version info inside module
6 years ago
jan
8c8e41ac53
Rename some variables and functions, and add _very_ bare docs
7 years ago
jan
206d3885b6
Break up raster() into sub-functions. Documentation to follow...
7 years ago
jan
fb8c547ec2
Clean up imports
8 years ago
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)
8 years ago
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.
8 years ago
jan
caf51d72ba
Remove unused code for matlab interface
8 years ago
jan
12fdc5401e
Use scipy.sparse.coo_matrix instead of numpy.histogram2d to get a decent speedup
8 years ago
jan
f68555cb0b
Switch to >= <= operators instead of functions
...
For clarity
8 years ago
jan
ed77450c80
add all files
8 years ago