-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add j_actuator calcuation to omas physics #170
Conversation
Co-authored-by: Orso Meneghini <orso82@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To be more general core_profiles_currents_summary
should take ax
and not fig
as argument. All the rest are minor comments.
omas/omas_plot.py
Outdated
@@ -1040,6 +1040,52 @@ def equilibrium_summary(ods, time_index=None, time=None, fig=None, ggd_points_tr | |||
|
|||
return {'ax': axs} | |||
|
|||
@add_to__ODS__ | |||
def core_profiles_currents_summary(ods, time_index=None, time=None, fig=None, **kw): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This function plots all in one axis. So it would be more general to not take fig
as an input argument, but rather take ax
. This would allow this function to be used in someone's figure (maybe with different subplots). See for example the core_profiles_pressures( )
function.
Co-authored-by: Orso Meneghini <orso82@gmail.com>
Co-authored-by: Orso Meneghini <orso82@gmail.com>
Co-authored-by: Orso Meneghini <orso82@gmail.com>
Co-authored-by: Orso Meneghini <orso82@gmail.com>
Co-authored-by: Orso Meneghini <orso82@gmail.com>
No description provided.