Skip to content

Latest commit

 

History

History
10 lines (6 loc) · 681 Bytes

README.md

File metadata and controls

10 lines (6 loc) · 681 Bytes

FortNAFF

Numerical Analysis of Fundamental Frequencies (NAFF) Algorithm implemented in Fortran 90.

This is a straightforward implementation of J. Laskar's NAFF algorithm in Fortran 90. This code was originally developed for the Bmad particle accelerator simulation library.

The test_naff.f90 program demonstrates the use and accuracy of the algorithm.

At present, this code is dependent on the numerical recipes module "nr" that is distributed with Bmad. The numerical recipes modules used are brent, which is a root finder, and four1, a fast fourier transform. These nr modules can be obtained from GitHub here: https://github.com/bamford/astrobamf/tree/master/nr/fortran