# How can i see Cardiac arrhythmia in the simulator?

**URL:** https://discourse.kitware.com/t/how-can-i-see-cardiac-arrhythmia-in-the-simulator/1080
**Category:** Pulse Physiology Engine
**Created:** [August 14, 2023, 3:45pm UTC](https://discourse.kitware.com/t/how-can-i-see-cardiac-arrhythmia-in-the-simulator/1080 "2023-08-14T15:45:11Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![Lanir](https://discourse.kitware.com/user_avatar/discourse.kitware.com/lanir/32/723_2.png) [@Lanir](https://discourse.kitware.com/u/Lanir)
#### Post date: [August 14, 2023, 3:45pm UTC](https://discourse.kitware.com/t/how-can-i-see-cardiac-arrhythmia-in-the-simulator/1080/1 "2023-08-14T15:45:11Z")

</div>

Hey guys!  
after loading a patient , what can i do in order to see one of the cardiac arrhythmia types?  
is there’s any action on click i can do?

there’s a way to define that the patient will have some cardiac arrhythmia in a specific point of the simulation?

the engine supports all types of cardiac arrhythmia ?

thank you very much!

---

<div class="post-metadata">

### Author: ![abray](https://discourse.kitware.com/user_avatar/discourse.kitware.com/abray/32/12_2.png) [@abray](https://discourse.kitware.com/u/abray)
#### Post date: [August 14, 2023, 10:23pm UTC](https://discourse.kitware.com/t/how-can-i-see-cardiac-arrhythmia-in-the-simulator/1080/2 "2023-08-14T22:23:42Z")

</div>

Sure, you can use our Arrhythmia action

You can read about it here

[https://pulse.kitware.com/\_cardiovascular\_methodology.html#autotoc\_md171](https://pulse.kitware.com/_cardiovascular_methodology.html#autotoc_md171)

---

<div class="post-metadata">

### Author: ![Lanir](https://discourse.kitware.com/user_avatar/discourse.kitware.com/lanir/32/723_2.png) [@Lanir](https://discourse.kitware.com/u/Lanir)
#### Post date: [August 15, 2023, 11:36am UTC](https://discourse.kitware.com/t/how-can-i-see-cardiac-arrhythmia-in-the-simulator/1080/3 "2023-08-15T11:36:53Z")

</div>

Thank you very much abray for the quick response as always.

---

<div class="post-metadata">

### Author: ![Lanir](https://discourse.kitware.com/user_avatar/discourse.kitware.com/lanir/32/723_2.png) [@Lanir](https://discourse.kitware.com/u/Lanir)
#### Post date: [August 15, 2023, 1:55pm UTC](https://discourse.kitware.com/t/how-can-i-see-cardiac-arrhythmia-in-the-simulator/1080/4 "2023-08-15T13:55:47Z")

</div>

after i read your ref, how can i use “Arrhythmia action” ?  
i’m implementing it in unity3d, and i can’t see any class\script with this name.  
what am i missing?

---

<div class="post-metadata">

### Author: ![abray](https://discourse.kitware.com/user_avatar/discourse.kitware.com/abray/32/12_2.png) [@abray](https://discourse.kitware.com/u/abray)
#### Post date: [August 15, 2023, 2:27pm UTC](https://discourse.kitware.com/t/how-can-i-see-cardiac-arrhythmia-in-the-simulator/1080/5 "2023-08-15T14:27:32Z")

</div>

I have not released a new version of the Unity asset to the store in a while  
I hope to do so in the next month  
I do have some builds you can test out here  
But they only support windows currently.  
Building an asset with all the various native libraries takes a while  
[Here a version that should have arrhythmia in it](https://data.kitware.com/api/v1/item/640908ef7b0dfcc98f66aea0/download)

---

<div class="post-metadata">

### Author: ![Lanir](https://discourse.kitware.com/user_avatar/discourse.kitware.com/lanir/32/723_2.png) [@Lanir](https://discourse.kitware.com/u/Lanir)
#### Post date: [August 15, 2023, 4:43pm UTC](https://discourse.kitware.com/t/how-can-i-see-cardiac-arrhythmia-in-the-simulator/1080/6 "2023-08-15T16:43:06Z")

</div>

Thank you very much!  
Looking forward to your next release!

---

<div class="post-metadata">

### Author: ![Lanir](https://discourse.kitware.com/user_avatar/discourse.kitware.com/lanir/32/723_2.png) [@Lanir](https://discourse.kitware.com/u/Lanir)
#### Post date: [August 21, 2023, 9:32am UTC](https://discourse.kitware.com/t/how-can-i-see-cardiac-arrhythmia-in-the-simulator/1080/7 "2023-08-21T09:32:30Z")

</div>

in the meanwhile , i have created more cases for the Pulse action on click class:  
case PulseAction.SinusTachycardia:  
{  
SEArrhythmia seaR = new SEArrhythmia();  
seaR.SetRhythm(eHeartRhythm.SinusTachycardia);  
driver.engine.ProcessAction(seaR);  
break;  
}

and applying the action on click - to get the desired Arrhythmia.  
i have a questions about it:

1. when im triggering Arrhythmia, can i control on the rate? making the waves faster\slower?
2. in your next release, will you support more Arrhythmia types?

Thank you in advanced.  
Lanir

---

<div class="post-metadata">

### Author: ![abray](https://discourse.kitware.com/user_avatar/discourse.kitware.com/abray/32/12_2.png) [@abray](https://discourse.kitware.com/u/abray)
#### Post date: [August 21, 2023, 1:42pm UTC](https://discourse.kitware.com/t/how-can-i-see-cardiac-arrhythmia-in-the-simulator/1080/8 "2023-08-21T13:42:18Z")

</div>

The Bradycardia and tachycardia heart raters are [currently hard coded](https://gitlab.kitware.com/physiology/engine/-/blob/integration/src/cpp/engine/common/system/physiology/CardiovascularModel.cpp?ref_type=heads#L2175)

We currently do not have plans to improve upon these Arrhythmia’s in the near future.

We are looking for help/support to provide a full implementation of the ACLS protocol

Any input/testing/observations on our current functionality would be greatly appreciated!

---

<div class="post-metadata">

### Author: ![Lanir](https://discourse.kitware.com/user_avatar/discourse.kitware.com/lanir/32/723_2.png) [@Lanir](https://discourse.kitware.com/u/Lanir)
#### Post date: [August 31, 2023, 1:34pm UTC](https://discourse.kitware.com/t/how-can-i-see-cardiac-arrhythmia-in-the-simulator/1080/9 "2023-08-31T13:34:41Z")

</div>

I’d love to contribute!  
I will need the source in order to suggest my changes.  
let’s discuss it!

---

<div class="post-metadata">

### Author: ![abray](https://discourse.kitware.com/user_avatar/discourse.kitware.com/abray/32/12_2.png) [@abray](https://discourse.kitware.com/u/abray)
#### Post date: [August 31, 2023, 1:52pm UTC](https://discourse.kitware.com/t/how-can-i-see-cardiac-arrhythmia-in-the-simulator/1080/10 "2023-08-31T13:52:26Z")

</div>

Sounds great!  
We are always open to collaborate and add new functionality  
Check out our [contribution guide](https://gitlab.kitware.com/physiology/engine/-/wikis/Contributing%20to%20Pulse)
