This package enables faster calculations of EE and BB spectra, leveraging models trained on data generated by CAMB.
Project description
QuickBBEE
Overview
QuickBBEE is a python library created for our 2nd year in computer sciences bachelor project. This package enables faster calculations of EE and BB spectra, leveraging models trained on data generated by CAMB. Basically, the ultimate goal of QuickBBEE is to generate EE and BB spectra like CAMB, but faster, using a trained Neural Network model we created using cosmopower.
Installation
We recommend installing bbee.py within a Conda virtual environment.
For example, to create and activate an environment called cp_env, use:
conda create -n cp_env python=3.7 pip && conda activate cp_env
Once inside the environment, you can install bbee.py:
-
from PyPI
pip install quickbbeeTo test the installation, you can use
python3 -c 'import quickbbee as quick' -
from source
git clone https://github.com/jusdelio/QuickBBEE cd quickbbee pip install -e .To test the installation, you can use
pytest
If you are interested in how we trained the two models, follow this link
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file quickbbee-1.0.2.tar.gz.
File metadata
- Download URL: quickbbee-1.0.2.tar.gz
- Upload date:
- Size: 15.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5bc62f363e70b4547240417f725d6e14af234d323f76b78fdefc7ae2e09ddf05
|
|
| MD5 |
e31d6bade9e4d503d72f8138d66a5b35
|
|
| BLAKE2b-256 |
e86fca672828fb61d9222d359bb81e4ecc44c1a8b92226f72b7deebfb42bdcd7
|
File details
Details for the file quickbbee-1.0.2-py3-none-any.whl.
File metadata
- Download URL: quickbbee-1.0.2-py3-none-any.whl
- Upload date:
- Size: 15.1 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
58c1fe1a3b7d09bd0b2f486ea8015ea47f117f5011dfcd611541eb81702c49b6
|
|
| MD5 |
7ab3a26b34b5fa3144cfea6080b40577
|
|
| BLAKE2b-256 |
44a6d64d5e8acd50b4e46f578da82a021f1a54282dc5fe06b132c1e46924c9f0
|