This file contains hidden or 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
| from functools import partial | |
| import jax.numpy as jnp | |
| import matplotlib.pyplot as plt | |
| NVOX = 3 | |
| t = jnp.linspace(0, 1, 100) | |
This file contains hidden or 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
| import numpy as np | |
| import matplotlib.pyplot as plt | |
| E = np.exp(1) | |
| def f_lin(x, alpha): | |
| return alpha * x | |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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
| import numpy as np | |
| import matplotlib.pyplot as plt | |
| from scipy import signal, ndimage | |
| from sporco.admm import tvl1, tvl2 | |
| # Sample image | |
| x = np.linspace(-1,1,128) | |
| r1 = .4 | |
| r2 = .9 |