{ "info": { "author": "Patrick Browne", "author_email": "pt.browne@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "# XDI Pandas\n\nThis modules lets you parse XDI files into Pandas dataframes.\n\n\n```python\nfrom xdi_pandas import parse\n\ndf = parse('file.chir')\nprint(df.metadata)\nprint(df.metadata['Version'])\nprint(df.metadata['Element']['symbol'])\nprint(df['fit'])\nprint(df['residual'])\ndf2 = parse('file2.lcf')\n```\n### Fields\n\nXDI Pandas being developed primarily to help generate in batch graphs for\nAthena generated files, it supports several Athena extension fields.\n\nFields are defined and validated in [./xdi-pandas/xdi_types.py] following the spec.\n\nList of supported fields :\n\n```bash\n$ python -c 'from xdi_pandas.xdi_types import xdi_fields; print(\"\\n\".join(xdi_fields.keys()))'\nBeamline.collimation\nBeamline.focusing\nBeamline.harmonic_rejection\nBeamline.name\nDetector.i0\nDetector.it\nDetector.if\nDetector.ir\nElement.edge\nElement.symbol\nElement.reference\nElement.ref_edge\nMono.d_spacing\nMono.name\nFacility.current\nFacility.energy\nAthena.bkg_kweight\nAthena.clamps\nAthena.dk\nAthena.dr\nAthena.e0\nAthena.edge_step\nAthena.eshift\nAthena.fixed_step\nAthena.importance\nAthena.k_range\nAthena.kweight\nAthena.normalization_range\nAthena.phase_correction\nAthena.plot_multiplier\nAthena.post_edge_polynomial\nAthena.pre_edge_line\nAthena.pre_edge_range\nAthena.r_range\nAthena.rbkg\nAthena.spline_range_energy\nAthena.spline_range_k\nAthena.standard\nAthena.window\nAthena.y_offset\nScan.start_time\nScan.end_time\nScan.edge_energy\nSample.name\nSample.id\nSample.stoichiometry\nSample.prep\nSample.experimenters\nSample.temperature\n\n```\n### Tests\n\n`nosetest` is used for the tests.\n\n`make test` will run the tests\n### Repository structure\n\nThanks to Kenneth Reitz for is super useful python module directory structure.\n", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/ptbrowne/xdi-pandas/archive/0.2.0.tar.gz", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/ptbrowne/xdi-pandas", "keywords": "", "license": "MIT\n", "maintainer": "", "maintainer_email": "", "name": "xdi-pandas", "package_url": "https://pypi.org/project/xdi-pandas/", "platform": "", "project_url": "https://pypi.org/project/xdi-pandas/", "project_urls": { "Download": "https://github.com/ptbrowne/xdi-pandas/archive/0.2.0.tar.gz", "Homepage": "https://github.com/ptbrowne/xdi-pandas" }, "release_url": "https://pypi.org/project/xdi-pandas/0.2.0/", "requires_dist": null, "requires_python": "", "summary": "Read XDI files to Pandas dataframes", "version": "0.2.0" }, "last_serial": 3576727, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "7e49ca2bee56449c6211e7e3c406b215", "sha256": "a904c47d5684bc28cf4c4d1be01bed71f8bac798186243bc76fb03b019b22d29" }, "downloads": -1, "filename": "xdi-pandas-0.1.0.tar.gz", "has_sig": false, "md5_digest": "7e49ca2bee56449c6211e7e3c406b215", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2562, "upload_time": "2018-01-28T20:09:41", "url": "https://files.pythonhosted.org/packages/07/97/2233bcd4ae6ab20db1e74626a8fa3cc4f029724afc2687cb5d449e846400/xdi-pandas-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "3fbf5ba43cd3c452da9aea537132bba5", "sha256": "d51d3202234e1187b5080fc03ed6817594a8fdc11e98c4715d84f0c2d43994dd" }, "downloads": -1, "filename": "xdi-pandas-0.1.1.tar.gz", "has_sig": false, "md5_digest": "3fbf5ba43cd3c452da9aea537132bba5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2655, "upload_time": "2018-01-28T20:11:53", "url": "https://files.pythonhosted.org/packages/c3/70/59597c4107ff66b656fdf315a21c8e6b1efa9e17611730bc6c8353a58c95/xdi-pandas-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "ea6c47d141cead9a0a943439653c0e2c", "sha256": "9ae5186c190e1cda794e392e76db8b30e2287910f1564b28fbe5535729b56e5d" }, "downloads": -1, "filename": "xdi-pandas-0.1.2.tar.gz", "has_sig": false, "md5_digest": "ea6c47d141cead9a0a943439653c0e2c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2646, "upload_time": "2018-01-28T21:37:37", "url": "https://files.pythonhosted.org/packages/fc/68/373d6d1120e05c5e2bf66f2ba62f4eac0e21ef6d3e8cef1e4e3177ac9cd1/xdi-pandas-0.1.2.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "1c58e5efdfbcc48c4db2ca37890261d5", "sha256": "8e4966da723e3bdeaac1f83f620aad01e157b451122ab2ed753bcaa7909d339e" }, "downloads": -1, "filename": "xdi-pandas-0.2.0.tar.gz", "has_sig": false, "md5_digest": "1c58e5efdfbcc48c4db2ca37890261d5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4608, "upload_time": "2018-02-12T23:56:14", "url": "https://files.pythonhosted.org/packages/27/d4/f6ca19368f58462fd469dda4ee3180b531fda41a63fd2d14a3766c19c09b/xdi-pandas-0.2.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "1c58e5efdfbcc48c4db2ca37890261d5", "sha256": "8e4966da723e3bdeaac1f83f620aad01e157b451122ab2ed753bcaa7909d339e" }, "downloads": -1, "filename": "xdi-pandas-0.2.0.tar.gz", "has_sig": false, "md5_digest": "1c58e5efdfbcc48c4db2ca37890261d5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4608, "upload_time": "2018-02-12T23:56:14", "url": "https://files.pythonhosted.org/packages/27/d4/f6ca19368f58462fd469dda4ee3180b531fda41a63fd2d14a3766c19c09b/xdi-pandas-0.2.0.tar.gz" } ] }