Commit cc6f6d7
Gradient Descent (#181)
* Added ArbitraryDistributionVolumeEmitter
* Updated particle weight calculation
* renamed thermionic_emission test directory to emission
* arbitrary seed from uniform distribution
* Bug fixes and changes to test
* add test for arbitrary seeding
* Changed position sampling, added test
* Removed unused imports and code
* revert traceback printout
* Added comments for binning particle positions
* increased rtol for test
* Allow input of any 2d array, add interpolation of 2d array onto current simulation grid
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Updated changelog
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Updated changelog
* update version
* created steady_state_descent.py file
* Added coarsening algorithm
* Added ability to read numpy data and coarsen grid
* Added regression function calculation
* Solve system of equations rather than curve fit
* Use skimage block_reduce
* Hard coded inverse exponential solve
* take mean if exponential equation can't be solved
* Added special cases to use linear regression
* Update docstring
* Added command line arguments
* Modified linear regression logic and added main function
* Added entry point
* Change output file name
* Change output file name
* Fixed interpolate grid
* updated arbitrary distribution emitter test
* Fix interpolation logic
* Changed to take in exact prediction timestep rather than a multiple
* Added ability to specify save directory
* Updated docstrings, removed unneeded files
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Added gradient descent test, refactored code
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Changed test parameters
* Increase rtol of arbitrary seed test by 0.01
* Update mewarpx/mewarpx/utils_store/plasma_density_oracle.py
Co-authored-by: Roelof Groenewald <[email protected]>
* Update changelog
* Update version
* Add controller for plasma density oracle
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* WIP oracle control
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Allow oracle control bins to be overridden
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Added command line arguments
* Fixed bugs, added info logging
* added ability to modify run_script
* removed unnecessary code
* Cleaned up code
* Refactored code to be clearer
* Update docstrings
* Added test
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Added documentation about oracle_control
* Updated changelog
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Fixed TOTAL_TIME calculation
* update wheel in docker build
* change numpy to oldest-supported-numpy for docker
* Updated formatting and documentation
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>1 parent 0d2d104 commit cc6f6d7
File tree
18 files changed
+688
-18
lines changed- mewarpx
- mewarpx
- utils_store
- tests
- test_files
- temp
- utils/plasma_density_oracle
- diags/fields
18 files changed
+688
-18
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
3 | 16 | | |
4 | 17 | | |
5 | 18 | | |
| |||
8 | 21 | | |
9 | 22 | | |
10 | 23 | | |
| 24 | + | |
11 | 25 | | |
12 | 26 | | |
13 | 27 | | |
14 | 28 | | |
15 | 29 | | |
16 | 30 | | |
| 31 | + | |
17 | 32 | | |
18 | 33 | | |
19 | 34 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
31 | | - | |
| 32 | + | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2067 | 2067 | | |
2068 | 2068 | | |
2069 | 2069 | | |
2070 | | - | |
2071 | | - | |
| 2070 | + | |
2072 | 2071 | | |
2073 | 2072 | | |
2074 | 2073 | | |
| |||
2100 | 2099 | | |
2101 | 2100 | | |
2102 | 2101 | | |
2103 | | - | |
2104 | 2102 | | |
2105 | | - | |
2106 | | - | |
| 2103 | + | |
| 2104 | + | |
| 2105 | + | |
| 2106 | + | |
| 2107 | + | |
2107 | 2108 | | |
| 2109 | + | |
| 2110 | + | |
| 2111 | + | |
2108 | 2112 | | |
2109 | 2113 | | |
2110 | | - | |
2111 | | - | |
| 2114 | + | |
| 2115 | + | |
| 2116 | + | |
2112 | 2117 | | |
2113 | 2118 | | |
2114 | 2119 | | |
| |||
0 commit comments