Skip to content

Small class implemented in Python+Pytorch to compute the Fourier series (in sine-cosine form) of a periodic function.

Notifications You must be signed in to change notification settings

RecursiveMagus/TrigFourier-Pytorch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

TrigFourier-Pytorch

Small class implemented in pytorch to compute fourier series in trigonometric (sine-cosine) form. I use it often in my PhD, so I thought it would be nice to share. Should be compatible with Autograd.

Contents:

  • TrigFourier.py - Contains the main class.
  • Example.ipynb - Notebook with a basic use example.

About

Small class implemented in Python+Pytorch to compute the Fourier series (in sine-cosine form) of a periodic function.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published