diskpy.ICgen.sigprofiles package¶
Submodules¶
diskpy.ICgen.sigprofiles.powerlaw module¶
Created on Tue Jul 21 16:23:50 2015
@author: ibackus
-
diskpy.ICgen.sigprofiles.powerlaw.
powerlaw
(settings, T=None)[source]¶ Generates a surface density profile according to a powerlaw sigma ~ 1/r with a smooth interior cutoff and smooth exterior exponential cutoff.
ARGUMENTS
- settings : IC settings
- settings like those contained in an IC object (see ICgen_settings.py)
- T : callable function
- Function that returns temperature of the disk as a function of radius IF none, a powerlaw temperature is assumed
RETURNS
- R : SimArray
- Radii at which sigma is calculated
- sigma : SimArray
- Surface density profile as a function of R