Skip to content

Commit

Permalink
Fix some things.
Browse files Browse the repository at this point in the history
  • Loading branch information
tsalo committed Aug 16, 2023
1 parent 8ed756a commit 100f08a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions content/TE_Dependence.md
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ X2 = ((echo_times * mean_sig) / mean_t2s)[:, None] # Model 2
The predicted curve for the S0 model matches the real curve perfectly!

```{code-cell} ipython3
:tags: [hide-cell]
:tags: [hide-input]
B = d_sig2[:, None] # (E x S)
alpha = (np.abs(B) ** 2).sum(axis=0)
Expand Down Expand Up @@ -321,7 +321,7 @@ It seems like the mismatch increases as the difference between the fluctuating v
The fitted curve seems to actually match the mean signal, not the perturbed signal!

```{code-cell} ipython3
:tags: [hide-cell]
:tags: [hide-input]
B = d_sig3[:, None] # (E x S)
alpha = (np.abs(B) ** 2).sum(axis=0)
Expand Down
2 changes: 1 addition & 1 deletion content/plot_approach_figures.md
Original file line number Diff line number Diff line change
Expand Up @@ -575,7 +575,7 @@ Scatter plot of voxel's signal for each echo with T2* estimate.
```{code-cell} ipython3
:tags: [hide-cell]
fig, ax = plt.subplots()
sns.barplot(echo_times, alpha, ax=ax, palette=pal)
sns.barplot(x=echo_times, y=alpha, ax=ax, palette=pal)
ax.set_ylabel("Weight", fontsize=16)
ax.set_xlabel("Echo Time (ms)", fontsize=16)
ax.tick_params(axis="both", which="major", labelsize=14)
Expand Down

0 comments on commit 100f08a

Please sign in to comment.