@seanvelasco/ecg
TypeScript icon, indicating that this package has built-in type declarations

0.0.9 • Public • Published

@seanvelasco/ecg

Installation

npm install @seanvelasco/ecg

Usage

import ECG from "@seanvelasco/ecg"
import fs from 'fs'

const xmlFile = fs.readFileSync("ecg.xml")

const ecg = new ECG(xmlFile)

const image = ecg.plot()

fs.writeFileSync("image.svg", image)

Parsing different XML formats

  • Philips XML
  • Mindray MR XML
  • GE MUSE XML
  • HL7 FDA

Preparing the data

  • reconstitute

  • normalize

  • downsample

Plotting the data

Readme

Keywords

none

Package Sidebar

Install

npm i @seanvelasco/ecg

Weekly Downloads

1

Version

0.0.9

License

ISC

Unpacked Size

45.5 kB

Total Files

14

Last publish

Collaborators

  • seanvelasco