{"id":34072888,"url":"https://github.com/senclimate/xphasesync","last_synced_at":"2025-12-14T08:27:47.598Z","repository":{"id":315304337,"uuid":"1046353786","full_name":"senclimate/xphasesync","owner":"senclimate","description":"Phase synchronization analysis of two time series using Numpy and Xarray","archived":false,"fork":false,"pushed_at":"2025-10-04T10:40:07.000Z","size":520,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-11-29T01:26:35.031Z","etag":null,"topics":["climate-analysis","enso","phase-synchronization","xarray","xarray-extension"],"latest_commit_sha":null,"homepage":"","language":"Python","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/senclimate.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":"2025-08-28T15:04:01.000Z","updated_at":"2025-10-30T00:27:53.000Z","dependencies_parsed_at":"2025-09-17T21:43:33.179Z","dependency_job_id":"063b45ae-1c36-46a9-8f6f-ad5f7978a5bc","html_url":"https://github.com/senclimate/xphasesync","commit_stats":null,"previous_names":["senclimate/xphasesync"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/senclimate/xphasesync","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/senclimate%2Fxphasesync","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/senclimate%2Fxphasesync/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/senclimate%2Fxphasesync/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/senclimate%2Fxphasesync/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/senclimate","download_url":"https://codeload.github.com/senclimate/xphasesync/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/senclimate%2Fxphasesync/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27723173,"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-12-14T02:00:11.348Z","response_time":56,"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":["climate-analysis","enso","phase-synchronization","xarray","xarray-extension"],"created_at":"2025-12-14T08:27:47.063Z","updated_at":"2025-12-14T08:27:47.591Z","avatar_url":"https://github.com/senclimate.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.17148051.svg)](https://doi.org/10.5281/zenodo.17148051)\n\n\n# xphasesync\n\nPhase synchronization analysis of two time series using Numpy and Xarray\n\n\u003e 📌 **Note:**  \n\u003e If you use `xphasesync` in your published work, please cite:\n\u003e\n\u003e Stuecker, M. F., Zhao, S., Timmermann, A., Ghosh, R., Semmler, T., Lee, S.-S., Moon, J.-Y., Jin, F.-F., Jung, T. (2025). *Global climate mode resonance due to rapidly intensifying El Niño–Southern Oscillation.*  **Nature Communications**. https://doi.org/10.1038/s41467-025-64619-0\n\n\n## Installation\n\n```bash\npip install git+https://github.com/senclimate/xphasesync.git\n```\n\nor\n\n```bash\npip install xphasesync\n```\n\n\n## Quick Start\n\n```python\nimport numpy as np\nimport xarray as xr\nfrom xphasesync import xphasesync\n\n# Create sample sine waves\ntime = np.arange(1000)\nsig1 = np.sin(0.1*time)\nsig2 = np.sin(0.1*time + 0.5)\n\nda1 = xr.DataArray(sig1, dims=[\"time\"])\nda2 = xr.DataArray(sig2, dims=[\"time\"])\n\nds = xphasesync(da1, da2, dim=\"time\")\nprint(ds)\n```\n\n## Applications\n- ENSO phase synchronization changes (Fig. 4 and Supplementary Fig. 8 in Stuecker et al. 2025), an detailed example is available in [examples/phase_sync_illustration.ipynb](examples/phase_sync_illustration.ipynb)\n\n\n## References\n- Pikovsky, A., Rosenblum, M. \u0026 Kurths, J. Phase synchronization in regular and chaotic systems. International Journal of Bifurcation and Chaos 10, 2291–2305 (2000). https://doi.org/10.1142/S0218127400001481\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsenclimate%2Fxphasesync","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsenclimate%2Fxphasesync","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsenclimate%2Fxphasesync/lists"}