an instrument used to detect and measure seismic waves