|
8c33a39c02
|
refactor to avoid class-scoped imports
|
2024-07-29 01:37:58 -07:00 |
|
|
e29c0901bd
|
use strict zip
|
2024-07-29 00:46:21 -07:00 |
|
|
3e4e6eead3
|
flake8 fixup
|
2024-07-18 00:17:45 -07:00 |
|
|
a94c2cae67
|
type hint modernization
|
2024-07-18 00:17:20 -07:00 |
|
|
ec5c77e018
|
typing and formatting updates
|
2022-10-18 19:44:30 -07:00 |
|
|
85d9ff7ace
|
use dtype when allocating
|
2021-10-31 19:02:49 -07:00 |
|
|
f04aec9a1b
|
rename eps -> foreground
|
2021-10-31 19:00:32 -07:00 |
|
|
078bec08d3
|
Make epsilon float32 by default
|
2021-10-24 19:53:15 -07:00 |
|
|
22f218c054
|
Grid.save() should return self
|
2021-10-24 19:07:23 -07:00 |
|
|
b9f6507498
|
doc and type hint fixes
|
2021-10-24 19:07:23 -07:00 |
|
|
7340d41f10
|
Use f-strings where possible
|
2021-10-24 19:07:23 -07:00 |
|
|
ff5ffb2f40
|
Remove is_scalar() in favor of numpy.size(...)==1
|
2021-10-24 19:07:23 -07:00 |
|
|
551da07f3e
|
Move .grids data into separate cell_data array. Also remove Direction enum
|
2021-10-24 19:07:20 -07:00 |
|
|
fbf173072a
|
avoid importing a bunch of numpy functions
|
2021-10-24 19:07:10 -07:00 |
|
|
f486209950
|
general cleanup and typing fixes
|
2021-01-08 22:58:36 -08:00 |
|
|
db9e7831b9
|
move to simpler docstring format and improve type annotations
|
2021-01-08 22:43:22 -08:00 |
|
|
a900946890
|
fix crash in shifted_exyz
|
2019-12-13 01:22:00 -08:00 |
|
|
d4b0177386
|
more member docs
|
2019-11-27 19:32:53 -08:00 |
|
|
00dd0718fa
|
fix center calculation
|
2019-11-27 19:32:25 -08:00 |
|
|
aab3754d1a
|
move member docs to __init__
|
2019-11-27 19:31:48 -08:00 |
|
|
e97bd482a9
|
initialize to 1.0 instead of (1.0,)*3
matches docs, and works better in cases where there are more/fewer grids
|
2019-09-30 23:37:25 -07:00 |
|
|
0c4a773b84
|
Make .grids an ndarray instead of a list-of-ndarrays
|
2019-09-30 23:34:49 -07:00 |
|
|
24d012fccc
|
Warnings should reference their caller
|
2019-04-07 17:18:57 -07:00 |
|
|
c524b28fe6
|
fixup center calculation
|
2019-04-07 16:56:31 -07:00 |
|
|
6db836d3a3
|
Split Grid class into multiple files
|
2017-10-10 16:42:11 -07:00 |
|
|
c7572c9c8d
|
fix drawing in non-polygon axis
|
2017-09-29 12:19:10 -07:00 |
|
|
81bc655908
|
Add experimental support for negative shifts
|
2017-09-25 00:44:27 -07:00 |
|
|
a76fef0449
|
Improve error checking
|
2017-09-25 00:44:27 -07:00 |
|
|
e65f25cc68
|
Clarify shifts documentation
|
2017-09-25 00:43:48 -07:00 |
|
|
e0ed0a324c
|
Cosmetic changes
|
2017-09-25 00:43:48 -07:00 |
|
|
66db2398ff
|
add whitespace
|
2017-09-05 11:08:20 -07:00 |
|
|
3d36f66a39
|
warn if grid is going to be int-typed
|
2017-09-05 11:08:06 -07:00 |
|
|
e930baf2b4
|
fix and improve error-checking for shifts parameter
|
2017-09-05 11:07:32 -07:00 |
|
|
a94a91446e
|
Allow arbitrary args to pcolormesh during visualization
|
2017-08-12 19:33:52 -07:00 |
|
|
c8cbf26a8c
|
Fix use of enum for surface_normal for visualize_slice
|
2016-07-13 16:09:57 -07:00 |
|
jan
|
1e4ee5e057
|
add autoshift_dxyz and copy()
|
2016-07-03 03:13:20 -07:00 |
|
jan
|
4e0e71fad9
|
Clean up documentation and default values
|
2016-05-25 21:29:57 -07:00 |
|
jan
|
0a95bcda1b
|
Add get_slice method for easy interpolation
|
2016-05-25 21:25:43 -07:00 |
|
|
55d9f33090
|
Split up E and H Yee shifts
Use E shifts by default.
|
2016-05-25 00:40:13 -07:00 |
|
|
b7ff35485e
|
Add an option to defer showing plots when calling visualize_*
|
2016-05-25 00:39:37 -07:00 |
|
jan
|
e135f8147e
|
fix draw_cuboid
|
2016-05-02 13:41:15 -07:00 |
|
jan
|
ea56eb93ff
|
fix index
|
2016-04-19 16:59:56 -07:00 |
|
jan
|
e6f51d721a
|
add all files
|
2016-03-15 20:07:07 -07:00 |
|