Commit Graph

64 Commits (master)

Author SHA1 Message Date
Jan Petykiewicz 73d07bbfe0 disaambiguate some variables for typing purposes 2 years ago
Jan Petykiewicz ec5c77e018 typing and formatting updates 2 years ago
Jan Petykiewicz 7d3b2272bc bump version to v1.1 2 years ago
Jan Petykiewicz e1303b8a5c move to hatch-based builds 2 years ago
Jan Petykiewicz 9276f8f86b bump version to 1.0
Breaking changes:
-`eps` argument renamed to `foreground`
- `Grid` no longer contains actual data (iem the data modified by draw_*
functions), only the metadata (edge positions, periodicity, etc.). Data
is now a user-managed ndarray.
3 years ago
Jan Petykiewicz 2fd837500a Add some tests 3 years ago
Jan Petykiewicz 85d9ff7ace use dtype when allocating 3 years ago
Jan Petykiewicz f04aec9a1b rename eps -> foreground 3 years ago
Jan Petykiewicz 078bec08d3 Make epsilon float32 by default 3 years ago
Jan Petykiewicz fcd02d3dcf doc updates 3 years ago
Jan Petykiewicz dac0813cc9 add example 3 years ago
Jan Petykiewicz 22f218c054 Grid.save() should return self 3 years ago
Jan Petykiewicz b9f6507498 doc and type hint fixes 3 years ago
Jan Petykiewicz 7340d41f10 Use f-strings where possible 3 years ago
Jan Petykiewicz ff5ffb2f40 Remove is_scalar() in favor of numpy.size(...)==1 3 years ago
Jan Petykiewicz 551da07f3e Move `.grids` data into separate `cell_data` array. Also remove `Direction` enum 3 years ago
Jan Petykiewicz fbf173072a avoid importing a bunch of numpy functions 3 years ago
Jan Petykiewicz 6f9334bc94 strip whitespace from version string 3 years ago
Jan Petykiewicz 145af8bef8 add py.typed 3 years ago
Jan Petykiewicz 1bfae4d7f6 bump version to v0.5 3 years ago
Jan Petykiewicz bdf05d96be fix numpy warning about indexing with a list 3 years ago
Jan Petykiewicz f338d06be6 simplify GridError definition 3 years ago
Jan Petykiewicz 1067c3b780 Fix loop variables not getting saved in closures 3 years ago
Jan Petykiewicz f486209950 general cleanup and typing fixes 3 years ago
Jan Petykiewicz db9e7831b9 move to simpler docstring format and improve type annotations 3 years ago
Jan Petykiewicz 4e0a5ede21 Use VERSION.py instead of plain VERSION
reduce dependence on package_data
4 years ago
Jan Petykiewicz db6819ccc6 fix z-interpolation 4 years ago
Jan Petykiewicz a900946890 fix crash in shifted_exyz 4 years ago
Jan Petykiewicz 43936d1415 Rework interpolation for extruded polygon to fix lots of issues 4 years ago
Jan Petykiewicz d4b0177386 more member docs 4 years ago
Jan Petykiewicz 00dd0718fa fix center calculation 4 years ago
Jan Petykiewicz aab3754d1a move member docs to __init__ 4 years ago
Jan Petykiewicz cf52380702 bump version to v0.4 5 years ago
Jan Petykiewicz f62be35966 use VERSION file to avoid importing gridlock before its installed 5 years ago
Jan Petykiewicz e97bd482a9 initialize to 1.0 instead of (1.0,)*3
matches docs, and works better in cases where there are more/fewer grids
5 years ago
Jan Petykiewicz 0c4a773b84 Make .grids an ndarray instead of a list-of-ndarrays 5 years ago
jan 24d012fccc Warnings should reference their caller 5 years ago
jan 893d8bcb15 Cleaner approach to indexing 5 years ago
jan a094241f37 w_coord_fp should not be negative 5 years ago
Jan Petykiewicz c524b28fe6 fixup center calculation 5 years ago
Jan Petykiewicz aaf4e6e498 bump version number to 0.3 6 years ago
Jan Petykiewicz 9b82a5d16d Move version number into module 6 years ago
Jan Petykiewicz 4a8bd7b225 Update for numpy 1.15 6 years ago
jan f86ae22e02 Fix marching_cubes for modern skimage 6 years ago
jan 0d1099cd8e Fix documentation typo 6 years ago
jan 6db836d3a3 Split Grid class into multiple files 7 years ago
Jan Petykiewicz c7572c9c8d fix drawing in non-polygon axis 7 years ago
Jan Petykiewicz 81bc655908 Add experimental support for negative shifts 7 years ago
Jan Petykiewicz a76fef0449 Improve error checking 7 years ago
Jan Petykiewicz e65f25cc68 Clarify shifts documentation 7 years ago