Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lomb Periodogram

This is a python module that wraps a Fortran implementation of the 3-D Lomb periodogram.

Documentation

A description of the periodogram and a jupyter notebook with an example can be found here

Features:

  • 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.

Caveats:

  • Developed and tested in a Linux environment. Build system only tested in Linux.
  • Notes on the periodogram are incomplete.

Installation:

Requirements:

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

Compilation:

  • 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 .
      

About

Lomb Periodogram implementation

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages