Answer
No, Gellner was not primarily an astrophysicist. He was a sociologist and philosopher, and his work focused on the relationship between science and society. He was particularly interested in the way that scientific knowledge is produced and disseminated, and how it shapes our understanding of the world.