Page 1 of 1

Micropython-Fourier as upip package? / Upip in general

Posted: Sun Dec 09, 2018 11:57 pm
by hdsjulian
I want to work with some FFTs and found the micropython-fourier library https://github.com/peterhinch/micropython-fourier

before i clone the repo and copy all the files to my esp32 individually: is there a upip-package? If so: what is it called? if not: any ideas how to create it?
Bonus question: is there a list of all packages that are available via upip?

Re: Micropython-Fourier as upip package? / Upip in general

Posted: Mon Dec 10, 2018 7:57 am
by pythoncoder
It is not on PyPi. Nor will it run on the ESP32 as it is written in ARM assembler. The library is strictly for STM devices such as the Pyboard.

I'm not aware of an index for PyPi but packages on there are generally prefixed micropython. Many user-contributed drivers are not on PyPi. The best way to find them is by a forum search and by looking in the wiki.

Re: Micropython-Fourier as upip package? / Upip in general

Posted: Mon Dec 10, 2018 10:01 am
by hdsjulian
thanks. are you aware of any other fft library for esp32 micropython?

Re: Micropython-Fourier as upip package? / Upip in general

Posted: Tue Dec 11, 2018 5:42 am
by pythoncoder
No. You could use one of the Python routines in algorithms.py in my repo, but even the "fast" non-recursive one will be ~100 times slower than one written in assembler.