Skip to content

Commit

Permalink
Fix bug in example jupyter notebook.
Browse files Browse the repository at this point in the history
  • Loading branch information
nnmurthy authored and sravan953 committed Mar 1, 2023
1 parent 05388cd commit a18e34f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
1 change: 1 addition & 0 deletions pypulseq/Sequence/sequence.py
Original file line number Diff line number Diff line change
Expand Up @@ -875,6 +875,7 @@ def plot(
time_range=(0, np.inf),
time_disp: str = "s",
grad_disp: str = "kHz/m",
plot_now: bool = True
) -> None:
"""
Plot `Sequence`.
Expand Down
1 change: 0 additions & 1 deletion pypulseq/make_arbitrary_rf.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ def make_arbitrary_rf(
phase_offset: float = 0,
return_delay: bool = False,
return_gz: bool = False,
return_delay: bool = False,
slice_thickness: float = 0,
system: Opts = Opts(),
time_bw_product: float = 0,
Expand Down
6 changes: 3 additions & 3 deletions pypulseq/seq_examples/notebooks/write_t2_se.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"from pypulseq.make_adc import make_adc\n",
"from pypulseq.make_delay import make_delay\n",
"from pypulseq.make_sinc_pulse import make_sinc_pulse\n",
"from pypulseq.make_trap_pulse import make_trapezoid\n",
"from pypulseq.make_trapezoid import make_trapezoid\n",
"from pypulseq.opts import Opts"
]
},
Expand Down Expand Up @@ -183,12 +183,12 @@
"flip180 = 180 * pi / 180\n",
"rf90, gz90, _ = make_sinc_pulse(flip_angle=flip90, system=system, duration=4e-3, \n",
" slice_thickness=slice_thickness, apodization=0.5, \n",
" time_bw_product=4)\n",
" time_bw_product=4, return_gz = True)\n",
"rf180, gz180, _ = make_sinc_pulse(flip_angle=flip180, system=system, \n",
" duration=2.5e-3, \n",
" slice_thickness=slice_thickness, \n",
" apodization=0.5, \n",
" time_bw_product=4, phase_offset=90 * pi/180)"
" time_bw_product=4, phase_offset=90 * pi/180, return_gz = True)"
]
},
{
Expand Down

0 comments on commit a18e34f

Please sign in to comment.