We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b9a633 commit 2b50956Copy full SHA for 2b50956
bluemira/magnets/solenoid_tools.py
@@ -8,8 +8,6 @@
8
Tools for simple solenoid calculations.
9
"""
10
11
-from typing import Tuple
12
-
13
import numpy as np
14
15
from bluemira.magnetostatics.semianalytic_2d import semianalytic_Bx, semianalytic_Bz
@@ -60,7 +58,7 @@ def calculate_hoop_radial_stress(
60
58
r_outer: float,
61
59
r: float,
62
poisson_ratio: float = 0.3,
63
-) -> Tuple[float]:
+) -> tuple[float]:
64
65
Calculate the hoop and radial stress at a radial location in a solenoid
66
0 commit comments