# FGspectra
[![Latest](https://img.shields.io/badge/docs-dev-blue.svg)](https://simonsobs.github.io/fgspectra/)
[![Build Status](https://travis-ci.com/simonsobs/fgspectra.svg?branch=master)](https://travis-ci.com/simonsobs/fgspectra)
[![codecov](https://codecov.io/gh/simonsobs/fgspectra/branch/master/graph/badge.svg)](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)
Raw data
{
"_id": null,
"home_page": null,
"name": "fgspectra",
"maintainer": null,
"docs_url": null,
"requires_python": ">3.9",
"maintainer_email": null,
"keywords": "astrophysics, foregrounds, cmb",
"author": "Simons Observatory fgspectra crew",
"author_email": "Zack Li <xzackli@gmail.com>, Benjamin Beringue <beringueb@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/57/8b/ac8d84b439f040e0887e38835cd71d4349e456817c5258cbbb450f5a00fb/fgspectra-1.3.0.tar.gz",
"platform": null,
"description": "# FGspectra\n\n[![Latest](https://img.shields.io/badge/docs-dev-blue.svg)](https://simonsobs.github.io/fgspectra/)\n[![Build Status](https://travis-ci.com/simonsobs/fgspectra.svg?branch=master)](https://travis-ci.com/simonsobs/fgspectra)\n[![codecov](https://codecov.io/gh/simonsobs/fgspectra/branch/master/graph/badge.svg)](https://codecov.io/gh/simonsobs/fgspectra)\n\nLibrary for the evaluation of the SEDs and cross-spectra of astrophysical components.\n\nMain modules are\n* `frequency.py`: evaluation of astrophysical SEDs\n* `power.py`: evaluation of anugular power spectra\n* `cross.py`: evaluation of frequency cross-spectra\n\nTo get started, have a look at the notebooks in `fgspectra/notebook`\n\n## Contributing\nCurrent main contributors are Zack Li, Max Abitbol and Davide Poletti. Feel free to join: contributors are welcome!\n\nWe try to\n* develop in short-lived branches that are merged into master\n* write [numpy docstrings](https://numpydoc.readthedocs.io/en/latest/format.html) and PEP8 compliant code.\n\n## Material\nWe'll eventually pull in code/reference material from\n* [fgbuster](https://github.com/fgbuster/fgbuster)\n* [BeFore](https://github.com/damonge/BFoRe_py)\n* [tile-c](https://github.com/ACTCollaboration/tile-c)\n* [Erminia/Jo's multifrequency likelihood on Lambda](https://lambda.gsfc.nasa.gov/product/act/act_fulllikelihood_get.cfm)\n\n## Dependencies\n* Python > 3\n* numpy / scipy\n\n## Installing\nSince we're still putting this together, just install in developer mode for now.\n\n```\npip install -e .\n```\n\n## Testing\nRun `pytest` in the `fgspectra` directory. (work in progress)\n",
"bugtrack_url": null,
"license": null,
"summary": "Foreground SED and power spectrum library for building cross frequency power spectrum models",
"version": "1.3.0",
"project_urls": {
"Homepage": "https://github.com/simonsobs/fgspectra"
},
"split_keywords": [
"astrophysics",
" foregrounds",
" cmb"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "8c5f9bf2b419534bf7ad8b8355fd9676ce67afd5857a53b13444771442d43023",
"md5": "b2716765b9c3acab21fb491d1c5a1d8e",
"sha256": "d1d4914dd2a4c5322004dee43913b00ff51b52317db5139f725dfe0b6a4ee5c3"
},
"downloads": -1,
"filename": "fgspectra-1.3.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "b2716765b9c3acab21fb491d1c5a1d8e",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">3.9",
"size": 413744,
"upload_time": "2024-09-26T15:10:42",
"upload_time_iso_8601": "2024-09-26T15:10:42.491952Z",
"url": "https://files.pythonhosted.org/packages/8c/5f/9bf2b419534bf7ad8b8355fd9676ce67afd5857a53b13444771442d43023/fgspectra-1.3.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "578bac8d84b439f040e0887e38835cd71d4349e456817c5258cbbb450f5a00fb",
"md5": "e6499beb747adeacb1f84da97f2fbfc4",
"sha256": "2732950468565ff708fab2b167ef90d6b9c6909736b465c4fa3d5af5c9e5a11b"
},
"downloads": -1,
"filename": "fgspectra-1.3.0.tar.gz",
"has_sig": false,
"md5_digest": "e6499beb747adeacb1f84da97f2fbfc4",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">3.9",
"size": 417091,
"upload_time": "2024-09-26T15:10:44",
"upload_time_iso_8601": "2024-09-26T15:10:44.107978Z",
"url": "https://files.pythonhosted.org/packages/57/8b/ac8d84b439f040e0887e38835cd71d4349e456817c5258cbbb450f5a00fb/fgspectra-1.3.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-09-26 15:10:44",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "simonsobs",
"github_project": "fgspectra",
"travis_ci": false,
"coveralls": true,
"github_actions": true,
"lcname": "fgspectra"
}