Skip to main content

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

Project description

OGC-4 Interface

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.0.tar.gz (799.6 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.0-py3-none-any.whl (17.2 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for compas_surrogate_ogc4_interface-0.0.0.tar.gz
Algorithm Hash digest
SHA256 70bb5de8f3c9c2670ea080a40fab2a5fe0ef4c80f3b83b732859b33ca9b140e7
MD5 ef949f13a24433d98032b2e218ad642b
BLAKE2b-256 4738afd09cb540fb35d261a1bbaaadae692e8606b8bbc1c317ab98b981bab37c

See more details on using hashes here.

Provenance

The following attestation bundles were made for compas_surrogate_ogc4_interface-0.0.0.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.0-py3-none-any.whl.

File metadata

File hashes

Hashes for compas_surrogate.ogc4_interface-0.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f747d51d7866d0877ec7cc7dae327e2d398323fe4cfcdd968046565cca907bce
MD5 514153614f9592b30f1011212c1de052
BLAKE2b-256 e80806507306598e95c9762d05a933c1038df1f7bd4c51c00e9c13cecb06aa31

See more details on using hashes here.

Provenance

The following attestation bundles were made for compas_surrogate.ogc4_interface-0.0.0-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