Commit Graph

9 Commits (8c8e41ac537a44622b64c5ae13879d1d18a33dfe)

Author SHA1 Message Date
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