hhgalpy.df.diskdf.sampleLOS¶
-
diskdf.
sampleLOS
(los, n=1, deg=True, maxd=None, nsigma=None, targetSurfmass=True, targetSigma2=True)[source]¶ NAME:
sampleLOSPURPOSE:
sample along a given LOSINPUT:
los - line of sight (in deg, unless deg=False; can be Quantity)
n= number of desired samples
deg= los in degrees? (default=True)
- targetSurfmass, targetSigma2= if True, use target surface mass and sigma2 profiles, respectively (there is not much point to doing the latter)
- (default=True)
OUTPUT:
returns list of Orbits- BUGS:
- target=False uses target distribution for derivatives (this is a detail)
HISTORY:
2011-03-24 - Started - Bovy (NYU)