P2DFFT is a new parallelized version of 2DFFT, a code that allows the user to isolate and measure the spiral arm pitch angle of galaxies. The user input has been simplified and depending on the number of cores available, P2DFFT runs significantly faster than the older serial version, 2DFFT. Further enhancements include:

  • Allowing direct input of FITS images

  • Optionally outputting inverse Fourier transform FITS images

  • Ability to generate idealized logarithmic spiral test images of a specified size that have 1 to 6 arms with pitch angles of -75 degrees to 75 degrees​​

  • Ability to output Fourier amplitude versus inner radius and pitch angle versus inner radius for each Fourier component (m = 0 to m = 6)

  • Ability to calculate the Fourier amplitude weighted mean pitch angle across m = 1 to m = 6 versus inner radius


If you publish results using P2DFFT, please cite the following paper:

  • Mutlu-Pakdil et al. 2018, "The Illustris Simulation: The Supermassive Black Hole - Galaxy Connection Beyond the Bulge", MNRAS 474: 2594-2606 (2018, MNRAS)

2DFFT can be found here  If you publish results using this code, please cite the following paper:

  • Davis et al. 2012, "Measurement of Galactic Logarithmic Spiral Arm Pitch Angle Using Two-Dimensional Fast Fourier Transform Decomposition", ApJS 199: 33 (2012, ApJS)


Available Versions

Current and previous versions of P2DFFT can be found at https://treuthardt.github.io/P2DFFT/.

© 2017 Marcus S. Seigar - All rights reserved. Created using wix.com

  • Facebook Clean Grey
  • Twitter Clean Grey
  • LinkedIn Clean Grey