You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
894 B

  1. #pragma once
  2. #include <stdint.h>
  3. //const uint32_t SAMPLING_RATE = 1000;
  4. #define SAMPLING_RATE 360
  5. typedef struct
  6. {
  7. float value;
  8. int32_t index;
  9. }SignalPoint;
  10. enum
  11. {
  12. NOTQRS, /* not-QRS (not a getann/putann code) */
  13. NORMAL, /* normal beat */
  14. LBBB, /* left bundle branch block beat */
  15. RBBB, /* right bundle branch block beat */
  16. ABERR, /* aberrated atrial premature beat */
  17. PVC, /* premature ventricular contraction */
  18. FUSION, /* fusion of ventricular and normal beat */
  19. NPC, /* nodal (junctional) premature beat */
  20. APC, /* atrial premature contraction */
  21. SVPB, /* premature or ectopic supraventricular beat */
  22. VESC, /* ventricular escape beat */
  23. NESC, /* nodal (junctional) escape beat */
  24. PACE, /* paced beat */
  25. UNKNOWN, /* unclassifiable beat */
  26. NOISE, /* signal quality change */
  27. ARFCT /* isolated QRS-like artifact */
  28. };