cmb-best
CMB bispectrum estimator for constraining primordial non-Gaussianity
Science Score: 54.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
✓Academic publication links
Links to: arxiv.org -
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (14.2%) to scientific vocabulary
Repository
CMB bispectrum estimator for constraining primordial non-Gaussianity
Basic Info
- Host: GitHub
- Owner: Wuhyun
- License: gpl-3.0
- Language: Cython
- Default Branch: main
- Size: 5.6 MB
Statistics
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
- Releases: 1
Metadata Files
README.md
CMB-BEST
A code for CMB bispectrum estimation of primordial non-Gaussianity. For mathematical and implementational details, please refer to this paper . Please contact me if you have any issues installing or using the code.
Dependencies
- gcc or some other C compiler
- Python 3.7 or above
- Python packages:
- Cython
- numpy
- scipy
- h5py
- pandas
- GetDist (optional for visualization)
The packages can be installed using conda or pip3.
Installation
First of all, please check if you have installed the dependencies listed above. If your default Python3 command is not 'python3', change it in the makefile accordingly.
Clone the repository by, e.g.,
git clone https://github.com/Wuhyun/CMB-BEST.git
Compile the library using
$ make
To install the library, run
$ make install
This installs the library 'cmbbest' in development mode. To update the library, running
git pull
make
anytime will do the trick.
Data
A precomputed data file is required to use the package. Please download the data file from the 'Releases' in this GitHub Repository: download the 'cmbbest_data.hdf5' file and save it inside the "data" directory.
Quick Start
Here is a simple Python script code to get started. Please refer to the Jupyter notebook under examples/ for further details. ``` import cmbbest as best
basis = best.Basis() models = [best.Model("local")] constraints = basis.constrain_models(models)
print(constraints.summarize()) ```
Owner
- Login: Wuhyun
- Kind: user
- Repositories: 2
- Profile: https://github.com/Wuhyun
Citation (CITATION.cff)
title: CMB-BEST
abstract: "CMB bispectrum estimator for constraining primordial non-Gaussianity"
authors:
- family-names: Sohn
given-names: Wuhyun
orcid: "https://orcid.org/0000-0002-6039-8247"
message: If you use this software, please cite it using these metadata.
cff-version: 1.2.0
license: Apache-2.0
repository-code: "https://github.com/Wuhyun/CMB-BEST"
version: 1.0.0
GitHub Events
Total
- Watch event: 1
- Push event: 3
Last Year
- Watch event: 1
- Push event: 3