astro-forecaster (forecaster 2ish)
An internally overhauled but fundamentally similar version of Forecaster by Jingjing Chen and David Kipping, originally presented in Probabilistic Forecasting of the Masses and Radii of Other Worlds and hosted at here.
The model itself has not changed- no new data was included and the hyperparameter file was not regenerated. All functions were rewritten to take advantage of Numpy vectorization and some additional user features were added.
Installation and basic use
To install this package with pip, run
pip install astro-forecaster
As a basic example, here is how you would calculate the radius posterior of a 1 Jupiter mass object:
import forecaster
import numpy as np
forecasted_radius_posterior = forecaster.Mpost2R(np.ones(int(1e3)), unit='Jupiter', classify=False)
See the demo notebook for more examples.
Changes
Changes include but are not limited to:
- Rewriting all functions to take advantage of Numpy vectorization
- Including the ability to input asymmetric uncertainties in mass or radius
- Enabling pip installation
Citation
If used, please cite the original Forecaster paper and the bibcode for this implementation eventually hosted on the Astrophysics Source Code Library (ASCL).
Metadata
Release files for astro-forecaster 2.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| astro-forecaster-2.0.2.tar.gz | 89.3 MB | Without provenance | Details for astro-forecaster-2.0.2.tar.gz |
Release files / astro-forecaster-2.0.2.tar.gz
| Download URL | astro-forecaster-2.0.2.tar.gz |
|---|---|
| Size | 89.3 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5bcc0da74e65c5b3257b0283b741cfb40dac1d58a16d6fa8dcb1932fd5647aed
|
|
BLAKE2b-256 checksum How to use checksums |
bbcec06a53e957c7a2733216fc9f02d6998f695e8f65116dd7a9d0bc51d69621
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.7.10
|
Security for astro-forecaster 2.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.