Answer: spectrograph
Step-by-step explanation:
A spectrograph is a apparatus that divides the incident light from an object into a frequency spectrum and measures the amount of radiation at every wavelength by dispersing radiation into a spectrum and also records it.
Therefore, An astronomer who wishes to photograph the light spectrum would use a spectrograph.