/fgspectra

Foreground SED and power spectrum library for building cross frequency power spectrum models

Primary LanguagePythonBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

FGspectra

Latest Build Status codecov

Library for the evaluation of the SEDs and cross-spectra of astrophysical components.

Main modules are

  • frequency.py: evaluation of astrophysical SEDs
  • power.py: evaluation of anugular power spectra
  • cross.py: evaluation of frequency cross-spectra

To get started, have a look at the notebooks in fgspectra/notebook

Contributing

Current main contributors are Zack Li, Max Abitbol and Davide Poletti. Feel free to join: contributors are welcome!

We try to

  • develop in short-lived branches that are merged into master
  • write numpy docstrings and PEP8 compliant code.

Material

We'll eventually pull in code/reference material from

Dependencies

  • Python > 3
  • numpy / scipy

Installing

Since we're still putting this together, just install in developer mode for now.

pip install -e .

Testing

Run pytest in the fgspectra directory. (work in progress)