## ./

# mwdens.pro

## topmwdens

Astrophysics

`result = mwdens(l, b, d, frac=frac)`

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.

### Return value

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)

### Parameters

- 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.

### Keywords

- frac

### Author information

- History:
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

## File attributes

Modifcation date: | Mon Mar 22 16:17:13 2010 |

Lines: | 108 |