{"id":23579869,"url":"https://github.com/norwegianseismicarray/tphasenet","last_synced_at":"2025-05-16T18:13:03.801Z","repository":{"id":226037726,"uuid":"767566157","full_name":"NorwegianSeismicArray/tphasenet","owner":"NorwegianSeismicArray","description":null,"archived":false,"fork":false,"pushed_at":"2024-05-22T12:36:42.000Z","size":32307,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-05-22T12:55:40.360Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NorwegianSeismicArray.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2024-03-05T14:24:36.000Z","updated_at":"2024-05-22T12:36:46.000Z","dependencies_parsed_at":"2024-12-26T23:23:13.687Z","dependency_job_id":null,"html_url":"https://github.com/NorwegianSeismicArray/tphasenet","commit_stats":null,"previous_names":["norwegianseismicarray/tphasenet"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NorwegianSeismicArray%2Ftphasenet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NorwegianSeismicArray%2Ftphasenet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NorwegianSeismicArray%2Ftphasenet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NorwegianSeismicArray%2Ftphasenet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NorwegianSeismicArray","download_url":"https://codeload.github.com/NorwegianSeismicArray/tphasenet/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254582908,"owners_count":22095519,"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","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":"2024-12-26T23:13:06.465Z","updated_at":"2025-05-16T18:13:03.783Z","avatar_url":"https://github.com/NorwegianSeismicArray.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ca name=\"readme-top\"\u003e\u003c/a\u003e\n\n# TPhaseNet: Phase picking for regional seismic data\n\nCode related to the submitted paper **Deep learning models for regional phase detection on seismic stations in Northern Europe and the European Arctic**.\n\nTested setup for installation of required packages  :\n\n```\nconda create -n test python=3.10.12\nconda activate test\npip install -r requirements.txt\n```\n\nTo train a model for phase detection run :\n\n```\npython train.py\n```\n\nAll training and model parameters can be changed in config.yaml.\n\nThis is a simply training example on a cpu. It is recommend to train on gpu.\nTo train on gpu you have to adapt the call of train.py for example using docker.\n\nDue to limited space on GitHub, this example uses a dummy training data set with only a few events (tf/data).\nCurrently, to train you own model, you must generate your own data. The data structure can be explored by loading\nthe dummy training data files.\n\nWe have uploaded parts of the full data (events in the NORSAR catalogue recorded at station ARA0 in years 2001--2022) to Zenodo. The models used in the paper are also too large for GitHub and are uploaded to Zenodo as well. \n\nData and model are available here:\n\n[Zenodo repository](https://www.doi.org/10.5281/zenodo.11231543)\n\nTo pick arrivals in continuous data of station ARA0 first download the models, store them in tf/output/models,\nadjust pred_config.yaml, and then run:\n\n```\npython predict.py\n```\n\n\n\u003c!-- CONTACT --\u003e\n## Contact\n\nAndreas Köhler - andreas.kohler@norsar.no - [ORCID](https://orcid.org/0000-0002-1060-7637)\n\nErik B. Myklebust - [ORCID](https://orcid.org/0000-0002-3056-2544)\n\n\nProject Link: [https://github.com/NorwegianSeismicArray/tphasenet](https://github.com/NorwegianSeismicArray/tphasenet)\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n\n\u003c!-- ACKNOWLEDGMENTS --\u003e\n## Acknowledgments\n\n* Models are built with [TensorFLow](https://www.tensorflow.org/)\n* ARCES waveform data are available via the [Norwegian EIDA node](https://eida.geo.uib.no/webdc3/)\n* Reviewed seismic event bulletins from which the input data labels were obtained are available from the [Finish National Seismic Network](https://www.seismo.helsinki.fi/bulletin/list/norBull.html\n) and [NORSAR](http://www.norsardata.no/NDC/bulletins/regional/)\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n                        \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnorwegianseismicarray%2Ftphasenet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnorwegianseismicarray%2Ftphasenet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnorwegianseismicarray%2Ftphasenet/lists"}