synthpop.modules.population_density.gums_thickdisk
Thick Disk density model from the Gaia Unvierse Model Snapshot
Classes
Thick Disk density model from the Gaia Unvierse Model Snapshot |
Module Contents
- class synthpop.modules.population_density.gums_thickdisk.GumsThickdisk(rho0, hr, hz, flare_flag=True, **kwargs)
Bases:
synthpop.modules.population_density._population_density.PopulationDensityThick Disk density model from the Gaia Unvierse Model Snapshot
Attributes
rho0 : float hz : float hr : float flare_flag : boolean
- name = 'GumsThickdisk'
- density_unit = 'mass'
- rho0
- hz
- hr
- flare_flag = True
- 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.