pencil.diag.gas_alpha

Functions

gas_alpha([sim, t_range, OVERWRITE])

This calculates the global alpha-value from ts object via

Module Contents

pencil.diag.gas_alpha.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_<lastNentries>

Returns:

alpha dictionary