get_radial_velocity#
- sunkit_image.asda.get_radial_velocity(gamma, rcore, ratio_vradial, r=0)[source]#
Calculate radial (expanding or shrinking) speed at radius of
r
.- Parameters:
gamma (
float
, optional) – A replacement forvmax
and only used if bothgamma
andrcore
are notNone
. Defaults toNone
.rcore (
float
, optional) – A replacement forrmax
and only used if bothgamma
andrcore
are notNone
. Defaults toNone
.ratio_vradial (
float
, optional) – Ratio between expanding/shrinking speed and rotating speed. Defaults to 0.r (
float
, optional) – Radius which defaults to 0.
- Returns:
float
– Radial speed at the radius ofr
.