You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: torax/imas_tools/core_profiles.py
+7-1Lines changed: 7 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -75,7 +75,7 @@ def core_profiles_from_IMAS(
75
75
#profile_conditions
76
76
# Should we shift it to get psi=0 at the center ?
77
77
ifnotread_psi_from_geo:
78
-
psi= {t_initial: {rhon_array[0][rj]: 1*(profiles_1d[0].grid.psi[rj]) forrjinrange(len(rhon_array[0]))}} #To discuss either we provide it here or init it from geo
78
+
psi= {t_initial: {rhon_array[0][rj]: (profiles_1d[0].grid.psi[rj]) forrjinrange(len(rhon_array[0]))}} #To discuss either we provide it here or init it from geo
79
79
else:
80
80
psi=None
81
81
#Will be overwritten anyway if Ip_from_parameters = False, when Ip is given from the equilibrium (in most cases probably).
0 commit comments