PIA-Group / BioSPPy

Biosignal Processing in Python
Other
573 stars 274 forks source link

Loading Acqknowledge files #32

Closed bobchicken closed 7 years ago

bobchicken commented 7 years ago

Hi this might be a stupid question - I don't have much experience working with Python/Signal processing...

I have acquired my data with Biopac Acqknowledge and converted the signals into a text file. When trying to load it with the np.loadtxt command I get errors 'ValueError: could not convert string to float:' . Does Biosppy not support the acqknowledge outputs?

Thanks,

stjep commented 7 years ago

Open the file, if it contains anything other than numbers (for example the channel names), then that is causing your error.

Your best in working with AcqKnowledge files is to use bioread and deal with the data coming out of that. This means that you can keep the AcqKnowledge files in their native format (.acq).

capcarr commented 7 years ago

Hi @bobchicken BioSPPy does not directly support any kind of proprietary file format. But it works with any signal, as long as you are able to load it onto a numpy array. I would follow @stjep's suggestion of using bioread.