Location: BG_Ca_leak @ 3027d789e7b5 / parameter_finder / kinetic_parameters_Ca_leak.py

Author:
Shelley Fong <s.fong@auckland.ac.nz>
Date:
2022-04-28 11:07:01+12:00
Desc:
Updating with Kernik stuff
Permanent Source URI:
https://models.physiomeproject.org/workspace/835/rawfile/3027d789e7b520983200af71015fd49f6c3851eb/parameter_finder/kinetic_parameters_Ca_leak.py

# fast Na module

# Return kinetic parameters, constraints, and vector of volumes in each
# compartment (pL) (1 if gating variable, or in element corresponding to
# kappa)

# Translated from Pan 2018 cardiac AP

import numpy as np

def kinetic_parameters(M, include_type2_reactions, dims, V):
    # Set the kinetic rate constants

    num_cols = dims['num_cols']
    num_rows = dims['num_rows']
    # constants are stored in V

    # k + = k - = K_leak(on    ClancyRudy    original    model. Params from Kernik19)
    K_leak = 1.6e-6
    kf = K_leak
    kr = K_leak

    k_kinetic = [kf,    kr]

    # CONSTRAINTS
    N_cT = []
    K_C = []

    # volume vector
    # W = list(np.append([1] * num_cols, [V['V_myo']] * num_rows))
    W = [1,    V['V_SR'],    V['V_myo']]

    return (k_kinetic, N_cT, K_C, W)