Positions (skypy.position
)¶
Uniform distributions¶
The simplest distribution of positions on the sky is the uniform distribution
over a circular region with given centre and area. To sample this distribution,
use the uniform_around
function:
# survey information
survey_centre: !astropy.coordinates.SkyCoord [ '3h50m59.75s', '+54d39m22.15s' ]
survey_area: !astropy.units.Quantity [ '1000 deg2' ]
# sample 500 galaxies in survey
positions: !skypy.position.uniform_around
centre: $survey_centre
area: $survey_area
size: 500
Reference/API¶
skypy.position Package¶
Module for sampling positions on the sky.
Functions¶
|
Uniform distribution of points around location. |