This is a python module that wraps a Fortran implementation of the 3-D Lomb periodogram.
A description of the periodogram and a jupyter notebook with an example can be found here
- Parallel (multi-core, not multi-cpu) Fortran implementation, wrapped to python using f2py (part of numpy).
- A simple plotting library is included.
- A synthetic signal generator is also included.
- Matlab code is included.
- Developed and tested in a Linux environment. Build system only tested in Linux.
- Notes on the periodogram are incomplete.
The Fortran code must be compiled and wrapped with f2py to be run.
- gfortran compiler
- meson (for building)
- ninja (for building)
- python3
- numpy
- matplotlib
- h5py
-
Create environment and install dependencies:
The creation of a separate conda environment (here called lomb_env) is recommended. My Linux machine at IPP did not have an hdf5 version modern enough to install h5py.
conda create -n lomb_env python hdf5 h5py meson-python conda activate lomb_env -
Install using pip.
-
If you do not want to make changes, just run
pip install . -
If you will be making changes, you can install in developer mode via
pip install --no-build-isolation --editable .
-