# Oscilloscope measurement data download using Python API

**URL:** <https://forum.liquidinstruments.com/t/oscilloscope-measurement-data-download-using-python-api/873>\
**Category:** Support & Troubleshooting\
**Created:** [December 25, 2023, 7:17pm UTC](https://forum.liquidinstruments.com/t/oscilloscope-measurement-data-download-using-python-api/873 "2023-12-25T19:17:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![steven](https://avatars.discourse-cdn.com/v4/letter/s/94ad74/32.png) [@steven](https://forum.liquidinstruments.com/u/steven)\
**Post date:** [December 25, 2023, 7:17pm UTC](https://forum.liquidinstruments.com/t/oscilloscope-measurement-data-download-using-python-api/873/1 "2023-12-25T19:17:15Z")

</div>

**Moku model:** moku:Go  
**Operating system:** Windows 10  
**Software version:** 3.11

**Bug or support request description:** Can I download the Oscilloscope measurements (such as frequency, peak to peak, A-B, etc) using Python API? Thanks

---

<div class="post-metadata">

**Author:** ![hanklong](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.liquidinstruments.com/hanklong/32/288_2.png) [@hanklong](https://forum.liquidinstruments.com/u/hanklong)\
**Post date:** [December 26, 2023, 6:13am UTC](https://forum.liquidinstruments.com/t/oscilloscope-measurement-data-download-using-python-api/873/2 "2023-12-26T06:13:47Z")

</div>

Hi Steven,

I am sorry that we current don’t have the supports for the MATH channel and measurements downloads using API because these measurements are done using client software instead of the Moku hardware device. However, we can easily get the measurements you mentioned above using Python Numpy package. For example, finding minimum and maximum:

[https://numpy.org/doc/stable/reference/generated/numpy.max.html](https://numpy.org/doc/stable/reference/generated/numpy.max.html)  
[https://numpy.org/doc/stable/reference/generated/numpy.min.html](https://numpy.org/doc/stable/reference/generated/numpy.min.html)

and using FFT to find the peak frequency:

[https://numpy.org/doc/stable/reference/generated/numpy.fft.fftfreq.html](https://numpy.org/doc/stable/reference/generated/numpy.fft.fftfreq.html)

> <https://stackoverflow.com/questions/3694918/how-to-extract-frequency-associated-with-fft-values-in-python>

One of our engineers is currently working on the Python measurements examples. I will follow up with him as soon as I can.

Thank you very much for your patience and understanding!

Best regards,  
Hank
