Binary traces formats such as np/npz(numpy), hdf5 or parquet

Post general discussions on using our drivers to write your own software here
Post Reply
sebma
Newbie
Posts: 0
Joined: Wed Jul 05, 2017 2:50 pm

Binary traces formats such as np/npz(numpy), hdf5 or parquet

Post by sebma » Wed Jul 05, 2017 3:10 pm

Hi,

I need our picoscope to dump it's data to a binary format such as np/npz(numpy) https://docs.scipy.org/doc/numpy/neps/npy-format.html, hdf5 https://support.hdfgroup.org/HDF5/whatishdf5.html or parquet http://parquet.apache.org/, is it possible ?

And if it is possible, how can I do that in Python ?

Martyn
Site Admin
Site Admin
Posts: 3333
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Re: Binary traces formats such as np/npz(numpy), hdf5 or par

Post by Martyn » Thu Jul 06, 2017 6:11 am

If you control the scope directly with Python, then you can read the ADC counts from it and then write this data in any format you wish. You are in control :)
Martyn
Technical Support Manager

sebma
Newbie
Posts: 0
Joined: Wed Jul 05, 2017 2:50 pm

Re: Binary traces formats such as np/npz(numpy), hdf5 or par

Post by sebma » Thu Jul 06, 2017 4:26 pm

Hi,

I don't know how to "control the scope directly with Python" and "read the ADC counts" (yet :-) )

Is there a Python module or library to do this ?

Martyn
Site Admin
Site Admin
Posts: 3333
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Re: Binary traces formats such as np/npz(numpy), hdf5 or par

Post by Martyn » Mon Jul 17, 2017 7:02 am

You can export the data from the PicoScope 6 application in the .mat binary format.

Python is not one of our officially supported languages although there is some code available. I suggest you email support@picotech.com to discuss the options available to best match your needs.
Martyn
Technical Support Manager

Post Reply