-
Notifications
You must be signed in to change notification settings - Fork 328
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into axesarray-indexing
- Loading branch information
Showing
273 changed files
with
12,200 additions
and
7,589 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,11 +14,13 @@ jobs: | |
- name: Set up Python | ||
uses: actions/setup-python@v3 | ||
with: | ||
python-version: "3.8" | ||
- name: Install dependencies | ||
run: pip install wheel | ||
python-version: "3.9" | ||
- name: Install Build | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install build | ||
- name: Build package | ||
run: python setup.py sdist bdist_wheel | ||
run: python -m build . | ||
- name: Upload package | ||
uses: pypa/[email protected] | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,10 @@ dist | |
*.egg-info | ||
commit-msg | ||
todo | ||
poetry.lock | ||
|
||
# profiling | ||
prof/ | ||
|
||
# Environments | ||
.env | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
data |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
examples/17_parameterized_pattern_formation/data/auto/c.steady_E
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 11 additions & 17 deletions
28
examples/17_parameterized_pattern_formation/data/auto/even.auto
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,15 @@ | ||
import numpy as np | ||
import os | ||
|
||
even=run('snaking_E',c='cycle_even') | ||
sols=[] | ||
pars=[] | ||
for i in range(len(even[0])): | ||
u=even(i+1)['U(1)'] | ||
t=even(i+1)['t'] | ||
e=even(i+1)['PAR(1)'] | ||
r=even(i+1)['PAR(2)'] | ||
b=even(i+1)['PAR(3)'] | ||
c=even(i+1)['PAR(4)'] | ||
T=even(i+1)['PAR(11)'] | ||
norm=even(i+1)['L2-NORM'] | ||
sols=sols+[np.vstack([t,u]).T] | ||
pars=pars+[[e,r,b,c,T,norm]] | ||
for j in [2,3,4,5]: | ||
even=run('snaking_E'+str(j),c='cycle_even') | ||
sols=[] | ||
pars=[] | ||
for i in range(len(even[0])): | ||
print(i, len(even[0]), end='\r') | ||
sols=sols+[np.concatenate([even(i+1).indepvararray.reshape(1,-1),even(i+1).coordarray[:1]]).T] | ||
pars=pars+[np.concatenate([np.array(even(i+1).PAR.values())[[0,1,2,3,4,5,6,7,8,10]],[(np.sum(np.diff(even(i+1).indepvararray)[:,np.newaxis].T*np.abs(even(i+1).coordarray[0,:-1])**2))**0.5]])] | ||
|
||
np.save('even_sols.npy',sols) | ||
np.save('even_pars.npy',pars) | ||
cl() | ||
np.save('even'+str(j)+'_sols.npy',sols) | ||
np.save('even'+str(j)+'_pars.npy',pars) | ||
cl() |
Binary file modified
BIN
+432 Bytes
(350%)
examples/17_parameterized_pattern_formation/data/auto/even/stable_0.npy
Binary file not shown.
Binary file modified
BIN
-16 Bytes
(98%)
examples/17_parameterized_pattern_formation/data/auto/even/stable_1.npy
Binary file not shown.
Binary file modified
BIN
-16 Bytes
(98%)
examples/17_parameterized_pattern_formation/data/auto/even/stable_2.npy
Binary file not shown.
Binary file modified
BIN
-32 Bytes
(96%)
examples/17_parameterized_pattern_formation/data/auto/even/stable_3.npy
Binary file not shown.
Binary file modified
BIN
-64 Bytes
(91%)
examples/17_parameterized_pattern_formation/data/auto/even/stable_4.npy
Binary file not shown.
Binary file modified
BIN
-64 Bytes
(91%)
examples/17_parameterized_pattern_formation/data/auto/even/stable_5.npy
Binary file not shown.
Binary file modified
BIN
-48 Bytes
(94%)
examples/17_parameterized_pattern_formation/data/auto/even/stable_6.npy
Binary file not shown.
Binary file modified
BIN
-80 Bytes
(90%)
examples/17_parameterized_pattern_formation/data/auto/even/stable_7.npy
Binary file not shown.
Binary file modified
BIN
-272 Bytes
(66%)
examples/17_parameterized_pattern_formation/data/auto/even/stable_8.npy
Binary file not shown.
Binary file removed
BIN
-496 Bytes
examples/17_parameterized_pattern_formation/data/auto/even/stable_9.npy
Binary file not shown.
Binary file modified
BIN
+880 Bytes
(170%)
examples/17_parameterized_pattern_formation/data/auto/even/unstable_0.npy
Binary file not shown.
Binary file modified
BIN
-336 Bytes
(64%)
examples/17_parameterized_pattern_formation/data/auto/even/unstable_1.npy
Binary file not shown.
Binary file modified
BIN
+16 Bytes
(100%)
examples/17_parameterized_pattern_formation/data/auto/even/unstable_2.npy
Binary file not shown.
Binary file modified
BIN
+48 Bytes
(110%)
examples/17_parameterized_pattern_formation/data/auto/even/unstable_3.npy
Binary file not shown.
Binary file modified
BIN
+64 Bytes
(110%)
examples/17_parameterized_pattern_formation/data/auto/even/unstable_4.npy
Binary file not shown.
Binary file modified
BIN
+80 Bytes
(110%)
examples/17_parameterized_pattern_formation/data/auto/even/unstable_5.npy
Binary file not shown.
Binary file modified
BIN
+80 Bytes
(110%)
examples/17_parameterized_pattern_formation/data/auto/even/unstable_6.npy
Binary file not shown.
Binary file modified
BIN
+80 Bytes
(110%)
examples/17_parameterized_pattern_formation/data/auto/even/unstable_7.npy
Binary file not shown.
Binary file modified
BIN
+80 Bytes
(110%)
examples/17_parameterized_pattern_formation/data/auto/even/unstable_8.npy
Binary file not shown.
Binary file removed
BIN
-656 Bytes
examples/17_parameterized_pattern_formation/data/auto/even/unstable_9.npy
Binary file not shown.
Binary file added
BIN
+592 Bytes
examples/17_parameterized_pattern_formation/data/auto/even2/stable_0.npy
Binary file not shown.
Binary file added
BIN
+656 Bytes
examples/17_parameterized_pattern_formation/data/auto/even2/stable_1.npy
Binary file not shown.
Binary file added
BIN
+656 Bytes
examples/17_parameterized_pattern_formation/data/auto/even2/stable_2.npy
Binary file not shown.
Binary file added
BIN
+656 Bytes
examples/17_parameterized_pattern_formation/data/auto/even2/stable_3.npy
Binary file not shown.
Binary file added
BIN
+704 Bytes
examples/17_parameterized_pattern_formation/data/auto/even2/stable_4.npy
Binary file not shown.
Binary file added
BIN
+704 Bytes
examples/17_parameterized_pattern_formation/data/auto/even2/stable_5.npy
Binary file not shown.
Binary file added
BIN
+704 Bytes
examples/17_parameterized_pattern_formation/data/auto/even2/stable_6.npy
Binary file not shown.
Binary file added
BIN
+736 Bytes
examples/17_parameterized_pattern_formation/data/auto/even2/stable_7.npy
Binary file not shown.
Binary file added
BIN
+496 Bytes
examples/17_parameterized_pattern_formation/data/auto/even2/stable_8.npy
Binary file not shown.
Binary file added
BIN
+1.98 KB
examples/17_parameterized_pattern_formation/data/auto/even2/unstable_0.npy
Binary file not shown.
Binary file added
BIN
+656 Bytes
examples/17_parameterized_pattern_formation/data/auto/even2/unstable_1.npy
Binary file not shown.
Binary file added
BIN
+624 Bytes
examples/17_parameterized_pattern_formation/data/auto/even2/unstable_2.npy
Binary file not shown.
Binary file added
BIN
+704 Bytes
examples/17_parameterized_pattern_formation/data/auto/even2/unstable_3.npy
Binary file not shown.
Binary file added
BIN
+640 Bytes
examples/17_parameterized_pattern_formation/data/auto/even2/unstable_4.npy
Binary file not shown.
Binary file added
BIN
+640 Bytes
examples/17_parameterized_pattern_formation/data/auto/even2/unstable_5.npy
Binary file not shown.
Binary file added
BIN
+688 Bytes
examples/17_parameterized_pattern_formation/data/auto/even2/unstable_6.npy
Binary file not shown.
Binary file added
BIN
+688 Bytes
examples/17_parameterized_pattern_formation/data/auto/even2/unstable_7.npy
Binary file not shown.
Binary file added
BIN
+736 Bytes
examples/17_parameterized_pattern_formation/data/auto/even2/unstable_8.npy
Binary file not shown.
Binary file added
BIN
+240 Bytes
examples/17_parameterized_pattern_formation/data/auto/even3/stable_0.npy
Binary file not shown.
Binary file added
BIN
+768 Bytes
examples/17_parameterized_pattern_formation/data/auto/even3/stable_1.npy
Binary file not shown.
Binary file added
BIN
+800 Bytes
examples/17_parameterized_pattern_formation/data/auto/even3/stable_2.npy
Binary file not shown.
Binary file added
BIN
+800 Bytes
examples/17_parameterized_pattern_formation/data/auto/even3/stable_3.npy
Binary file not shown.
Binary file added
BIN
+800 Bytes
examples/17_parameterized_pattern_formation/data/auto/even3/stable_4.npy
Binary file not shown.
Binary file added
BIN
+832 Bytes
examples/17_parameterized_pattern_formation/data/auto/even3/stable_5.npy
Binary file not shown.
Binary file added
BIN
+832 Bytes
examples/17_parameterized_pattern_formation/data/auto/even3/stable_6.npy
Binary file not shown.
Binary file added
BIN
+896 Bytes
examples/17_parameterized_pattern_formation/data/auto/even3/stable_7.npy
Binary file not shown.
Binary file added
BIN
+656 Bytes
examples/17_parameterized_pattern_formation/data/auto/even3/stable_8.npy
Binary file not shown.
Binary file added
BIN
+1.03 KB
examples/17_parameterized_pattern_formation/data/auto/even3/unstable_0.npy
Binary file not shown.
Binary file added
BIN
+1.09 KB
examples/17_parameterized_pattern_formation/data/auto/even3/unstable_1.npy
Binary file not shown.
Binary file added
BIN
+816 Bytes
examples/17_parameterized_pattern_formation/data/auto/even3/unstable_2.npy
Binary file not shown.
Binary file added
BIN
+768 Bytes
examples/17_parameterized_pattern_formation/data/auto/even3/unstable_3.npy
Binary file not shown.
Binary file added
BIN
+800 Bytes
examples/17_parameterized_pattern_formation/data/auto/even3/unstable_4.npy
Binary file not shown.
Binary file added
BIN
+864 Bytes
examples/17_parameterized_pattern_formation/data/auto/even3/unstable_5.npy
Binary file not shown.
Binary file added
BIN
+848 Bytes
examples/17_parameterized_pattern_formation/data/auto/even3/unstable_6.npy
Binary file not shown.
Binary file added
BIN
+880 Bytes
examples/17_parameterized_pattern_formation/data/auto/even3/unstable_7.npy
Binary file not shown.
Binary file added
BIN
+864 Bytes
examples/17_parameterized_pattern_formation/data/auto/even3/unstable_8.npy
Binary file not shown.
Binary file added
BIN
+608 Bytes
examples/17_parameterized_pattern_formation/data/auto/even4/stable_0.npy
Binary file not shown.
Binary file added
BIN
+688 Bytes
examples/17_parameterized_pattern_formation/data/auto/even4/stable_1.npy
Binary file not shown.
Binary file added
BIN
+656 Bytes
examples/17_parameterized_pattern_formation/data/auto/even4/stable_2.npy
Binary file not shown.
Binary file added
BIN
+688 Bytes
examples/17_parameterized_pattern_formation/data/auto/even4/stable_3.npy
Binary file not shown.
Binary file added
BIN
+688 Bytes
examples/17_parameterized_pattern_formation/data/auto/even4/stable_4.npy
Binary file not shown.
Binary file added
BIN
+688 Bytes
examples/17_parameterized_pattern_formation/data/auto/even4/stable_5.npy
Binary file not shown.
Binary file added
BIN
+720 Bytes
examples/17_parameterized_pattern_formation/data/auto/even4/stable_6.npy
Binary file not shown.
Binary file added
BIN
+752 Bytes
examples/17_parameterized_pattern_formation/data/auto/even4/stable_7.npy
Binary file not shown.
Binary file added
BIN
+416 Bytes
examples/17_parameterized_pattern_formation/data/auto/even4/stable_8.npy
Binary file not shown.
Binary file added
BIN
+1.98 KB
examples/17_parameterized_pattern_formation/data/auto/even4/unstable_0.npy
Binary file not shown.
Binary file added
BIN
+656 Bytes
examples/17_parameterized_pattern_formation/data/auto/even4/unstable_1.npy
Binary file not shown.
Binary file added
BIN
+656 Bytes
examples/17_parameterized_pattern_formation/data/auto/even4/unstable_2.npy
Binary file not shown.
Binary file added
BIN
+688 Bytes
examples/17_parameterized_pattern_formation/data/auto/even4/unstable_3.npy
Binary file not shown.
Binary file added
BIN
+672 Bytes
examples/17_parameterized_pattern_formation/data/auto/even4/unstable_4.npy
Binary file not shown.
Binary file added
BIN
+688 Bytes
examples/17_parameterized_pattern_formation/data/auto/even4/unstable_5.npy
Binary file not shown.
Binary file added
BIN
+672 Bytes
examples/17_parameterized_pattern_formation/data/auto/even4/unstable_6.npy
Binary file not shown.
Binary file added
BIN
+720 Bytes
examples/17_parameterized_pattern_formation/data/auto/even4/unstable_7.npy
Binary file not shown.
Binary file added
BIN
+752 Bytes
examples/17_parameterized_pattern_formation/data/auto/even4/unstable_8.npy
Binary file not shown.
Binary file added
BIN
+272 Bytes
examples/17_parameterized_pattern_formation/data/auto/even5/stable_0.npy
Binary file not shown.
Binary file added
BIN
+464 Bytes
examples/17_parameterized_pattern_formation/data/auto/even5/stable_1.npy
Binary file not shown.
Binary file added
BIN
+528 Bytes
examples/17_parameterized_pattern_formation/data/auto/even5/stable_2.npy
Binary file not shown.
Binary file added
BIN
+560 Bytes
examples/17_parameterized_pattern_formation/data/auto/even5/stable_3.npy
Binary file not shown.
Binary file added
BIN
+640 Bytes
examples/17_parameterized_pattern_formation/data/auto/even5/stable_4.npy
Binary file not shown.
Binary file added
BIN
+512 Bytes
examples/17_parameterized_pattern_formation/data/auto/even5/stable_5.npy
Binary file not shown.
Binary file added
BIN
+2.41 KB
examples/17_parameterized_pattern_formation/data/auto/even5/unstable_0.npy
Binary file not shown.
Binary file added
BIN
+464 Bytes
examples/17_parameterized_pattern_formation/data/auto/even5/unstable_1.npy
Binary file not shown.
Binary file added
BIN
+448 Bytes
examples/17_parameterized_pattern_formation/data/auto/even5/unstable_2.npy
Binary file not shown.
Binary file added
BIN
+480 Bytes
examples/17_parameterized_pattern_formation/data/auto/even5/unstable_3.npy
Binary file not shown.
Binary file added
BIN
+560 Bytes
examples/17_parameterized_pattern_formation/data/auto/even5/unstable_4.npy
Binary file not shown.
Binary file added
BIN
+640 Bytes
examples/17_parameterized_pattern_formation/data/auto/even5/unstable_5.npy
Binary file not shown.
Binary file removed
BIN
-32.8 KB
examples/17_parameterized_pattern_formation/data/auto/even_pars.npy
Binary file not shown.
Binary file removed
BIN
-10.9 MB
examples/17_parameterized_pattern_formation/data/auto/even_sols.npy
Binary file not shown.
Oops, something went wrong.