Spaces:
Running
Running
frances-dean
commited on
Commit
•
aaa51ae
1
Parent(s):
1617383
Update app.py
Browse files
app.py
CHANGED
@@ -831,7 +831,7 @@ def lvad_plots(Rm, Ra, Emax, Emin, Vd, Tc, start_v, beta, loop_simulated=True):
|
|
831 |
new_ef, pao_ed, pao_es, CO, MAP, Vlvs, Plvs = f_lvad(Rs, Rm, Ra, Rc, Ca, Cs, Cr, Ls, Emin, Vd, Tc, start_v, Emax, c, slope0, w0, x60, y00, y01, y02, y03, y04)
|
832 |
|
833 |
# Create the figure and the loop that we will manipulate
|
834 |
-
N =
|
835 |
|
836 |
fig, ax = plt.subplots(figsize=(6, 4))
|
837 |
plt.ylim((0,220))
|
@@ -858,6 +858,7 @@ def lvad_plots(Rm, Ra, Emax, Emin, Vd, Tc, start_v, beta, loop_simulated=True):
|
|
858 |
# fig.subplots_adjust(left=0.25, bottom=0.25)
|
859 |
|
860 |
def update(frame):
|
|
|
861 |
# update to add more of the loop
|
862 |
end = (N-2)*60000+1000 * frame
|
863 |
#x = Vlv0[start:end]
|
|
|
831 |
new_ef, pao_ed, pao_es, CO, MAP, Vlvs, Plvs = f_lvad(Rs, Rm, Ra, Rc, Ca, Cs, Cr, Ls, Emin, Vd, Tc, start_v, Emax, c, slope0, w0, x60, y00, y01, y02, y03, y04)
|
832 |
|
833 |
# Create the figure and the loop that we will manipulate
|
834 |
+
N = 20
|
835 |
|
836 |
fig, ax = plt.subplots(figsize=(6, 4))
|
837 |
plt.ylim((0,220))
|
|
|
858 |
# fig.subplots_adjust(left=0.25, bottom=0.25)
|
859 |
|
860 |
def update(frame):
|
861 |
+
N=1
|
862 |
# update to add more of the loop
|
863 |
end = (N-2)*60000+1000 * frame
|
864 |
#x = Vlv0[start:end]
|