{"id":25146823,"url":"https://github.com/psteinb/gw_simulator","last_synced_at":"2025-08-26T01:20:54.032Z","repository":{"id":276118374,"uuid":"928272920","full_name":"psteinb/gw_simulator","owner":"psteinb","description":null,"archived":false,"fork":false,"pushed_at":"2025-04-11T16:09:58.000Z","size":234,"stargazers_count":0,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-11T16:25:06.232Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/psteinb.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}},"created_at":"2025-02-06T11:07:52.000Z","updated_at":"2025-04-11T16:10:02.000Z","dependencies_parsed_at":"2025-02-06T12:24:07.306Z","dependency_job_id":"c6ee01b8-fe39-411f-aac8-cf8448d3349f","html_url":"https://github.com/psteinb/gw_simulator","commit_stats":null,"previous_names":["psteinb/gw_simulator"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/psteinb/gw_simulator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psteinb%2Fgw_simulator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psteinb%2Fgw_simulator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psteinb%2Fgw_simulator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psteinb%2Fgw_simulator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/psteinb","download_url":"https://codeload.github.com/psteinb/gw_simulator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psteinb%2Fgw_simulator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272156582,"owners_count":24883260,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-25T02:00:12.092Z","response_time":1107,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":"2025-02-08T20:27:50.643Z","updated_at":"2025-08-26T01:20:54.013Z","avatar_url":"https://github.com/psteinb.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Gravitational Wave Simulator\n\nThis package is meant to abstract the simulation of a gravitational wave event recorded by the LIGO experiment.\n\n## Installation\n\nInclude the following in your `requirements.txt`:\n\n``` \nhttps://github.com/psteinb/gw_simulator.git@master\n```\n\nor download and install the package:\n\n``` bash\ngit clone https://github.com/psteinb/gw_simulator.git\ncd gw_simulator\npython -m pip install .\n```\n\nA pypi release is in the making.\n\n## Usage\n\nIf you want to use the default simulator configs, do the following:\n\n``` python\nfrom gw_simulator.generate import run_sim\nimport torch\n\nbatchsize = 3\ntheta = torch.ones((batchsize, 2))\ntheta[..., 0] = torch.arange(1, batchsize+1)\ntheta[..., 1] = theta[..., 0]*10\n\nmasses, xs = run_sim(theta)\n```\n\nIf you like to play with the simulator, you might want to do:\n\n``` python\nfrom gw_simulator.simulator.interface import GravitationalWaveBenchmarkSimulator as gws\nimport torch\n\nbatchsize = 3\ntheta = torch.ones((batchsize, 2))\ntheta[..., 0] = torch.arange(1, batchsize+1)\ntheta[..., 1] = theta[..., 0]*10\n\nsimulator = gws(path_to_config)\nxs = simulator(theta)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpsteinb%2Fgw_simulator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpsteinb%2Fgw_simulator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpsteinb%2Fgw_simulator/lists"}