pencil.diag.gas_alpha ===================== .. py:module:: pencil.diag.gas_alpha Functions --------- .. autoapisummary:: pencil.diag.gas_alpha.gas_alpha Module Contents --------------- .. py:function:: gas_alpha(sim=False, t_range=[0, -1], OVERWRITE=False) This calculates the global alpha-value from ts object via alphah=(2./3.)*(ts3.uxuym)/(ts3.rhom*ts3.csm**2) for the lastNentries of the time series. Input: t_range use this time range of the timeseries OVERWRITE overwrite alpha file in sim.pc_datadir/alpha_ :returns: alpha dictionary