{"id":17477897,"url":"https://github.com/santoshkumarradha/questaal-reader","last_synced_at":"2026-01-20T20:04:00.319Z","repository":{"id":40961647,"uuid":"261875959","full_name":"santoshkumarradha/questaal-reader","owner":"santoshkumarradha","description":"Prase and read QUESTAAL quantum calculation's output ","archived":false,"fork":false,"pushed_at":"2024-02-21T18:04:45.000Z","size":810,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-18T23:19:47.689Z","etag":null,"topics":["ab-initio","dft","electronic-structure","gw","python","qsgw","quantum-codes","questaal","questaal-reader"],"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/santoshkumarradha.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":"2020-05-06T20:51:51.000Z","updated_at":"2020-05-21T03:23:28.000Z","dependencies_parsed_at":"2024-12-20T05:29:13.832Z","dependency_job_id":"33014782-08e1-4054-824b-05016aa7708e","html_url":"https://github.com/santoshkumarradha/questaal-reader","commit_stats":{"total_commits":9,"total_committers":1,"mean_commits":9.0,"dds":0.0,"last_synced_commit":"1b42d1e783efcea715a8f4e718c2e10ad4165cad"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/santoshkumarradha/questaal-reader","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/santoshkumarradha%2Fquestaal-reader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/santoshkumarradha%2Fquestaal-reader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/santoshkumarradha%2Fquestaal-reader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/santoshkumarradha%2Fquestaal-reader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/santoshkumarradha","download_url":"https://codeload.github.com/santoshkumarradha/questaal-reader/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/santoshkumarradha%2Fquestaal-reader/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28612157,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T18:56:40.769Z","status":"ssl_error","status_checked_at":"2026-01-20T18:54:26.653Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["ab-initio","dft","electronic-structure","gw","python","qsgw","quantum-codes","questaal","questaal-reader"],"created_at":"2024-10-18T20:10:03.945Z","updated_at":"2026-01-20T20:04:00.304Z","avatar_url":"https://github.com/santoshkumarradha.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# QUESTAAL READER\n\nReader for questaal quantum code output\n\n*NOTE: Soon to be combined with [pyquestaal](https://github.com/santoshkumarradha/pyquestaal)*\n\n### Installation and Examples\n\nplace the questaal_reader.py file in the python bin and use after installing requirements.txt as\n```console\n pip install -U -r requirements.txt\n ```\n\nexample usage shown in [example.ipynb](./example.ipynb)\n\n\n### example usage\nMake sure you use high verbosity and ideally --pr51 and pipe lmf output to a file\n\n\n```python\nfrom questaal_reader import *\noutput=reader(\"out\") #out is the output file name\nehf=[i.ehf for i in output.iterations]\nehk=[i.ehk for i in output.iterations]\nplt.plot(ehf,marker=\"o\",label=\"ehf\")\nplt.plot(ehk,marker=\"s\",label=\"ehk\")\nplt.ylabel(\"Energy (eV)\")\nplt.xlabel(\"Iterations\")\nplt.legend()\nplt.show()\n```\n\nproduces the following plot\n\u003cimg src=\"./ehf-ehk.png\" style=\"max-height: 40px; max-width: 40px;\" \u003e\n\n\nReturns pymatgen band plotter for easy plotting with bnds.ctrl\n\n```python\nfrom questaal_reader import get_bands\nimport matplotlib.pyplot as plt\nfrom pymatgen.electronic_structure.plotter import BSPlotter as bp\n\np=get_bands(\"./band-data/bnds.temp\")\n\nfig,ax=plt.subplots()\nfor i in range(len(bp(p).bs_plot_data()['distances'])):\n    d=bp(p).bs_plot_data()['distances'][i]\n    e=bp(p).bs_plot_data()['energy'][i]['1']\n    for k in e:\n        if k[0]\u003e0:c=\"#e9c46a\"\n        else:c=\"#e76f51\"\n        plt.plot(d,k,c=c,lw=2)\n\nfor j,i in enumerate(bp(p).bs_plot_data()['ticks'][\"distance\"]):\n    plt.axvline(i,c=\"k\",ls=\"--\",lw=.5)\nax.set_xticks(bp(p).bs_plot_data()['ticks'][\"distance\"])\nax.set_xticklabels(bp(p).bs_plot_data()['ticks'][\"label\"])\nax.axhline(0,ls=\"-.\",c=\"k\")\nplt.ylim(-7,6)\nax.autoscale(enable=True, axis='x', tight=True)\nax.set_ylabel(\"Energy (eV)\")\nplt.tight_layout()\nplt.savefig(\"bands.png\",dpi=400)\nplt.show()\n```\n\nproduces the following plot\n\u003cimg src=\"./bands.png\" style=\"max-height: 40px; max-width: 40px;\" \u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsantoshkumarradha%2Fquestaal-reader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsantoshkumarradha%2Fquestaal-reader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsantoshkumarradha%2Fquestaal-reader/lists"}