Skip to content

Commit

Permalink
Feature/linear example (#41)
Browse files Browse the repository at this point in the history
* dummy code working

* wip...

* minor updates

* show 2-2

* working plots

* improve runtimes with repeated measurements

* working code

* udpate

* checkpoint

* all good now

* singular value plot

* new figure

* transparency

* point to release candidate

* bump to official version

* leg_fsize -> legend_fsize

* more helpful error messages on assert

* Apply (cleanup) suggestions from code review

* fix typo + styling
  • Loading branch information
mathematicalmichael authored Apr 25, 2021
1 parent 41d41c1 commit 94a9491
Show file tree
Hide file tree
Showing 6 changed files with 350 additions and 54 deletions.
2 changes: 1 addition & 1 deletion .flake8
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ filename =
disable-noqa = False

# Set the maximum length that any line (with some exceptions) may be.
max-line-length = 88
max-line-length = 120
# Set the maximum allowed McCabe complexity value for a block of code.
max-complexity = 10
# Toggle whether pycodestyle should enforce matching the indentation of the opening bracket’s line.
Expand Down
2 changes: 1 addition & 1 deletion notebooks/MUD-Discretized.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1894,7 +1894,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.6"
"version": "3.8.8"
},
"latex_envs": {
"LaTeX_envs_menu_present": true,
Expand Down
3 changes: 2 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ package_dir =
# DON'T CHANGE THE FOLLOWING LINE! IT WILL BE UPDATED BY PYSCAFFOLD!
setup_requires = pyscaffold>=3.2a0,<3.3a0
# Add here dependencies of your project (semicolon/line-separated), e.g.
install_requires = mud~=0.0.22
install_requires = mud~=0.0.24
numpy
scipy
matplotlib
Expand Down Expand Up @@ -64,6 +64,7 @@ pub =
console_scripts =
mud_examples = mud_examples.runner:run
generate_poisson_data = mud_examples.poisson:run
mud_run_lin_meas = mud_examples.linear.lin:run_meas
mud_run_inv = mud_examples.runner:run_monomial
mud_run_lin = mud_examples.runner:run_linear
mud_run_pde = mud_examples.runner:run_pde
Expand Down
Loading

0 comments on commit 94a9491

Please sign in to comment.