Skip to main content

Interface to OGC-4 (https://github.com/gwastro/4-ogc)

Project description

OGC-4 Interface

PyPI version

This repo interfaces with OGC-4 to read in posterior samples for the LVK GW events.

The PopulationMcZ class is the main API interface, and is used to get the Mc-z posterior samples and priors for all the events, and cache them as a matrix of binned Mc-z weights.

from ogc4_interface.population_mcz import PopulationMcZ

population = PopulationMcZ.load()
population.plot_event_mcz_estimates()
population.filter_events(threshold=0.95)
population.plot_weights()

Events

Weights

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

compas_surrogate_ogc4_interface-0.0.1.tar.gz (799.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

compas_surrogate.ogc4_interface-0.0.1-py3-none-any.whl (17.3 kB view details)

Uploaded Python 3

File details

Details for the file compas_surrogate_ogc4_interface-0.0.1.tar.gz.

File metadata

File hashes

Hashes for compas_surrogate_ogc4_interface-0.0.1.tar.gz
Algorithm Hash digest
SHA256 813e4f53549e4f77dc5f7b0761388b5439e15c54c2b804daa4e693187300d62d
MD5 cb6c8abdf449b8ce3cf8f495f6d0644e
BLAKE2b-256 bae64d025c01a8ccc15b014c00685339818dd07a15af04c9bb78ee944c6b30fe

See more details on using hashes here.

Provenance

The following attestation bundles were made for compas_surrogate_ogc4_interface-0.0.1.tar.gz:

Publisher: release.yml on COMPAS-Surrogate/ogc4_interface

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file compas_surrogate.ogc4_interface-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for compas_surrogate.ogc4_interface-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 36bb5cc849983f23fa1188fbba57176fd7439a99dbb514ea71d3c3fb20266a50
MD5 3f8da9aede55fcf5c8856ed8fafdc840
BLAKE2b-256 1437e527a005364860f2f66de052dc13bee309798f4bf05104551a22abafd8f5

See more details on using hashes here.

Provenance

The following attestation bundles were made for compas_surrogate.ogc4_interface-0.0.1-py3-none-any.whl:

Publisher: release.yml on COMPAS-Surrogate/ogc4_interface

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page