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 details)
Built Distribution
starccato-0.0.2-py3-none-any.whl
(17.7 kB
view details)
File details
Details for the file starccato-0.0.2.tar.gz
.
File metadata
- Download URL: starccato-0.0.2.tar.gz
- Upload date:
- Size: 16.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 966dd5ce0f28b71f9efd73f9ef9a8d1aa75b0fa6d83bed13ea49de49bd9abb24 |
|
MD5 | bf46ea896eef6a2f914667eb9df0bce8 |
|
BLAKE2b-256 | 16496acb02b2d1752cbe6c03772e088951b2d211a957b030e4fb41ef39d2a6a3 |
File details
Details for the file starccato-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: starccato-0.0.2-py3-none-any.whl
- Upload date:
- Size: 17.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 39a528a73107a8e267b4145ee66a17d5ce2af8c3e5a791c6fee6b6670e5fde77 |
|
MD5 | 0ba6b1b8a6b26843306bef06e2f0062c |
|
BLAKE2b-256 | f3a3a225c56d1ffff9bd9d2d4d01e8d5f0e1bf4344273e7a6806bb817ccae1b5 |