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