Location: Incorporation of sarcolemmal calcium transporters into the Shorten et al. (2007) model of skeletal muscle @ afd4d5cb20ec / Fig07-plot.py

Author:
David Nickerson <david.nickerson@gmail.com>
Date:
2020-08-25 16:56:45+12:00
Desc:
finish comment on running the fig 7 script in the console
Permanent Source URI:
https://models.cellml.org/workspace/5c6/rawfile/afd4d5cb20ecdcbc0b10198fe31795520488a34e/Fig07-plot.py

import numpy as np
import matplotlib.pyplot as plt
import pandas as pd
import sys
import os

data = pd.read_csv('Fig07.csv')

x = []
y = []
nu_SR_values = [4.875, 15, 25, 35]
for nu_SR in nu_SR_values:
    d = data[str(nu_SR)].iloc[-11000:].max()
    x.append(nu_SR)
    y.append(d)

plt.plot(x, y)
plt.show()