Skip to content

Commit

Permalink
doc: fix minor issues
Browse files Browse the repository at this point in the history
  • Loading branch information
remy-abergel committed Nov 12, 2024
1 parent 1f0faeb commit 5aee77b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@

### documentation

- fixed minor issues in demonstration examples

- fixed pip installation instructions in [README.md](README.md)

## v1.0.0 (October 16, 2024)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
# prepare display
plt.figure(figsize=(10, 4))
theta = backend.arctan2(fg[1], fg[0])
proj_extent = [t.item() for t in (B[0], B[-1], theta[0]*180./math.pi, theta[-1]*180./math.pi)]
proj_extent = [B[0].item(), B[-1].item(), proj_mixture.shape[0] - 1, 0]

# display reference spectrum of the sample (contains one tube of TAM
# and one tube of TEMPO)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
# prepare display
plt.figure(figsize=(10, 4))
theta = backend.arctan2(fg[1], fg[0])
proj_extent = [t.item() for t in (B[0], B[-1], theta[0]*180./math.pi, theta[-1]*180./math.pi)]
proj_extent = [B[0].item(), B[-1].item(), proj_mixture.shape[0] - 1, 0]

# display reference spectrum of the sample (contains one tube of TAM
# and one tube of TEMPO)
Expand Down
2 changes: 1 addition & 1 deletion src/pyepri/processing.py
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ def tv_multisrc(proj, B, fgrad, delta, h, lbda, out_shape,
eval_energy=False, disable_toeplitz_kernel=False,
verbose=False, video=False, Ndisplay=20,
displayer=None, eps=1e-6, notest=False):
r"""EPR source separation TV-regularized least-squares.
r"""EPR source separation using TV-regularized least-squares.
This function implements the multi-sources EPR image
reconstruction method presented in :cite:p:`Boussaa_2023`. This
Expand Down

0 comments on commit 5aee77b

Please sign in to comment.