A Pythonic package for spectral analysis
This is an on-going project in which I'm gathering codes for spectral analysis that I've been developing for my own research in oceanography. In particular, most of these codes were developed for a project on the horizontal wavenumber spectra in Drake Passage (dp_spectra). Contributions are very welcome.
pyspec assumes you have basic Python packages for scientific applications (scipy, numpy, etc). I strongly encourage you to install the free anaconda distribution.
This is a legit python package. You can install it
python setup.py install
If you want to develop and contribute to the project, set up the development mode
python setup.py develop
Here are some simple examples
An IPython notebook describing a single calculation of one-dimensional wavenumber spectra.
An IPython notebook showcasing the decomposition of one-dimensional kinetic energy spectra into rotational and divergent components.
An IPython notebook showing the basic usage of pyspec to compute 2D spectrum and its associated isotropic spectrum. This notebook also showcases the estimation of confidence limits.
Part of this package was developed for a project funded by the NASA Ocean Surface Topography Science Team (NNX13AE44G) and the NSF Polar Program (PLR-1341431). The leading developer is currently supported by NSF (OCE 1357047).