We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 870f6f1 commit 43356bbCopy full SHA for 43356bb
1 file changed
torax/imas_tools/equilibrium.py
@@ -214,7 +214,7 @@ def geometry_to_IMAS(
214
eq.profiles_1d.elongation = geometry.elongation_face
215
eq.global_quantities.magnetic_axis.z = geometry._z_magnetic_axis
216
eq.global_quantities.ip = -1 * geometry.Ip_profile_face[-1]
217
- eq.profiles_1d.j_phi = -1 * geometry.j_total_face
+ eq.profiles_1d.j_phi = -1 * core_profiles.j_total_face
218
eq.profiles_1d.volume = geometry.volume_face
219
eq.profiles_1d.area = geometry.area_face
220
eq.profiles_1d.rho_tor = np.sqrt(geometry.Phi_face / (np.pi * geometry.B_0))
0 commit comments