Skip to content

Commit

Permalink
fix docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
schuenke committed Apr 10, 2024
1 parent c68e2ab commit 682864a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pypulseq/make_extended_trapezoid_area.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ def make_extended_trapezoid_area(
Time points of the extended trapezoid.
amplitude : numpy.ndarray
Amplitude values of the extended trapezoid.
Raises
------
ValueError if no solution was found that satisfies the constraints and the desired area.
"""
if not system:
system = Opts()
Expand Down Expand Up @@ -66,10 +70,6 @@ def _find_solution(duration: int) -> Union[None, Tuple[int, int, int, float]]:
Returns
-------
Tuple of ramp-up time, flat time, ramp-down time, gradient amplitude or None if no solution was found
Raises
------
ValueError if no solution was found that satisfies the constraints and the desired area.
"""

# Calculate possible ramp-up times for given duration
Expand Down

0 comments on commit 682864a

Please sign in to comment.