Astrometry for astrophysics : methods, models, and applications