R/h2re.R

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