Search found 5956 matches
- Mon Aug 11, 2014 3:23 pm
- Forum: General Discussion and Questions
- Topic: Enjoying Micropython and board
- Replies: 4
- Views: 6341
Re: Enjoying Micropython and board
I couldn't agree more! As a (retired) electronics design engineer I can't fault the hardware's electronic and mechanical design design or its documentation. It runs Python code far faster than cPython on the Raspberry Pi and its behaviour is much more deterministic: by my tests it responds to hardwa...
- Tue Jul 29, 2014 7:49 am
- Forum: General Discussion and Questions
- Topic: Standard library status
- Replies: 1
- Views: 3867
Standard library status
Is there any documentation on the support status of the standard Python libraries? It would be very handy, when planning projects, to know if a library is supported (entirely or with limitations). It would also be good to know, for libraries not currently supported, whether they are lined up for fut...
- Mon Jul 21, 2014 8:14 am
- Forum: Kickstarter logistics for the Micro Python campaign
- Topic: PyBoards for post-kickstarter orders soon?
- Replies: 5
- Views: 70151
Re: PyBoards for post-kickstarter orders soon?
Likewise! It would be good to have an estimate of when these will become available. I registered an interest but have had no response as yet.
Pete
Pete
- Sun Jul 20, 2014 9:53 am
- Forum: General Discussion and Questions
- Topic: Complex Numbers
- Replies: 21
- Views: 25226
FFT algorithm
I've investigated this a further and found the following code, which is similar to yours but produces results which look more convincing. As you point out, the array length should be a power of two. The output list contains the frequency components followed by their complex conjugates which can be i...
- Fri Jul 18, 2014 4:54 pm
- Forum: General Discussion and Questions
- Topic: Complex Numbers
- Replies: 21
- Views: 25226
Re: FFT algorithm
I was struck by the simplicity of this code compared to a routine I've used. Apologies if I'm misunderstanding its application, but my tests seem to produce some odd results. I used the following to test the fft routine: import math def test(length, sine =False): if sine: a = [math.sin(2*math.pi*n/l...
- Fri Jul 18, 2014 8:10 am
- Forum: General Discussion and Questions
- Topic: Complex Numbers
- Replies: 21
- Views: 25226
Re: Complex Numbers
At the risk of stating the obvious you should be able to get the real and imaginary parts with a little maths. Bear in mind I haven't yet got a MicroPython board, so it's possible that I'm using un-implemented functionality here, but this works in standard Python. import cmath from math import cos,s...