Astronomical techniques and data analysis