{"id":13869814,"url":"https://github.com/josefkaufmann/ana_cont","last_synced_at":"2026-03-17T20:35:14.404Z","repository":{"id":37686645,"uuid":"130181546","full_name":"josefkaufmann/ana_cont","owner":"josefkaufmann","description":"Package for analytic continuation of many-body Green's functions","archived":false,"fork":false,"pushed_at":"2026-02-03T19:09:28.000Z","size":8866,"stargazers_count":46,"open_issues_count":3,"forks_count":14,"subscribers_count":3,"default_branch":"master","last_synced_at":"2026-02-04T08:32:04.836Z","etag":null,"topics":["analytical-continuation","maximum-entropy","pade-approximation"],"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/josefkaufmann.png","metadata":{"files":{"readme":"README.rst","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":"2018-04-19T08:10:04.000Z","updated_at":"2025-03-21T11:21:42.000Z","dependencies_parsed_at":"2024-01-16T07:23:21.822Z","dependency_job_id":"88b54b49-2b59-4940-9998-b0d79a993d16","html_url":"https://github.com/josefkaufmann/ana_cont","commit_stats":{"total_commits":164,"total_committers":5,"mean_commits":32.8,"dds":0.08536585365853655,"last_synced_commit":"84d864b75b90805b5b1688dfbf4a2387dfa20e3d"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/josefkaufmann/ana_cont","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/josefkaufmann%2Fana_cont","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/josefkaufmann%2Fana_cont/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/josefkaufmann%2Fana_cont/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/josefkaufmann%2Fana_cont/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/josefkaufmann","download_url":"https://codeload.github.com/josefkaufmann/ana_cont/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/josefkaufmann%2Fana_cont/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30631303,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-17T17:32:55.572Z","status":"ssl_error","status_checked_at":"2026-03-17T17:32:38.732Z","response_time":56,"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":["analytical-continuation","maximum-entropy","pade-approximation"],"created_at":"2024-08-05T20:01:18.339Z","updated_at":"2026-03-17T20:35:14.379Z","avatar_url":"https://github.com/josefkaufmann.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"ana_cont: Python package for analytic continuation\r\n==================================================\r\n\r\nUpdate: Documentation and resources can be found on `\u003chttps://josefkaufmann.github.io/ana_cont/\u003e`_.\r\n\r\nAny questions, suggestions and bug reports will be received gratefully. \r\n(Mail to: josefkaufma *at* gmail *dot* com)\r\n\r\nIf you used this package to generate results for a publication, please cite \r\n`this paper by Kaufmann and Held \u003chttps://doi.org/10.1016/j.cpc.2022.108519\u003e`_,\r\nwhere some implementation details are described in the Supplementary Material. \r\n\r\nShort description\r\n-----------------\r\nAnalytic continuation of Matsubara Green's functions is a difficult task,\r\nfor which there exists a large variety of methods and codes. \r\nThis package does, for now, not contain any new method, but its concept\r\ndiffers from most other codes: I do not provide compiled program that\r\nis able to do many different tasks, but instead a small Python library\r\ncontaining the necessary classes and functions. Based on this, the user\r\nis encouraged to write their own scripts, fitting their needs.\r\n\r\nCurrently, the Pade approximation and the Maximum Entropy method\r\nare implemented. \r\n\r\n\r\nPackage structure\r\n-----------------\r\n* **ana_cont** contains the main code files.\r\n* **gui** contains the code for the graphical user interface.\r\n* **doc** contains some learning resources.\r\n* **scripts** contains some simple examples how the library may be used; also the GUI executables are located there.\r\n\r\nRequirements\r\n------------\r\nThe code was checked to run with the following versions:\r\n* python3-dev\r\n* Python 3.7\r\n* numpy 1.18.1\r\n* scipy 1.4.1\r\n* Cython 0.29.15 (only for Pade)\r\n* matplotlib 3.1.3\r\n* h5py 2.10.0\r\n* PyQt5 (only for GUI)\r\n\r\nIt is likely that the code runs also with older package versions,\r\nbut I cannot guarantee for that.\r\n\r\n\r\nInstallation and usage\r\n----------------------\r\n\r\n\r\nInstallation via pip\r\n~~~~~~~~~~~~~~~~~~~~\r\n\r\nThe ana_cont library can be installed via pip:\r\n\r\n* ``sudo apt install python3-dev``\r\n* ``python3 -m pip install -U pyqt5 matplotlib wheel cython h5py scipy``\r\n* ``pip install -i https://test.pypi.org/simple/ ana-cont``\r\n\r\nThis installs the ``ana_cont`` python library.\r\nThe GUI scripts are also installed and\r\ncan be called from the command line as ``maxent.py``, ``pade.py``, ``maxent_bosonic.py``.\r\n\r\n\r\nInstallation from source via git\r\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n\r\nI recommend the following steps:\r\n\r\n``git clone https://github.com/josefkaufmann/ana_cont``\r\n\r\nIf you want to use Pade, you have to compile:\r\n``python setup.py build_ext --inplace``\r\n\r\nNow you can add the code directory to the python path in your script\r\nand import the package:\r\n\r\n``sys.path.insert(0, '/path/to/ana_cont')``\r\n\r\n``import ana_cont.continuation as cont``\r\n\r\nThe graphical user interface scripts can be executed as\r\n``/path/to/ana_cont/scripts/maxent.py``\r\n\r\nRunning tests after installation from source\r\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n\r\n``python3 -m unittest tests/ana_cont_tests.py -v``\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjosefkaufmann%2Fana_cont","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjosefkaufmann%2Fana_cont","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjosefkaufmann%2Fana_cont/lists"}