Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 577 Bytes

README.md

File metadata and controls

25 lines (17 loc) · 577 Bytes

RHD

A module for reading Intan RHD2000 files (*.rhd).

Code written by Michael Gibson 17 July 2015

Module-ified by Kyler Brown, 2016.

installation

git clone https://github.com/kylerbrown/rhd.git
cd rhd
python setup.py install

usage

import rhd
# To keep memory usage down, use argument no_floats=True.
# Otherwise, data is loaded as floating point arrays
# (4x the space required).
data = rhd.read_data("file.rhd", no_floats=True)
import matplotlib.pyplot as plt
plt.plot(data['amplifier_data'][:,:1000].T)
plt.show()