calculate_proper_motions

macauff.calculate_proper_motions(d, l, b, temp, n)[source]

Calculates the statistical distribution of proper motions of a sightline, from a set of theoretical sources within the particular sky area.

Parameters:
dnumpy.ndarray

The set of distances to each theoretical source.

lnumpy.ndarray

The Galactic longitudes of each simulated source.

bnumpy.ndarray

The Galactic latitude of each source.

tempnumpy.ndarray

The simulated effective temperature of each object.

ninteger

The number of realisations of each object’s Galactic velocities to draw from its dispersion relation.

Returns:
pmnumpy.ndarray

The Galactic and Equatorial proper motions of the len(d) simulated sources, for the three simulated Galactic components each with n velocity dispersion realisations.

type_fracsnumpy.ndarray

The density-based weightings of each of the three Galactic components for each source in d, broadcast to shape (len(d), 3, n) to match the shape of pm.