pgomes92 / opensignalsreader Goto Github PK
View Code? Open in Web Editor NEWPython package to read OpenSignals (r)evolution files and automatic sensor data conversion using BITalino (r)evolution transfer functions.
License: MIT License
Python package to read OpenSignals (r)evolution files and automatic sensor data conversion using BITalino (r)evolution transfer functions.
License: MIT License
acq = OpenSignalsReader('FCz_EEG-ACC_standing ideal.txt')
Traceback (most recent call last):
File "", line 1, in
acq = OpenSignalsReader('FCz_EEG-ACC_standing ideal.txt')
File "C:\Users\HARSHAL\Anaconda3\lib\site-packages\opensignalsreader\opensignalsreader.py", line 92, in init
self._read_file(os_file)
File "C:\Users\HARSHAL\Anaconda3\lib\site-packages\opensignalsreader\opensignalsreader.py", line 124, in _read_file
self._read_sensordata()
File "C:\Users\HARSHAL\Anaconda3\lib\site-packages\opensignalsreader\opensignalsreader.py", line 208, in _read_sensordata
self._converted_signals.update({sensor: self._convert_data(sensor, data[:, -n])})
File "C:\Users\HARSHAL\Anaconda3\lib\site-packages\opensignalsreader\opensignalsreader.py", line 251, in _convert_data
output = self.transfer_functions[sensor](samples, self.sampling_resolution[sensor])
File "C:\Users\HARSHAL\Anaconda3\lib\site-packages\opensignalsreader\transfer_functions\bit.py", line 147, in eeg
_check_ranges(eeg_samples, 'EEG')
File "C:\Users\HARSHAL\Anaconda3\lib\site-packages\opensignalsreader\transfer_functions\bit.py", line 780, in _check_ranges
% (sensor, np.min(signal), units[sensor], ranges[sensor][1], units[sensor]), stacklevel=2)
TypeError: must be real number, not str
If i used opensignalsreader for single sensor data file then its perfectly work, multisensor data file gives above error.
help me...
signal() method is returning raw signals.
Hi @PGomes92 ,
the following line breaks opensignalreader.py in Python 3:
In Python 3, dict.keys() returns a dict_keys object which cannot be indexed. Using list (dict.keys()) should fix that.
import opensignalsreader.bitalino_tf as bit
Traceback (most recent call last):
File "", line 1, in
import opensignalsreader.bitalino_tf as bit
ModuleNotFoundError: No module named 'opensignalsreader.bitalino_tf'
after successfully installing opensignalsreader module using pip install opensignalsreader from command prompt, when i write from opensignalsreader import OpenSignalsReader in spyder(Anaconda), i got ModuleNotFoundError: No module named 'opensignalsreader' found
kindly help me
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.