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 forvmaxand only used if bothgammaandrcoreare notNone. Defaults toNone.rcore (
float, optional) – A replacement forrmaxand only used if bothgammaandrcoreare 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.