Starccato is a fast stellar core-collapse gravitational wave generator.
Project description
starccato (Stellar Core Collapse GW generator)
Starccato is a fast stellar core-collapse gravitational wave generator.
Installation
pip install starccato
Training with starccato
Train the model with the following command:
starccato_train --outdir weights/ --epochs 8
From within python:
import starccato
from starccato.training import train
train(outdir="weights/", epochs=128)
starccato.generate_signals(n=10, weights_file="weights/generator_weights.pth")
Development
git clone https://github.com/tarin-e/starccato.git
cd starccato
pip install -e ".[dev]"
pre-commit install
Ensure unit tests are passing locally and on the CI!
pytest tests/
Releasing to PyPI
- Manually change the version number in
pyproject.toml
(has to be higher than previous) - Create a tagged commit with the version number
- Push the tag to GitHub
git tag -a v0.1.0 -m "v0.1.0"
git push origin v0.1.0
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
starccato-0.0.2.tar.gz
(16.1 kB
view hashes)
Built Distribution
starccato-0.0.2-py3-none-any.whl
(17.7 kB
view hashes)
Close
Hashes for starccato-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 39a528a73107a8e267b4145ee66a17d5ce2af8c3e5a791c6fee6b6670e5fde77 |
|
MD5 | 0ba6b1b8a6b26843306bef06e2f0062c |
|
BLAKE2b-256 | f3a3a225c56d1ffff9bd9d2d4d01e8d5f0e1bf4344273e7a6806bb817ccae1b5 |