synthpop.modules.population_density.koshimoto2021_thindisk
Thin disk density profile from Koshimoto et al (2021)
Classes
Thin disk density profile from Koshimoto et al. (2021) |
Module Contents
- class synthpop.modules.population_density.koshimoto2021_thindisk.Koshimoto2021Thindisk(R0, z0, z45, rho0, Rbreak=5.3, **kwargs)
Bases:
synthpop.modules.population_density._population_density.PopulationDensityThin disk density profile from Koshimoto et al. (2021)
Attributes
- R0float [kpc]
disk scale length
- z0float [kpc]
disk scale height at the solar position for linear scale height model
- z45float [kpc]
disk scale height at 4.5 kpc for linear scale height model
- rho0float [M_sum/kpc^3]
mass density at the solar position
- Rbreakfloat [kpc]
distance within which surface density is flat
- density_unit = 'mass'
- R0
- z0
- z45
- rho0
- Rbreak = 5.3
- density(r: numpy.ndarray, phi_rad: numpy.ndarray, z: numpy.ndarray) numpy.ndarray
Estimates the density at the given position
Parameters
- rndarray [‘kpc’]
Distance to z axis
- phi_radndarray [‘rad’]
azimuth angle of the stars. phi_rad = 0 is pointing towards sun.
z : height above the galactic plane (corrected for warp of the galaxy)
Returns
- rhondarray [M_sun/kpc^3 or #/kpc^3]
density at the given location, either in number density evolved mass density or initial mass density should be specified in density_unit.