galpy.df.quasiisothermaldf.surfacemass_z¶
- quasiisothermaldf.surfacemass_z(R, nz=7, zmax=1.0, fixed_quad=True, fixed_order=8, **kwargs)[source]¶
Calculate the vertically-integrated surface density.
- Parameters:
R (float or Quantity) – Galactocentric radius.
nz (int, optional) – Number of zs to use to estimate. Default is 7.
zmax (float or Quantity, optional) – Maximum z to use. Default is 1.0.
fixed_quad (bool, optional) – If True (default), use Gauss-Legendre integration.
fixed_order (int, optional) – Order of GL integration to use. Default is 8.
**kwargs (dict) – Density kwargs.
- Returns:
Surface density at R.
- Return type:
float or Quantity
Notes
2012-08-30 - Written - Bovy (IAS)