ism3d.arts.dynamics.pots_to_vcirc

ism3d.arts.dynamics.pots_to_vcirc(pots, rho, pscorr=None)[source]

calculate vcirc and vrot from galactocentric distance and galpy.potential post is a list of ponetials

optionally, a dispersion-based pressure correcton can be applied to provide partial support (tehrefore, decrease vrot) pscorr=(vSigma,ExpDisk_scale_length) note: this is only correct if the non-DM is in a exp-disk

vcirc: no pressure correction vrot: pressure correction

optionall

vcirc[0,:] = rotational velocity after the correction vcirc[1,:] = rotatipnal velocity before the correction vcirc{2:,:] = contribution from individial potentials