Compare commits
No commits in common. "7cf9683744ce6e78177ff04b70b8c9cfbe6560bf" and "e9a509c0f718d25ae2d0a80dd253cbc41ab8661f" have entirely different histories.
7cf9683744
...
e9a509c0f7
@ -5,13 +5,9 @@ Relaxed ELectrophysiology Acquisition, Control, and Stimulation in python
|
||||
Implementing [relacs](https://github.com/relacs/relacs) with MCC USB 1608GX-2AO / 1808X devices ([multifunction-usb-daq-devices](https://digilent.com/shop/mcc-daq/data-acquisition/low-cost-daq/))
|
||||
|
||||
# Installation
|
||||
You have to install the MCC library (follow the installing instructions for [linux/macOS](https://github.com/mccdaq/uldaq) or [windows](https://github.com/mccdaq/mcculw)).
|
||||
You have to install the MCC library (follow the installing instructions for [linux](https://github.com/mccdaq/uldaq) or [windows](https://github.com/mccdaq/mcculw)).
|
||||
|
||||
For MacOs if you run into problems with the libusb library that was installed with homebrew, there is an issue thread on the uldaq repository.
|
||||
|
||||
[https://github.com/mccdaq/uldaq/issues/44](https://github.com/mccdaq/uldaq/issues/44)
|
||||
|
||||
After successful installing, you can use clone the repository and install it with
|
||||
After successful installing, you can use clone the reposity and install it with
|
||||
|
||||
```sh
|
||||
pip install -e .
|
||||
|
@ -129,7 +129,7 @@ class PyRelacs(QMainWindow):
|
||||
# name=stim.name,
|
||||
)
|
||||
self.power_plot.plot(f_sq, powerspec_sq, pen=pen)
|
||||
self.power_plot.plot(f[peaks], powerspec_sq[peaks], pen=None, symbol="x")
|
||||
# self.power_plot.plotItem.scatterPlot(f[peaks], powerspec_sq[peaks])
|
||||
|
||||
def connect_dac(self):
|
||||
devices = uldaq.get_daq_device_inventory(uldaq.InterfaceType.USB)
|
||||
|
@ -1,3 +1,5 @@
|
||||
import signal
|
||||
import sys
|
||||
import faulthandler
|
||||
import time
|
||||
|
||||
@ -6,14 +8,13 @@ import uldaq
|
||||
from IPython import embed
|
||||
import numpy as np
|
||||
import matplotlib.pyplot as plt
|
||||
from scipy.signal import welch
|
||||
from scipy.signal import welch, csd
|
||||
from scipy.signal import find_peaks
|
||||
|
||||
from pyrelacs.devices.mccdac import MccDac
|
||||
from pyrelacs.util.logging import config_logging
|
||||
|
||||
log = config_logging()
|
||||
# for more information on seg faults
|
||||
faulthandler.enable()
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user