Instrument used for recording changes in heartbeat