-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add example commands on how to run dmd.py
- Loading branch information
1 parent
1d87329
commit 4f087f7
Showing
2 changed files
with
67 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
******************************** | ||
************ dmd.py ************ | ||
******************************** | ||
|
||
#### 8 arguments in total are passed, beside the name of Python script #### | ||
|
||
example commends: | ||
$python dmd.py 0.9 0.05 256 3 1 5 5 8 | ||
or | ||
$python dmd.py 2.25 0.01 128 6 1 5 14 1 | ||
|
||
argument[0] -- Name of Python script | ||
argument[1] -- ky | ||
argument[2] -- delt # temporal resolution | ||
argument[3] -- ntheta # spatial resolution | ||
argument[4] -- nperiod # another spatial resolution parameter, but 3 is enough, 6/8/12 do not seem to be helpful | ||
argument[5] -- DMD-order # >1 means higher-order DMD | ||
argument[6] -- # of SVD-truncation | ||
argument[7] -- snapshot_start_ratio # means the snapshot_start_point = len(t)//snapshot_start_ratio | ||
argument[8] -- snapshot_end_ratio # means the snapshot_end_point = len(t)*(100-snapshot_end_ratio)//100 | ||
|
||
|
||
|
||
*********************************** | ||
************ dmd.ipynb ************ | ||
*********************************** | ||
|
||
aky = 0.9 | ||
delt = 0.05 # temporal resolution | ||
ntheta = 256 # spatial resolution | ||
nperiod = 3 # another sparial resolution parameter, but 3 is sufficient, 6/8/12 do not seem to be helpful | ||
|
||
ns = 1 # DMD-order | ||
index = 5 # number of SVD-truncation | ||
snapshot_start_ratio = 5 # means the start_point = len(t)//snapshot_start_ratio | ||
snapshot_end_ratio = 8 # means the end_point = len(t)*(100-snapshot_end_ratio)//100 | ||
|
||
|
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,29 @@ | ||
### Python commend arguments with optimized SVD truncation and snapshot start/end ratio ### | ||
|
||
2.9 0.005 256(128,64,32) 3 1 6 14 15 | ||
2.9 0.01 256(128,64,32) 3 1 6 14 15 | ||
2.9 0.025 256(128,64,32) 3 1 6 14 15 | ||
2.9 0.05 256(128,64,32) 3 1 6 14 15 | ||
2.9 0.1 256(128,64,32) 3 1 6 14 15 | ||
|
||
2.25 0.005 256(128,64,32) 3 1 6 14 29 | ||
2.25 0.01 256(128,64,32) 3 1 6 14 29 | ||
2.25 0.025 256(128,64,32) 3 1 6 14 35 | ||
2.25 0.05 256(128,64,32) 3 1 6 14 35 | ||
2.25 0.1 256(128,64,32) 3 1 6 14 35 | ||
|
||
1.9 0.005 256(128,64,32) 3 1 6 14 71 | ||
1.9 0.01 256(128,64,32) 3 1 6 14 71 | ||
1.9 0.025 256(128,64,32) 3 1 6 14 71 | ||
1.9 0.05 256(128,64,32) 3 1 6 14 71 | ||
1.9 0.1 256(128,64,32) 3 1 6 14 71 | ||
|
||
1.4 0.005 256(128,64,32) 3 1 6 14 39 | ||
1.4 0.01 256(128,64,32) 3 1 6 14 39 | ||
1.4 0.025 256(128,64,32) 3 1 6 14 39 | ||
1.4 0.05 256(128,64,32) 3 1 6 14 39 | ||
1.4 0.05 256(128,64,32) 3 1 6 14 39 | ||
|
||
0.9 0.05 256(128,64,32) 3 1 5 5 8 | ||
0.9 0.01 132 3-nstep=5000 1 5 2 1 | ||
0.9 0.01 132 3-nstep=15000 1 5 6 65 |