Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions process/models/pfcoil.py
Original file line number Diff line number Diff line change
Expand Up @@ -4437,7 +4437,8 @@ def peak_b_field_at_pf_coil(
Raises
------
ProcessValueError
Illegal value of t_b_field_peak
Illegal value of t_b_field_peak: i.e. could not determine whether
the peak current occurred at pulse start, flat-top, or pulse end.

Notes
-----
Expand Down Expand Up @@ -4478,7 +4479,9 @@ def peak_b_field_at_pf_coil(
t_b_field_peak = 5
else:
raise ProcessValueError(
"Illegal value of it; possible rounding error",
"Illegal value of t_b_field_peak; "
"could not determine whether the peak current occurred at pulse start, "
"flat-top, or pulse end. Possible rounding error",
t_b_field_peak=t_b_field_peak,
)

Expand Down
Loading