Giter Site home page Giter Site logo

cardiologs-app's Introduction

Installation

prerequisite: have rails installed on your machine

  1. Clone the repo
  2. run bundle install in the project folder
  3. run rails server (still in project folder)
  4. Go to http://localhost:3000

How to

Once you are on http://localhost:3000 you should see a small form with 2 inputs:

  • upload .csv file
  • upload date of the recording (optional but better for detailed results ๐Ÿ‘)

Then submit the form and you should see the results of the delineation analysis !

Some remarks

  • The front is very (very) basic, could definitely be improved ๐Ÿ’…
  • Tests are not complete ๐Ÿ‘ท
  • Error handling not really implemented

Assignment

Holter Record Summary

A normal heartbeat produces three entities on the ECG โ€” a P wave, a QRS complex, a T wave. https://en.wikipedia.org/wiki/Electrocardiography#Theory Identifying those entities in a signal is called delineation.

Here are CSV of an algorithm output for a 24h ECG: https://cardiologs-public.s3.amazonaws.com/python-interview/record.csv

Rows have the following fields: Wave type: P, QRS, T, or INV (invalid) Wave onset: Start of the wave in ms Wave offset: End of the wave in ms Optionally, a list of wave tags Write a simple application, including a web interface and an HTTP server with the following functionalities:

  1. Providing the following measurements to a physician when a delineation file is uploaded on the app with a POST /delineation request: The mean heart rate of the recording (Frequency at which QRS complexes appear). The minimum and maximum heart rate, each with the time at which they happened.
  2. Providing a possibility to set up the date and the time of the recording, as they are not included in the file. This should impact the date and the time seen in the measurements.

Cardiologs should be able to recover your work, understand it, trust it easily, maintain it, make changes to it, etc You are free to choose any language/framework for this exercise.

cardiologs-app's People

Watchers

Barbara Germaneau avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.