astrometry Functions and methods for generating the selection functions for astrometry samples of Gaia data releases.