galpy.df.streamdf.density_par

streamdf.density_par(dangle, coord='apar', tdisrupt=None, **kwargs)[source]

Calculate the density as a function of a parallel coordinate

Parameters:
  • dangle (float) – Parallel angle offset for this coordinate value

  • coord (str, optional) – Coordinate to return the density in (‘apar’ [default], ‘ll’,’ra’,’customra’,’phi’)

  • tdisrupt (float, optional) – Time since the disruption to calculate the density at (in galpy natural units). If None, use the current time (default: None).

Returns:

Density(angle)

Return type:

float

Notes

  • 2015-11-17 - Written - Bovy (UofT)