https://github.com/cosmoglobe/cosmoglobe
The Cosmoglobe Sky model. A Python package for producing astrophysical sky simulations directly from Commander results.
Science Score: 23.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
✓Committers with academic emails
2 of 8 committers (25.0%) from academic institutions -
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (10.3%) to scientific vocabulary
Keywords
Repository
The Cosmoglobe Sky model. A Python package for producing astrophysical sky simulations directly from Commander results.
Basic Info
- Host: GitHub
- Owner: Cosmoglobe
- License: gpl-3.0
- Language: Python
- Default Branch: main
- Homepage: https://cosmoglobe.readthedocs.io/en/latest/
- Size: 177 MB
Statistics
- Stars: 6
- Watchers: 7
- Forks: 3
- Open Issues: 8
- Releases: 5
Topics
Metadata Files
README.md

cosmoglobe is a python package that interfaces the Cosmoglobe Sky Model with Commander outputs for the purpose of producing astrophysical sky maps.

Features
See the documentation for a more comprehensive guide.
Initialize the Cosmoglobe Sky Model (this downloads and caches a ~800 MB file with the sky model data) ```python import cosmoglobe
model = cosmoglobe.sky_model(nside=256) ```
Simulate the sky at 150 GHz in units of MJy/sr, smoothed to 40 arcmin with a gaussian beam: ```python import astropy.units as u
emission = model(150u.GHz, fwhm=40u.arcmin, output_unit="MJy/sr") ```
Integrate over a bandpass: ```python import numpy as np import healpy as hp import matplotlib.pyplot as plt
Reading in WMAP K-band bandpass profile.
bandpassfrequencies, bandpassweights = np.loadtxt(wmap_bandpass.txt, unpack=True)
The units of the detector must be specified even if the bandpass is pre-normalized.
bandpassweights *= u.Unit("KRJ") # Specify KRJ or KCMB bandpass_frequencies *= u.GHz
model.removedipole() # Remove the dipole from the CMB component emission = model( freqs=bandpassfrequencies, weights=bandpassweights, fwhm=0.8*u.deg, outputunit="mK_RJ", )
hp.mollview(emission[0], hist="norm") # Plotting the intensity plt.show() ```
Installation
cosmoglobe can be installed via pip
bash
pip install cosmoglobe
Funding
This work has received funding from the European Union's Horizon 2020 research and innovation programme under grant agreements No 776282 (COMPET-4; BeyondPlanck), 772253 (ERC; bits2cosmology) and 819478 (ERC; Cosmoglobe).
![]() |
![]() |
License
Owner
- Name: Cosmoglobe
- Login: Cosmoglobe
- Kind: organization
- Website: cosmoglobe.uio.no
- Repositories: 6
- Profile: https://github.com/Cosmoglobe
GitHub Events
Total
- Issues event: 5
- Watch event: 1
- Issue comment event: 1
- Member event: 1
- Push event: 4
- Pull request event: 1
- Create event: 2
Last Year
- Issues event: 5
- Watch event: 1
- Issue comment event: 1
- Member event: 1
- Push event: 4
- Pull request event: 1
- Create event: 2
Committers
Last synced: almost 3 years ago
All Time
- Total Commits: 570
- Total Committers: 8
- Avg Commits per committer: 71.25
- Development Distribution Score (DDS): 0.451
Top Committers
| Name | Commits | |
|---|---|---|
| Metin San | m****n@g****m | 313 |
| trygvels | t****m@g****m | 188 |
| Duncan | d****s@g****m | 40 |
| Trygve Leithe Svalheim | t****s@a****o | 8 |
| Trygve Leithe Svalheim | s****m@o****l | 8 |
| Trygve Leithe Svalheim | s****m@o****e | 7 |
| “trygvels” | “****m@g****” | 4 |
| maksym.brilenkov | m****v@a****o | 2 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 11
- Total pull requests: 8
- Average time to close issues: almost 2 years
- Average time to close pull requests: 8 minutes
- Total issue authors: 5
- Total pull request authors: 5
- Average comments per issue: 0.64
- Average comments per pull request: 0.13
- Merged pull requests: 5
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 2
- Pull requests: 2
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 1
- Pull request authors: 1
- Average comments per issue: 0.5
- Average comments per pull request: 0.0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- dncnwtts (4)
- hermda02 (3)
- unfunfunt (2)
- tcassanelli (1)
Pull Request Authors
- trygvels (3)
- hermda02 (2)
- maksymbrl (1)
- MetinSa (1)
- dncnwtts (1)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- pypi 133 last-month
- Total dependent packages: 0
- Total dependent repositories: 1
- Total versions: 58
- Total maintainers: 3
pypi.org: cosmoglobe
A Python package for interfacing the Cosmoglobe Sky Model with commander3 outputs for the purpose of producing astrophysical sky maps.
- Homepage: https://github.com/Cosmoglobe/Cosmoglobe
- Documentation: https://cosmoglobe.readthedocs.io
- License: GNU GPLv3
-
Latest release: 0.9.85
published almost 2 years ago
Rankings
Dependencies
- jinja2 <3.1.0
- nbsphinx ==0.8.8
- pydata-sphinx-theme ==0.7.2
- sphinx ==4.4.0
- sphinx-autodoc-typehints ==1.17.0
- 105 dependencies
- Jinja2 ^3.1.0 develop
- Sphinx ^4.3.0 develop
- ipykernel ^6.15.1 develop
- ipython ^7.31.1 develop
- mypy ^0.931 develop
- nbsphinx ^0.8.7 develop
- pydata-sphinx-theme ^0.7.2 develop
- pytest ^7.0.1 develop
- sphinx-autodoc-typehints ^1.17.0 develop
- astropy >=5.0.1
- click ^8.0.1
- cmasher ^1.6.3
- h5py >=3.0.0
- healpy ^1.15.2
- numba ^0.55.1
- numpy >=1.18, <=1.23
- python >=3.8
- rich ^10.14.0
- scipy ^1.9
- setuptools <60.0
- tqdm ^4.62.3
- astropy
- cmasher
- h5py >=3.0
- healpy
- ipython
- matplotlib
- nbsphinx
- numba
- numpy
- numpydoc
- pandoc
- pip
- pydata-sphinx-theme
- python 3.8.*
- scipy
- tqdm

