Jan Petykiewicz
73d07bbfe0
disaambiguate some variables for typing purposes
před 2 roky
Jan Petykiewicz
ec5c77e018
typing and formatting updates
před 2 roky
Jan Petykiewicz
7d3b2272bc
bump version to v1.1
před 2 roky
Jan Petykiewicz
e1303b8a5c
move to hatch-based builds
před 2 roky
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.
před 3 roky
Jan Petykiewicz
2fd837500a
Add some tests
před 3 roky
Jan Petykiewicz
85d9ff7ace
use dtype when allocating
před 3 roky
Jan Petykiewicz
f04aec9a1b
rename eps -> foreground
před 3 roky
Jan Petykiewicz
078bec08d3
Make epsilon float32 by default
před 3 roky
Jan Petykiewicz
fcd02d3dcf
doc updates
před 3 roky
Jan Petykiewicz
dac0813cc9
add example
před 3 roky
Jan Petykiewicz
22f218c054
Grid.save() should return self
před 3 roky
Jan Petykiewicz
b9f6507498
doc and type hint fixes
před 3 roky
Jan Petykiewicz
7340d41f10
Use f-strings where possible
před 3 roky
Jan Petykiewicz
ff5ffb2f40
Remove is_scalar() in favor of numpy.size(...)==1
před 3 roky
Jan Petykiewicz
551da07f3e
Move `.grids` data into separate `cell_data` array. Also remove `Direction` enum
před 3 roky
Jan Petykiewicz
fbf173072a
avoid importing a bunch of numpy functions
před 3 roky
Jan Petykiewicz
d054fc5a94
update email
před 3 roky
Jan Petykiewicz
6acb7a2166
gitignore mypy_cache
před 3 roky
Jan Petykiewicz
6f9334bc94
strip whitespace from version string
před 3 roky
Jan Petykiewicz
8cca6f3236
add py.typed to package_data
před 3 roky
Jan Petykiewicz
192c929653
remove old VERSION file
před 3 roky
Jan Petykiewicz
145af8bef8
add py.typed
před 3 roky
Jan Petykiewicz
1bfae4d7f6
bump version to v0.5
před 3 roky
Jan Petykiewicz
bdf05d96be
fix numpy warning about indexing with a list
před 3 roky
Jan Petykiewicz
f338d06be6
simplify GridError definition
před 3 roky
Jan Petykiewicz
1067c3b780
Fix loop variables not getting saved in closures
před 3 roky
Jan Petykiewicz
f486209950
general cleanup and typing fixes
před 3 roky
Jan Petykiewicz
db9e7831b9
move to simpler docstring format and improve type annotations
před 3 roky
Jan Petykiewicz
4e0a5ede21
Use VERSION.py instead of plain VERSION
...
reduce dependence on package_data
před 4 roky
Jan Petykiewicz
db6819ccc6
fix z-interpolation
před 4 roky
Jan Petykiewicz
a900946890
fix crash in shifted_exyz
před 4 roky
Jan Petykiewicz
43936d1415
Rework interpolation for extruded polygon to fix lots of issues
před 4 roky
Jan Petykiewicz
d4b0177386
more member docs
před 4 roky
Jan Petykiewicz
00dd0718fa
fix center calculation
před 4 roky
Jan Petykiewicz
aab3754d1a
move member docs to __init__
před 4 roky
Jan Petykiewicz
cf52380702
bump version to v0.4
před 5 roky
Jan Petykiewicz
f62be35966
use VERSION file to avoid importing gridlock before its installed
před 5 roky
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
před 5 roky
Jan Petykiewicz
0c4a773b84
Make .grids an ndarray instead of a list-of-ndarrays
před 5 roky
Jan Petykiewicz
4b301b2dd5
gitignore build artifacts
před 5 roky
Jan Petykiewicz
eebaff499b
Update README with pypi link
před 5 roky
jan
24d012fccc
Warnings should reference their caller
před 5 roky
jan
893d8bcb15
Cleaner approach to indexing
před 5 roky
jan
a094241f37
w_coord_fp should not be negative
před 5 roky
Jan Petykiewicz
87e6a0de34
add classifiers
před 5 roky
Jan Petykiewicz
648e540862
add MANIFEST.in
před 5 roky
Jan Petykiewicz
c524b28fe6
fixup center calculation
před 5 roky
Jan Petykiewicz
aaf4e6e498
bump version number to 0.3
před 6 roky
Jan Petykiewicz
74cac5e4fe
Use readme as long_description
před 6 roky