sierraecg


Namesierraecg JSON
Version 0.4.0 PyPI version JSON
download
home_pagehttps://github.com/sixlettervariables/sierra-ecg-tools
SummarySierra ECG Tools for Python
upload_time2024-10-31 01:12:44
maintainerNone
docs_urlNone
authorNone
requires_python>=3.9
licenseCopyright (c) 2022 Christopher Watford <christopher.watford@gmail.com> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
keywords ecg sierraecg xml
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # sierra-ecg-tools

Sierra ECG Tools for Python.

# Requirements

Python 3.9+.

## Runtime Dependencies

- defusedxml
- numpy

# Example
```python
from sierraecg import read_file

# 12-Lead Data
f = read_file('path/to/file.xml')
for lead in f.leads:
    print(f"{lead.label}: dur={lead.duration} f={lead.sampling_freq} {lead.samples[0:8]}...")

# 12-Lead Data + Representative Beats
f = read_file('path/to/file.xml', include_repbeats=True)
for repbeat in f.repbeats:
    print(f"{repbeat.label}: dur={repbeat.duration} f={repbeat.sampling_freq} {repbeat.samples[0:8]}...")
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/sixlettervariables/sierra-ecg-tools",
    "name": "sierraecg",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": null,
    "keywords": "ecg, sierraecg, xml",
    "author": null,
    "author_email": "Christopher Watford <christopher.watford@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/00/f8/9688831994c2af89131f24c90b7b902323b2c889776f5906fcabdf70fff2/sierraecg-0.4.0.tar.gz",
    "platform": null,
    "description": "# sierra-ecg-tools\r\n\r\nSierra ECG Tools for Python.\r\n\r\n# Requirements\r\n\r\nPython 3.9+.\r\n\r\n## Runtime Dependencies\r\n\r\n- defusedxml\r\n- numpy\r\n\r\n# Example\r\n```python\r\nfrom sierraecg import read_file\r\n\r\n# 12-Lead Data\r\nf = read_file('path/to/file.xml')\r\nfor lead in f.leads:\r\n    print(f\"{lead.label}: dur={lead.duration} f={lead.sampling_freq} {lead.samples[0:8]}...\")\r\n\r\n# 12-Lead Data + Representative Beats\r\nf = read_file('path/to/file.xml', include_repbeats=True)\r\nfor repbeat in f.repbeats:\r\n    print(f\"{repbeat.label}: dur={repbeat.duration} f={repbeat.sampling_freq} {repbeat.samples[0:8]}...\")\r\n```\r\n",
    "bugtrack_url": null,
    "license": "Copyright (c) 2022 Christopher Watford <christopher.watford@gmail.com>  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:  The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.  THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ",
    "summary": "Sierra ECG Tools for Python",
    "version": "0.4.0",
    "project_urls": {
        "Homepage": "https://github.com/sixlettervariables/sierra-ecg-tools"
    },
    "split_keywords": [
        "ecg",
        " sierraecg",
        " xml"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "288c9f041992f05f4c4fe5993ea42b0724ed059bc9d0cff3ad7657fdf63b3ca6",
                "md5": "5b1a2ce01ce3f49130046cddd6771e91",
                "sha256": "4b2d71154dd70223b3044901c7142b12e4efc49605eeaef0dafa9738121861e8"
            },
            "downloads": -1,
            "filename": "sierraecg-0.4.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "5b1a2ce01ce3f49130046cddd6771e91",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 8100,
            "upload_time": "2024-10-31T01:12:43",
            "upload_time_iso_8601": "2024-10-31T01:12:43.724506Z",
            "url": "https://files.pythonhosted.org/packages/28/8c/9f041992f05f4c4fe5993ea42b0724ed059bc9d0cff3ad7657fdf63b3ca6/sierraecg-0.4.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "00f89688831994c2af89131f24c90b7b902323b2c889776f5906fcabdf70fff2",
                "md5": "f3b2b8d95febd7243e0f39111bc9e346",
                "sha256": "736e86fb7d4221f96f3a42405d8264d60ef824c1eb138465923aa38c4f8f4089"
            },
            "downloads": -1,
            "filename": "sierraecg-0.4.0.tar.gz",
            "has_sig": false,
            "md5_digest": "f3b2b8d95febd7243e0f39111bc9e346",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 13557,
            "upload_time": "2024-10-31T01:12:44",
            "upload_time_iso_8601": "2024-10-31T01:12:44.663155Z",
            "url": "https://files.pythonhosted.org/packages/00/f8/9688831994c2af89131f24c90b7b902323b2c889776f5906fcabdf70fff2/sierraecg-0.4.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-10-31 01:12:44",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "sixlettervariables",
    "github_project": "sierra-ecg-tools",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "sierraecg"
}
        
Elapsed time: 1.00234s