{ "info": { "author": "Michele Renda", "author_email": "michele.renda@cern.ch", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# ZCross\n\nZCross is a python library used to read low pressure gas sections from various sources like [LXCat](https://lxcat.net/home/).\n\n## Installation\n\nTo install this package just use pip:\n``` shell\npip install zcross\n```\n\nAfter installing it is necessary to download the cross-section databases. As today, only the [LXCat](https://lxcat.net/home/) dataset is available.\n\nAfter downloading the database, uncompress and copy to a shared directory such as:\n``` shell\n/opt/zcross-data/\n```\nand configure the `$ZCROSS_DATA` enviroment variable in your `.bashrc` or in `/etc/profile.d/zcross.sh`\n``` shell\nexport ZCROSS_DATA=/opt/zcross-data/\n```\n\nUnfortunately, due licensing issues, **we are not able to distribute** the cross section database and we are closely working with the [LXCat](https://lxcat.net/home/) to make them available. Please contact the [authors](michele.renda@cern.ch) of this module for support or updates about the databases availability.\n\n## Examples\n\nList the database availables:\n``` python\nfrom zcross import ZCross\n\nz = ZCross()\nfor database in z.databases:\n\tprint(database)\n```\n\nShow the groups and references of a speficic database:\n``` python\nfrom zcross import ZCross\n\nz = ZCross()\ndatabase = z.databases[0]\n\nfor group in database.groups:\n\tprint(group)\n\nfor reference in database.references:\n\tprint(reference.bibtex())\n```\n\nShow the process of a specific group:\n``` python\nfrom zcross import ZCross\n\nz = ZCross()\ndatabase = z.databases[0]\ngroup = database.groups[0]\n\nfor process in group.processes:\n\tprint(\"Process {} (type: {}) : {}\".format(process.id, process.collisionType, process))\n\tprint(\"Comment: {}\\n\".format(process.comment))\n```\n\nShow the cross section table of a specific process:\n``` python\nfrom zcross import ZCross\n\nz = ZCross()\ndatabase = z.databases[0]\ngroup = database.groups[0]\nprocess = group.processes[0]\n\nprint('Energy [{}],\\tArea [{}]'.format(process.energy_units, process.cross_section_units))\n\nfor energy, area in zip(process.energy, process.cross_section):\n\tprint('{:8.2f}\\t{:e}'.format(energy, area))\n```\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://gitlab.com/micrenda/zcross-python", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "zcross", "package_url": "https://pypi.org/project/zcross/", "platform": "", "project_url": "https://pypi.org/project/zcross/", "project_urls": { "Homepage": "https://gitlab.com/micrenda/zcross-python" }, "release_url": "https://pypi.org/project/zcross/0.0.1/", "requires_dist": null, "requires_python": ">=3.0", "summary": "An utility to read low-pressure gaseous cross sections data", "version": "0.0.1" }, "last_serial": 5953831, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "960dbd95e46ca3fdeb10166233d817c2", "sha256": "ed83c0ab28aeca76ad4464e3f26e0fbff5387bfd4855d85140320c59c764cbd7" }, "downloads": -1, "filename": "zcross-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "960dbd95e46ca3fdeb10166233d817c2", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.0", "size": 7964, "upload_time": "2019-10-10T09:25:59", "url": "https://files.pythonhosted.org/packages/75/c8/6c6052df19f2c110560fd4ef82a81e35ab479e521b9e77021964892d033b/zcross-0.0.1-py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "960dbd95e46ca3fdeb10166233d817c2", "sha256": "ed83c0ab28aeca76ad4464e3f26e0fbff5387bfd4855d85140320c59c764cbd7" }, "downloads": -1, "filename": "zcross-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "960dbd95e46ca3fdeb10166233d817c2", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.0", "size": 7964, "upload_time": "2019-10-10T09:25:59", "url": "https://files.pythonhosted.org/packages/75/c8/6c6052df19f2c110560fd4ef82a81e35ab479e521b9e77021964892d033b/zcross-0.0.1-py3-none-any.whl" } ] }