Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DO NOT MERGE] cleanup, modernization, speedup, tests, verification #10

Open
wants to merge 199 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
199 commits
Select commit Hold shift + click to select a range
3743b28
move module to src folder
s-m-e Jan 7, 2022
b1a927a
rm egg info from repo
s-m-e Jan 7, 2022
d0b5487
rm dist from repo
s-m-e Jan 7, 2022
80cd3ed
test requires goto
s-m-e Jan 7, 2022
200193b
src folder
s-m-e Jan 7, 2022
a8db46a
ignore egg info
s-m-e Jan 7, 2022
85d8e6c
src folder 2
s-m-e Jan 7, 2022
709b809
pycache
s-m-e Jan 7, 2022
d2ccc31
prepare pytest
s-m-e Jan 7, 2022
3fcae77
prepare pytest 2
s-m-e Jan 7, 2022
6e553e5
import and encoding cleanup
s-m-e Jan 7, 2022
e2d8ba3
tests run with pytest
s-m-e Jan 7, 2022
8d9e227
mv fld
s-m-e Jan 7, 2022
5c2df3c
fix path issue
s-m-e Jan 7, 2022
411e72d
imort not required
s-m-e Jan 7, 2022
fcb7b02
typeguard debug
s-m-e Jan 7, 2022
f05b564
typeguard debug 2
s-m-e Jan 7, 2022
8b7879b
typeguard debug 3
s-m-e Jan 7, 2022
46f1333
cleanup
s-m-e Jan 7, 2022
ef07d93
cleanup
s-m-e Jan 7, 2022
2ef3183
module structure cleanup
s-m-e Jan 7, 2022
c649b67
missing info
s-m-e Jan 7, 2022
a19627c
cleanup
s-m-e Jan 7, 2022
06091d1
module structure
s-m-e Jan 7, 2022
71560d5
cleanup
s-m-e Jan 7, 2022
1f00b80
module structure
s-m-e Jan 7, 2022
43c17aa
style and cleanups
s-m-e Jan 7, 2022
c5904c6
numpy is not required
s-m-e Jan 7, 2022
6f4ecce
style
s-m-e Jan 7, 2022
c7818ed
authors
s-m-e Jan 7, 2022
dd6d5e6
pt cache
s-m-e Jan 7, 2022
0295ff1
mime type fix
s-m-e Jan 7, 2022
5aa89bb
version bump
s-m-e Jan 7, 2022
55e2e18
updated readme
s-m-e Jan 7, 2022
ed3724f
Merge branch 'develop'
s-m-e Jan 7, 2022
7e0ecc6
cleanup
s-m-e Jan 7, 2022
9047e31
cleanup
s-m-e Jan 7, 2022
463eaf6
cleanup
s-m-e Jan 7, 2022
8f9a425
module layout
s-m-e Jan 7, 2022
630f448
doc string
s-m-e Jan 7, 2022
52464bd
name cleanup
s-m-e Jan 7, 2022
282ef38
doc string cleanup
s-m-e Jan 7, 2022
5e0f77f
fix names, dump numpy
s-m-e Jan 7, 2022
4f06e2b
doc strings
s-m-e Jan 8, 2022
439bf74
doc strings; date becomes year everywhere
s-m-e Jan 8, 2022
1a88a21
grammar fix
s-m-e Jan 8, 2022
10d0c45
readable
s-m-e Jan 8, 2022
d9254eb
early exit
s-m-e Jan 8, 2022
7232fd1
annotated
s-m-e Jan 8, 2022
e1d6815
verify stuff
s-m-e Jan 8, 2022
594b750
verify draft
s-m-e Jan 8, 2022
6eebfbe
extract values
s-m-e Jan 8, 2022
d9d599d
check
s-m-e Jan 8, 2022
3c60040
prepare verify dataset
s-m-e Jan 8, 2022
97a0315
parallel compute
s-m-e Jan 8, 2022
46366e5
fixing itype issues
s-m-e Jan 8, 2022
bb3267d
do not assume ht
s-m-e Jan 8, 2022
8aca8ce
ignore zarr data
s-m-e Jan 8, 2022
a881d15
debugged, can store data
s-m-e Jan 8, 2022
80d232e
save meta data
s-m-e Jan 8, 2022
4010d23
dev deps
s-m-e Jan 8, 2022
2fbb07d
verification
s-m-e Jan 8, 2022
5280151
basic verification
s-m-e Jan 8, 2022
8823aad
match the fortran implementation up to 2030
s-m-e Jan 8, 2022
320850f
space
s-m-e Jan 8, 2022
7d5abb5
less tolerance
s-m-e Jan 8, 2022
8ff312b
debug var
s-m-e Jan 8, 2022
cadd6f7
do not warn if not in debug mode
s-m-e Jan 8, 2022
fedfe77
verify on test
s-m-e Jan 8, 2022
0515da3
higher grid resolution, more speed
s-m-e Jan 8, 2022
2e13102
denser grid
s-m-e Jan 8, 2022
67177de
improved formatting
s-m-e Jan 9, 2022
53545bf
check
s-m-e Jan 9, 2022
cf47d7d
style
s-m-e Jan 9, 2022
5e04c3a
more tollerance
s-m-e Jan 9, 2022
d842688
prep additional checks
s-m-e Jan 9, 2022
44aa3f6
prep additional checks 2
s-m-e Jan 9, 2022
c1ad571
revert
s-m-e Jan 9, 2022
593c12d
validate all three interface functions
s-m-e Jan 9, 2022
5922ad1
fix var name
s-m-e Jan 9, 2022
9c6a8ec
more debug output
s-m-e Jan 9, 2022
7b8d473
ref code needs patching for more output
s-m-e Jan 9, 2022
1455881
patching original fortran
s-m-e Jan 9, 2022
98597b3
parse patched fortran output
s-m-e Jan 9, 2022
c5232c1
clarification
s-m-e Jan 9, 2022
7adb3d7
variation implementations differ
s-m-e Jan 9, 2022
e36941a
rm import
s-m-e Jan 9, 2022
0dcc790
draft benchmark
s-m-e Jan 9, 2022
22c97ac
benchmark runs
s-m-e Jan 9, 2022
93f8b78
basic scalar benchmark works
s-m-e Jan 9, 2022
78e1ecb
warmup
s-m-e Jan 9, 2022
37fc9bc
isolated pure python implementation
s-m-e Jan 9, 2022
5dadc97
isolated pure python implementation 2
s-m-e Jan 9, 2022
458f8fb
prepare jit implementation
s-m-e Jan 9, 2022
409a4b5
fix type
s-m-e Jan 9, 2022
046da20
coeffs njit
s-m-e Jan 9, 2022
3741425
dev deps, jited target
s-m-e Jan 9, 2022
60b8e58
calc funcs jitted
s-m-e Jan 9, 2022
584bb70
jit implementation
s-m-e Jan 9, 2022
5d2439f
verify new implementations
s-m-e Jan 9, 2022
40360c2
test all implementations
s-m-e Jan 9, 2022
662c731
benchmark runs all implementations
s-m-e Jan 9, 2022
718354e
Merge branch 'develop'
s-m-e Jan 9, 2022
b4ac537
rm defaults
s-m-e Jan 10, 2022
8bf6200
jit remaining funcs
s-m-e Jan 10, 2022
0d808a9
cleanup attempts
s-m-e Jan 10, 2022
03dcbcd
first goto pair gone -> if else
s-m-e Jan 10, 2022
f4d0eb3
next goto gone -> if
s-m-e Jan 10, 2022
0a4c6c2
cleanup
s-m-e Jan 10, 2022
9e59bda
next goto gone -> if
s-m-e Jan 10, 2022
a6bf823
next goto gone -> if elif
s-m-e Jan 10, 2022
b6ad094
next goto gone -> if else
s-m-e Jan 10, 2022
bc3df9c
cleanups; last goto gone -> if else
s-m-e Jan 10, 2022
1cf9bef
fix name
s-m-e Jan 10, 2022
149b272
status
s-m-e Jan 10, 2022
457790b
mv old code to verification
s-m-e Jan 10, 2022
9661359
cleanup
s-m-e Jan 10, 2022
aa2acf0
Merge branch 'develop'
s-m-e Jan 10, 2022
4437366
doc string
s-m-e Jan 10, 2022
95a1cd0
array implementation, starting with jit implementation copy
s-m-e Jan 10, 2022
344fb57
ignore zarr link
s-m-e Jan 10, 2022
ad76534
cleanup
s-m-e Jan 10, 2022
fac5814
export gh array
s-m-e Jan 10, 2022
942485f
coeffs in parallel
s-m-e Jan 10, 2022
f6d4704
switch from pure to jited
s-m-e Jan 10, 2022
397f87e
switch from math to numpy
s-m-e Jan 10, 2022
3416882
coordinat conversion for arrays
s-m-e Jan 10, 2022
db8069d
make names compatible
s-m-e Jan 10, 2022
692fd42
doc string fix
s-m-e Jan 10, 2022
d7b3304
fix name
s-m-e Jan 10, 2022
1358c22
basic parallel syn implementation
s-m-e Jan 10, 2022
091335a
parallel syn, single year
s-m-e Jan 10, 2022
648c9f9
type fix
s-m-e Jan 10, 2022
9111380
syn wrapper for year and years
s-m-e Jan 10, 2022
7bbbe74
first array test
s-m-e Jan 10, 2022
6074eda
array test with years
s-m-e Jan 10, 2022
4b8193f
fix sh type to int
s-m-e Jan 10, 2022
0e797df
more fuzz
s-m-e Jan 10, 2022
c9c0704
cleanup
s-m-e Jan 10, 2022
261e98b
array checked
s-m-e Jan 10, 2022
cf203e6
fix test name
s-m-e Jan 10, 2022
86d24ab
array times added
s-m-e Jan 10, 2022
d991652
fix name
s-m-e Jan 10, 2022
5d84acc
cleanup
s-m-e Jan 11, 2022
ac5fec7
fn name
s-m-e Jan 11, 2022
1689eb2
benchmark plot
s-m-e Jan 11, 2022
946d018
Merge branch 'develop'
s-m-e Jan 11, 2022
6cb9220
array import
s-m-e Jan 11, 2022
fd85ea4
array target
s-m-e Jan 11, 2022
85efe3d
Merge branch 'develop'
s-m-e Jan 11, 2022
70463f8
point to master
s-m-e Jan 11, 2022
fc2e7d5
Merge branch 'develop'
s-m-e Jan 11, 2022
367e109
bump version
s-m-e Feb 11, 2022
37741b0
alternatives
s-m-e Feb 11, 2022
8ee19c1
cleanup
s-m-e Feb 11, 2022
2e86780
link
s-m-e Feb 11, 2022
fc4485c
project rename
s-m-e Feb 11, 2022
759921c
project rename (2)
s-m-e Feb 11, 2022
b09c1dc
helpers
s-m-e Feb 11, 2022
d4ff130
Merge branch 'develop'
s-m-e Feb 11, 2022
1cd6a88
todo
s-m-e Feb 11, 2022
70ba8a3
alternatives
s-m-e Feb 11, 2022
56bc49e
url fix
s-m-e Feb 11, 2022
2572afd
Merge branch 'develop'
s-m-e Feb 11, 2022
e0da123
env
s-m-e May 15, 2022
785256c
sep plot and measure
s-m-e May 15, 2022
e645b1e
clone
s-m-e May 15, 2022
fbb461c
rm plot
s-m-e May 15, 2022
14be30c
log data to disk
s-m-e May 15, 2022
ac35b37
üx
s-m-e May 15, 2022
659658b
rm old data
s-m-e May 15, 2022
913c15d
benchmark data
s-m-e May 15, 2022
7e7cfab
new plot
s-m-e May 15, 2022
8aec02b
larger benchmark
s-m-e May 15, 2022
ba9544e
prepare plotly implementation
s-m-e May 15, 2022
1e80048
draft
s-m-e May 15, 2022
ce771f3
cleanup
s-m-e May 15, 2022
06f7fa6
cleanup (2)
s-m-e May 15, 2022
352670b
cleanup (3)
s-m-e May 15, 2022
0534e17
new benchmark
s-m-e May 15, 2022
26278a3
cleanup
s-m-e May 15, 2022
721f6b7
link for github backlinks
s-m-e May 15, 2022
1b4a020
fix url
s-m-e May 15, 2022
93f8a26
alt text
s-m-e May 15, 2022
80bdb4f
mv
s-m-e May 15, 2022
3a1f394
Merge branch 'develop'
s-m-e May 15, 2022
9d28106
established new jit variant
s-m-e Jun 24, 2022
7fa7f17
comment
s-m-e Jun 24, 2022
0190eda
coeffs on demand
s-m-e Jun 24, 2022
b454245
unrolled for loops for g
s-m-e Jun 24, 2022
a38513e
unrolled for loops for h
s-m-e Jun 24, 2022
30a44cc
fix name
s-m-e Jun 24, 2022
7f8d284
integrate new jit version, shorten benchmark
s-m-e Jun 24, 2022
983df25
adjust colors, fewer years
s-m-e Jun 24, 2022
ac5273b
updated benchmark
s-m-e Jun 24, 2022
e314c24
update html plot
s-m-e Jun 24, 2022
8b426b8
new implementation
s-m-e Jun 24, 2022
b8ec0b0
new implementation added
s-m-e Jun 24, 2022
50151a6
new implementation added
s-m-e Jun 24, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
new implementation
  • Loading branch information
s-m-e committed Jun 24, 2022
commit 8b426b87a3d934e0f92110c5f7da5105f9bbed15
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ from pyCRGI.jited import get_value, get_variation # JIT-compiled via `numba` and
from pyCRGI.array import get_value, get_variation # array implementation via `numba` and `numpy`
```

As an alternative to `pyCRGI.jited`, there is also an experimental, structurally different JIT-compiled version named `pyCRGI.jited2` available. In the latter implementation, the handling of coefficients differs from the original Fortran implementation that `pyCRGI` & `pyIGRF` are based on. It can serve as a foundation for a CUDA-based implementation.

You can calculate the magnetic field's intensity:

```python
Expand Down