R/re2h.R

re2h = function(n, re = 1){
    # convert re to scalelength
    bn = qgamma(0.5,2*n)
    h = re/(bn^n)
    return(h)
}
taranu/astro documentation built on May 23, 2019, 7:36 a.m.