The field of professional astronomy was eventually divided into 2 branches , observational and theoretical , when did this happen ?
A related but distinct subject , cosmology , is concerned with studying the universe as a whole .