{"id":28902453,"url":"https://github.com/cchandre/hamlorenz","last_synced_at":"2026-03-12T15:05:07.441Z","repository":{"id":299688091,"uuid":"996783682","full_name":"cchandre/HamLorenz","owner":"cchandre","description":"Hamiltonian Lorenz models","archived":false,"fork":false,"pushed_at":"2026-01-19T15:52:42.000Z","size":85,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-19T22:00:21.950Z","etag":null,"topics":["hamiltonian","hamiltonian-dynamics","hamiltonian-systems","lorenz-96","lorenz96","symplectic-integrator","symplectic-integrators","waves"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cchandre.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-06-05T13:07:47.000Z","updated_at":"2026-01-19T15:52:46.000Z","dependencies_parsed_at":"2025-07-10T17:49:19.331Z","dependency_job_id":"2e2897fc-87fc-4d37-9dbb-19d61014ca2f","html_url":"https://github.com/cchandre/HamLorenz","commit_stats":null,"previous_names":["cchandre/hamlorenz"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cchandre/HamLorenz","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cchandre%2FHamLorenz","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cchandre%2FHamLorenz/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cchandre%2FHamLorenz/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cchandre%2FHamLorenz/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cchandre","download_url":"https://codeload.github.com/cchandre/HamLorenz/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cchandre%2FHamLorenz/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30429359,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-12T14:34:45.044Z","status":"ssl_error","status_checked_at":"2026-03-12T14:09:33.793Z","response_time":114,"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":["hamiltonian","hamiltonian-dynamics","hamiltonian-systems","lorenz-96","lorenz96","symplectic-integrator","symplectic-integrators","waves"],"created_at":"2025-06-21T11:09:08.044Z","updated_at":"2026-03-12T15:05:07.431Z","avatar_url":"https://github.com/cchandre.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Hamiltonian Lorenz Models\n\nThis package implements **Hamiltonian Lorenz-like models**, a class of low-order dynamical systems that extend the classical Lorenz-96 and Lorenz-2005 frameworks by incorporating a **Hamiltonian structure**. These models are designed to preserve certain physical invariants—such as energy and Casimirs—making them particularly well-suited for studying conservative dynamical systems, geophysical flows, and chaotic transport.\n\n![PyPI](https://img.shields.io/pypi/v/hamlorenz)\n![License](https://img.shields.io/badge/license-BSD-lightgray)  \n\n![PyPI - Downloads](https://img.shields.io/pypi/dm/HamLorenz.svg?label=PyPI%20downloads)\n[![SWH](https://archive.softwareheritage.org/badge/swh:1:dir:2e47f563b4867d1cfd866173a9c0d66266e37bca/)](https://archive.softwareheritage.org/swh:1:dir:2e47f563b4867d1cfd866173a9c0d66266e37bca;origin=https://pypi.org/project/HamLorenz/;visit=swh:1:snp:98a3ade4f85c1d188c1b82ed281be6b6c325e612;anchor=swh:1:rel:595ee664e187f4b9482a7d8d6060c19366fea088;path=/hamlorenz-0.1.11/)\n\n\n## Installation \nInstallation within a Python virtual environment: \n```\npython3 -m pip install hamlorenz\n```\nFor more information on creating a Python virtual environment, click [here](https://realpython.com/python-virtual-environments-a-primer/). For a summary with the main steps, click [here](https://github.com/cchandre/HamLorenz/wiki/Python-Virtual-Environment-Primer).\n\n### Features\n\n* **Hamiltonian structure**: The time evolution of the system is derived from a Hamiltonian, preserving energy exactly as in the continuous-time limit.\n* **Casimir invariants**: Multiple conserved quantities beyond energy, ensuring the system evolves on a constrained manifold.\n* **Symplectic integrators**: Optional numerical solvers designed for long-time energy and Casimir invariant preservation.\n* **Lyapunov spectrum computation**: Quantifies the level of chaos in the system via Lyapunov exponents.\n* **Fourier-based desymmetrization**: Enables translational symmetry reduction to study physical variables in a more interpretable form.\n* **PDF and time series visualization**: Built-in tools to analyze and visualize system statistics and dynamics.\n\n### Applications\n\n* Modeling barotropic dynamics or simplified atmospheric flows.\n* Testing chaos detection and prediction techniques.\n* Benchmarking conservative integration schemes.\n\n### Reference\n\nFor a full mathematical formulation and analysis of these models, see:\n\n**Fedele, Chandre, Horvat, and Žagar**\n*Hamiltonian Lorenz-like models*,\n*Physica D*, Vol. 472, 134494 (2025).\n[https://doi.org/10.1016/j.physd.2024.134494](https://doi.org/10.1016/j.physd.2024.134494)\n\n```bibtex\n@article{HamLorenz,\n  title = {Hamiltonian Lorenz-like models},\n  author = {Francesco Fedele and Cristel Chandre and Martin Horvat and Nedjeljka Žagar},\n  journal = {Physica D: Nonlinear Phenomena},\n  volume = {472},\n  pages = {134494},\n  year = {2025},\n  doi = {https://doi.org/10.1016/j.physd.2024.134494},\n}\n```\n\n---\n\n### Documentation \u0026 Examples\n\nExamples can be found at [Examples](https://github.com/cchandre/HamLorenz/wiki/Examples)\n\nThe full documentation, including detailed function explanations, is available on the [Wiki Page](https://github.com/cchandre/HamLorenz/wiki).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcchandre%2Fhamlorenz","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcchandre%2Fhamlorenz","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcchandre%2Fhamlorenz/lists"}