Metadata-Version: 2.4
Name: bns_remnant_classifier
Version: 1.0.0
Summary: Classifier for predicting the remnant of binary neutron star mergers from inspiral parameters posteriors and low-latency gravitational-wave data
Author-email: Anna Puecher <anna.puecher@ligo.org>
License-Expression: MIT
Project-URL: Repository, https://github.com/AnnaPuecher/bns_remnant_classifier
Keywords: gravitational waves,neutron stars,remnants,classifier
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.12
Requires-Python: >=3.12
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: numpy
Requires-Dist: scipy
Requires-Dist: pandas
Requires-Dist: joblib
Requires-Dist: scikit-learn<=1.5.2,>=1.4.0
Requires-Dist: bilby
Requires-Dist: astropy
Requires-Dist: tqdm
Dynamic: license-file

Library to run ClassifierA and ClassifierB from Phys.Rev.D 110 (2024) 12, 123038.
The classifiers take as input the parameters of a BNS system (total mass in the source frame, mass ratio, mass-weighted tidal deformability, and effective spin) and predict the remnant formed after the merger.

**Classifier A** distinguishes between:
- probbaility of prompt collapse to black hole
- probbaility of forming a neutron-star remnant

**Classifier B** distinguishes betwee:
- probabioity of prompt collapse to black hole
- probability of forming a hyper-massive neutron star
- probability of forming a long-lived neutron star

Application possible both to parameters posterior samples and low-latency point estimates.
Marginalizes over equation of state when tidal information not available.

Documentation: https://bns-remnant-classifier.readthedocs.io/en/latest/api.html
