{"id":38685918,"url":"https://github.com/cosmostatgw/darksirensstat","last_synced_at":"2026-01-17T10:23:34.330Z","repository":{"id":156324048,"uuid":"333792546","full_name":"CosmoStatGW/DarkSirensStat","owner":"CosmoStatGW","description":"Statistical method for measuring modified GW propagation and Hubble parameter with dark sirens and galaxy catalogues","archived":false,"fork":false,"pushed_at":"2022-02-17T17:01:32.000Z","size":10712,"stargazers_count":12,"open_issues_count":0,"forks_count":7,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-09-10T05:51:48.911Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CosmoStatGW.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-01-28T15:00:46.000Z","updated_at":"2024-05-20T09:12:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"6d19472c-eff1-4e7c-b3e3-5f44d5923438","html_url":"https://github.com/CosmoStatGW/DarkSirensStat","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/CosmoStatGW/DarkSirensStat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CosmoStatGW%2FDarkSirensStat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CosmoStatGW%2FDarkSirensStat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CosmoStatGW%2FDarkSirensStat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CosmoStatGW%2FDarkSirensStat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CosmoStatGW","download_url":"https://codeload.github.com/CosmoStatGW/DarkSirensStat/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CosmoStatGW%2FDarkSirensStat/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28506379,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T06:57:29.758Z","status":"ssl_error","status_checked_at":"2026-01-17T06:56:03.931Z","response_time":85,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-01-17T10:23:33.588Z","updated_at":"2026-01-17T10:23:34.317Z","avatar_url":"https://github.com/CosmoStatGW.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DarkSirensStat\nThis package implements a hierarchical bayesian framework for constraining the Hubble parameter and modified GW propagation with dark sirens and galaxy catalogues.\n\nThe methods and results can be found in the paper [Cosmology with LIGO/Virgo dark sirens: Hubble parameter and modified gravitational wave propagation](https://arxiv.org/abs/2101.12660). \n\nDeveloped by [Andreas Finke](\u003chttps://github.com/AndreasFinke\u003e)  and [Michele Mancarella](\u003chttps://github.com/Mik3M4n\u003e).\n\n\n## Summary\n\n\n* [Citation](https://github.com/CosmoStatGW/Xi0Stat#citation)\n* [Installation](https://github.com/CosmoStatGW/Xi0Stat#Installation)\n* [Overview and code organisation](https://github.com/CosmoStatGW/Xi0Stat#Overview-and-code-organisation)\n* [Data](https://github.com/CosmoStatGW/Xi0Stat#Data)\n* [Usage](https://github.com/CosmoStatGW/Xi0Stat#Usage)\n\n\n## Citation\nThis package is released together with the paper [Cosmology with LIGO/Virgo dark sirens: Hubble parameter and modified gravitational wave propagation](https://arxiv.org/abs/). When making use of it, please cite the paper and the present git repository. Bibtex:\n\n```\n@article{Finke:2021aom,\n    author = \"Finke, Andreas and Foffa, Stefano and Iacovelli, Francesco and Maggiore, Michele and Mancarella, Michele\",\n    title = \"{Cosmology with LIGO/Virgo dark sirens: Hubble parameter and modified gravitational wave propagation}\",\n    eprint = \"2101.12660\",\n    archivePrefix = \"arXiv\",\n    primaryClass = \"astro-ph.CO\",\n    doi = \"10.1088/1475-7516/2021/08/026\",\n    journal = \"JCAP\",\n    volume = \"08\",\n    pages = \"026\",\n    year = \"2021\"\n}\n```\n\n## Installation\n\nFirst, in a terminal run\n\n```\npip install -r requirements.txt\n```\nto install the required python libraries.\nThen, run\n\n```\n./install.sh\n```\nthe code will download all the needed data in the data directory (for its structure, go to data/). These include:\n\n* The GLADE galaxy catalogue\n*  O2 and O3 skymaps from the LVC official data releases\n*  O2 and O3 strain sensitivities\n*  Optionally, the DES and GWENS galaxy catalogues. Do not use this option on a laptop, since the space required is very large\n\n## Overview and code organisation\n\nHere we will soon provide a description of the main logic of the code\n\n## Data\nDescription is provided inside the data folder.\n\n\n## Usage\n\n\nThe configuration options are read from the the file ```config.py``` . \nWe provide a template with explanation in ```config_template.py```. To creat you own configuration file:\n\n```\ncp config_template.py config.py\n```\nThen, open ```config.py``` and set the options. A description is provided within the file. \n\nThe default options are for running inference for H0 on the O3 BBH events, with flat prior between 20 and 140, mask completeness with 9 masks, interpolation between multiplicative and homogeneous completion, B-band luminosity weights, and a completeness threshold of 50%. The selection effects are computed with MC. To run, execute\n\n```\npython main.py\n```\n\nThe result will be saved in a folder ```results/O2BBHs/``` (the name can be changed in the configuration). \n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcosmostatgw%2Fdarksirensstat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcosmostatgw%2Fdarksirensstat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcosmostatgw%2Fdarksirensstat/lists"}