https://github.com/simonsobs/fgspectra
Foreground SED and power spectrum library for building cross frequency power spectrum models
https://github.com/simonsobs/fgspectra
Last synced: 10 months ago
JSON representation
Foreground SED and power spectrum library for building cross frequency power spectrum models
- Host: GitHub
- URL: https://github.com/simonsobs/fgspectra
- Owner: simonsobs
- License: bsd-3-clause
- Created: 2019-03-12T18:53:51.000Z (over 7 years ago)
- Default Branch: main
- Last Pushed: 2024-09-26T15:18:50.000Z (almost 2 years ago)
- Last Synced: 2025-07-01T16:12:38.542Z (12 months ago)
- Language: Python
- Size: 6.88 MB
- Stars: 8
- Watchers: 11
- Forks: 8
- Open Issues: 17
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# FGspectra
[](https://simonsobs.github.io/fgspectra/)
[](https://travis-ci.com/simonsobs/fgspectra)
[](https://codecov.io/gh/simonsobs/fgspectra)
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](https://numpydoc.readthedocs.io/en/latest/format.html) and PEP8 compliant code.
## Material
We'll eventually pull in code/reference material from
* [fgbuster](https://github.com/fgbuster/fgbuster)
* [BeFore](https://github.com/damonge/BFoRe_py)
* [tile-c](https://github.com/ACTCollaboration/tile-c)
* [Erminia/Jo's multifrequency likelihood on Lambda](https://lambda.gsfc.nasa.gov/product/act/act_fulllikelihood_get.cfm)
## 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)