{ "info": { "author": "dy1901", "author_email": "dy1901@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# ECG plot\n\n![example 12 lead plot](https://github.com/dy1901/ecg_plot/raw/master/example_ecg.png)\n\n## Plot standard ECG chart from data.\n* Support both direct plotting and plotting SVG preview in browser (currently only works on mac)\n* Support saving PNG and SVG to disk\n* Support customer defined lead order\n* Support customer defined column count\n\n## Install\n```\npip install ecg_plot\n```\n\n## Notice\n* Input data should be m x n matrix, which m is lead count of ECG and n is length of single lead signal.\n* Default sample rate is 500 Hz.\n\n## Example\n\n\n#### Plot 12 lead ECG\n\n\nparams:\n\n|parameter|description|\n| --- | --- |\n|ecg | m x n ECG signal data, which m is number of leads and n is length of signal. |\n|sample_rate| Sample rate of the signal. |\n|title | Title which will be shown on top off chart\n|lead_index | Lead name array in the same order of ecg, will be shown on left of signal plot, defaults to ['I', 'II', 'III', 'aVR', 'aVL', 'aVF', 'V1', 'V2', 'V3', 'V4', 'V5', 'V6'] |\n|lead_order | Lead display order |\n|columns | display columns, defaults to 2 |\n|style | display style, defaults to None, can be 'bw' which means black white |\n|row_height | how many grid should a lead signal have |\n|show_lead_name | show lead name |\n|show_grid | show grid |\n|show_separate_line | show separate line |\n\n\n```\nimport ecg_plot\n\necg = load_data() # load data should be implemented by yourself \necg_plot.plot(ecg, sample_rate = 500, title = 'ECG 12')\necg_plot.show()\n\n```\n\n#### Plot single lead ECG\n\n```\nimport ecg_plot\n\necg = load_data() # load data should be implemented by yourself \necg_plot.plot_1(ecg[1], sample_rate=500, title = 'ECG')\necg_plot.show()\n```\n\n#### Save result as png\n\n```\nimport ecg_plot\n\necg = load_data() # load data should be implemented by yourself \necg_plot.plot_12(ecg, sample_rate = 500, title = 'ECG 12')\necg_plot.save_as_png('example_ecg','tmp/')\n\n```\n\n### License: MIT\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://github.com/dy1901/ecg_plot", "keywords": "", "license": "MIT License", "maintainer": "", "maintainer_email": "", "name": "ecg-plot", "package_url": "https://pypi.org/project/ecg-plot/", "platform": "", "project_url": "https://pypi.org/project/ecg-plot/", "project_urls": { "Homepage": "https://github.com/dy1901/ecg_plot" }, "release_url": "https://pypi.org/project/ecg-plot/0.2.2/", "requires_dist": null, "requires_python": "", "summary": "Plot standard ECG chart from data", "version": "0.2.2" }, "last_serial": 5860136, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "eb4efe616efbca32d0db466f3a2b4c94", "sha256": "8c29076a300a6b5c2a398e3f34abc96a75db5de91061186c85d304418d072b05" }, "downloads": -1, "filename": "ecg_plot-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "eb4efe616efbca32d0db466f3a2b4c94", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 7801, "upload_time": "2019-05-15T09:09:27", "url": "https://files.pythonhosted.org/packages/46/e6/e1dd70c415c4f428dc810c123260ab1f072f9c67cced32b61b00db150847/ecg_plot-0.0.1-py3-none-any.whl" } ], "0.1.0": [ { "comment_text": "", "digests": { "md5": "34aa0e5c9d8f3f8f2382c9eba9eda846", "sha256": "17485fc429ee3af78344aec96bb8b90b3f86d57dce47c55ed927c282ee1660d2" }, "downloads": -1, "filename": "ecg_plot-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "34aa0e5c9d8f3f8f2382c9eba9eda846", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 7899, "upload_time": "2019-05-15T09:40:34", "url": "https://files.pythonhosted.org/packages/aa/46/d381eef1f819b009eb3b0d29ab1d7814ae4e7ac5755a7f482adac304bcea/ecg_plot-0.1.0-py3-none-any.whl" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "b4c51bafdbe9a1039b82563b03aa2287", "sha256": "23ae54a31be9b0c7d0db1fda2969cfa3eb615f73b400d3573b2019449b3f9a01" }, "downloads": -1, "filename": "ecg_plot-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "b4c51bafdbe9a1039b82563b03aa2287", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 7910, "upload_time": "2019-07-04T06:53:19", "url": "https://files.pythonhosted.org/packages/0f/53/add08789c6f17c6dba0042d4b41edc2401ead4536acfe0e06e9dae0d7b44/ecg_plot-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "26c18ea0130c70aa260529e0c0795999", "sha256": "6120a7218676004f082e53640b9fab12670bb5726dffc188ae3a06c9dd265758" }, "downloads": -1, "filename": "ecg_plot-0.1.1.tar.gz", "has_sig": false, "md5_digest": "26c18ea0130c70aa260529e0c0795999", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2974, "upload_time": "2019-07-04T06:53:21", "url": "https://files.pythonhosted.org/packages/0d/98/68fbbb7caac70f20e81bb4c1dbd278ec2b52c935b71ec38cb7dddc2880eb/ecg_plot-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "38ca38661dc379ea0be624c0bb74a078", "sha256": "ab8b40dcec45cf461efd544613a248178dda1593363ccb874167fa7be69b25d9" }, "downloads": -1, "filename": "ecg_plot-0.1.2-py3-none-any.whl", "has_sig": false, "md5_digest": "38ca38661dc379ea0be624c0bb74a078", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 8415, "upload_time": "2019-07-27T10:10:48", "url": "https://files.pythonhosted.org/packages/12/de/953a498917f226978460efa720dd1d941deab684fd14105e4fbf20ff7773/ecg_plot-0.1.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c96a8136c7fb50cea57e8e2621cfc742", "sha256": "66b0275ef6e85e3471b8941194e0f4238b394f83a66626a05617558f6c93a718" }, "downloads": -1, "filename": "ecg_plot-0.1.2.tar.gz", "has_sig": false, "md5_digest": "c96a8136c7fb50cea57e8e2621cfc742", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3481, "upload_time": "2019-07-27T10:10:50", "url": "https://files.pythonhosted.org/packages/fc/c1/1755a1b4b1da83172bdac1a0415a65ffc7fd003078867c4348fbc62e9f3e/ecg_plot-0.1.2.tar.gz" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "4488b1a503e4594295e9640f85cdef6d", "sha256": "37477e2bc97cf7f46df4d049ab5d2a29ab63620a29b813ae03f3965130d5158f" }, "downloads": -1, "filename": "ecg_plot-0.2.2-py3-none-any.whl", "has_sig": false, "md5_digest": "4488b1a503e4594295e9640f85cdef6d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 8928, "upload_time": "2019-09-20T04:54:42", "url": "https://files.pythonhosted.org/packages/7b/39/f0cd881facd79572f6356df269fb733b96f339f6f2c23c0213a9d953868f/ecg_plot-0.2.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "441f965302cd9c68e317ef131574b914", "sha256": "43595fd453f4db814596aca17ec1c7dd2e970423a89a5283f26102430e5d1eac" }, "downloads": -1, "filename": "ecg_plot-0.2.2.tar.gz", "has_sig": false, "md5_digest": "441f965302cd9c68e317ef131574b914", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3822, "upload_time": "2019-09-20T04:54:44", "url": "https://files.pythonhosted.org/packages/d0/56/610c4a6d50c19fa64d821df48ec9d16e2154fb1ac6944a37f12abe89693b/ecg_plot-0.2.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "4488b1a503e4594295e9640f85cdef6d", "sha256": "37477e2bc97cf7f46df4d049ab5d2a29ab63620a29b813ae03f3965130d5158f" }, "downloads": -1, "filename": "ecg_plot-0.2.2-py3-none-any.whl", "has_sig": false, "md5_digest": "4488b1a503e4594295e9640f85cdef6d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 8928, "upload_time": "2019-09-20T04:54:42", "url": "https://files.pythonhosted.org/packages/7b/39/f0cd881facd79572f6356df269fb733b96f339f6f2c23c0213a9d953868f/ecg_plot-0.2.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "441f965302cd9c68e317ef131574b914", "sha256": "43595fd453f4db814596aca17ec1c7dd2e970423a89a5283f26102430e5d1eac" }, "downloads": -1, "filename": "ecg_plot-0.2.2.tar.gz", "has_sig": false, "md5_digest": "441f965302cd9c68e317ef131574b914", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3822, "upload_time": "2019-09-20T04:54:44", "url": "https://files.pythonhosted.org/packages/d0/56/610c4a6d50c19fa64d821df48ec9d16e2154fb1ac6944a37f12abe89693b/ecg_plot-0.2.2.tar.gz" } ] }