This function returns the number density of stars in the Milky Way, as a function of galactic coordinates. It models a circularly symmetric thin and thick disk. The parameters describing these disks come from Bochanski et al. 2009.
The number density of stars as a function of (l,b,d). This has been approximately normalized, but the normalization factor may not be very accurate (n = .048 stars pc^-3 at the sun)
- l in required
The galactic longitude. Scalar or vector in DEGREES
- b in required
The galatic latitude. Scalar or vector in DEGREES.
- d in required
The distance from the sun. Scalar or vector in parsecs.
Sep 2009: Written by Chris Beaumont. Oct 2009: Galaxy parameters updated. Calling sequence changed. cnb. Nov 2009: Added normalization constant. cnb. Dec 2009: Removed galaxy truncation
|Modifcation date:||Mon Mar 22 16:17:13 2010|