gofigure | Configuration library for node.js | Configuration Management library
kandi X-RAY | gofigure Summary
kandi X-RAY | gofigure Summary
Gofigure is a configuration tool for node to help in the gathering and monitoring of configuration files in node.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of gofigure
gofigure Key Features
gofigure Examples and Code Snippets
Community Discussions
Trending Discussions on gofigure
QUESTION
I wish to compute a function (a Fourier series) that passes through some set of given points.
Similar to what is going on here https://gofigure.impara.ai/ , but I wish not to animate it. I merely want the function so that I can draw the shape myself. I have read lots of math stuff describing it and code that animates it, but I am struggling with my implementation.
My current code is as follows [should be able to run in a python notebook alone]
...ANSWER
Answered 2021-Apr-03 at 19:51There are actually a few issues that need to be resolved to get the expected outline. Let's go over each of those issues.
Fourier coefficient computation
Since you are computing the FFT of the 2D array complexmdpts
(each element being an array of 1 complex value), the default behavior of scipy.fft
is to compute the FFT along the last axis. In this case it means that you are in fact computing n
FFTs of length 1 and given that FFTs of length 1 are identities, the entire computation returns the original array.
One solution would be to specify axis=0
explicitly:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install gofigure
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page