galpy.df.streamdf.length¶
-
streamdf.
length
(threshold=0.2, phys=False, ang=False, tdisrupt=None, **kwargs)[source]¶ NAME:
lengthPURPOSE:
calculate the length of the streamINPUT:
threshold - threshold down from the density near the progenitor at which to define the ‘end’ of the stream
phys= (False) if True, return the length in physical kpc
ang= (False) if True, return the length in sky angular arc length in degree
- coord - coordinate to return the density in (‘apar’ [default],
- ‘ll’,’ra’,’customra’,’phi’)
OUTPUT:
length (rad for parallel angle; kpc for physical length; deg for sky arc length)HISTORY:
2015-12-22 - Written - Bovy (UofT)