예제 #1
0
def discreet(py, pt, *string, **kwargs):
    mode = kwargs.get('mode', 'limit')
    (m6, m7, m12, m1, n1) = prc.evmode(mode, py)
    t = [pt, pt, pt, pt]
    px = [
        prc.discr(py[1], m1, n1),
        prc.discr(py[6], m6),
        prc.discr(py[7], m7),
        prc.discr(py[12], m12)
    ]
    colour = [c.blood, 'navy', c.darkorange, c.green]
    label = ['IKKa', 'NF$\kappa$B', 'A20', 'NF$\kappa$B:I$\kappa$B']
    lstyle = ['-', '--', '-.', ':']
    xlim = (-1, 6)
    ps.figa(t,
            px,
            colour,
            label,
            xlim=xlim,
            title=string,
            linestyle=lstyle,
            xlabel='t$\\ /\\ $h',
            ylabel='c$\\ / \\ $ a.u.',
            label=True,
            path='../../graphics/discreet{}.png'.format(kwargs.get('mode',
                                                                   '')),
            DPI=500)
예제 #2
0
def normplt(py, pt, *string):
    t = [pt, pt, pt, pt]
    px = [prc.norm(py[6]), prc.norm(py[1]), prc.norm(py[7]), prc.norm(py[12])]
    colour = ['navy', c.blood, c.darkorange, c.green]
    label = ['NF$\kappa$B', 'IKKa', 'A20', 'NF$\kappa$B:I$\kappa$B']
    lstyle = ['-', '-', '-', '-']
    xlim = (-1, 6)
    ps.figa(t,
            px,
            colour,
            label,
            xlim=xlim,
            title=string,
            linestyle=lstyle,
            xlabel='t$\\ /\\ $h',
            ylabel='c$\\ / \\ $ a.u.',
            label=True,
            path='../../graphics/normalised.png',
            DPI=500)
예제 #3
0
def threshmedian(py, pt, string):
    t = [pt, pt]
    xlim = (-1, 6)
    lstyle = ['-', '--']
    label = [string, '$\\vartheta$']

    ###PLOTTING#########
    px = [py[6], ps.hline(np.median(py[6]), pt)]
    colour = ['navy', 'gray']
    ps.figa(t,
            px,
            colour,
            label,
            xlim=xlim,
            title='NF$\kappa$B',
            linestyle=lstyle,
            xlabel='t$\\ /\\ $h',
            ylabel='c$\\ / \\ $ $\mu$M',
            label=True,
            path='../../graphics/NF' + string + 'threshmedian.png',
            DPI=500)

    ###PLOTTING#########
    px = [py[1], ps.hline(np.median(py[1]), pt)]
    colour = [c.blood, 'gray']
    ps.figa(t,
            px,
            colour,
            label,
            xlim=xlim,
            title='IKKa',
            linestyle=lstyle,
            xlabel='t$\\ /\\ $h',
            ylabel='c$\\ / \\ $ $\mu$M',
            label=True,
            path='../../graphics/IKK' + string + 'threshmedian.png',
            DPI=500)

    ###PLOTTING#########
    px = [py[7], ps.hline(np.median(py[7]), pt)]
    colour = [c.darkorange, 'gray']
    ps.figa(t,
            px,
            colour,
            label,
            xlim=xlim,
            title='A20',
            linestyle=lstyle,
            xlabel='t$\\ /\\ $h',
            ylabel='c$\\ / \\ $ $\mu$M',
            label=True,
            path='../../graphics/A20' + string + 'threshmedian.png',
            DPI=500)

    ###PLOTTING#########
    px = [py[12], ps.hline(np.median(py[12]), pt)]
    colour = [c.green, 'gray']
    ps.figa(t,
            px,
            colour,
            label,
            xlim=xlim,
            title='NF$\kappa$B:I$\kappa$B',
            linestyle=lstyle,
            xlabel='t$\\ /\\ $h',
            ylabel='c$\\ / \\ $ $\mu$M',
            label=True,
            path='../../graphics/IkB' + string + 'threshmedian.png',
            DPI=500)
예제 #4
0
def thresh(py, pt, string):
    ###PLOTTING#########
    t = [pt, pt]
    xlim = (-1, 6)
    lstyle = ['-', '--']
    label = [string, '$\\vartheta$']

    ###PLOTTING#########
    px = [py[6], ps.hline(mod.limit1(6), pt)]
    colour = ['navy', 'gray']
    ps.figa(t,
            px,
            colour,
            label,
            xlim=xlim,
            title='NF$\kappa$B',
            linestyle=lstyle,
            xlabel='t$\\ \/\\ $h',
            ylabel='c$\\ /\\$ $\\mu$M',
            label=True,
            path='../../graphics/NF' + string + 'thresh.png',
            DPI=500)

    ###PLOTTING#########
    px = [py[7], ps.hline(mod.limit1(7), pt)]
    colour = [c.darkorange, 'gray']
    ps.figa(t,
            px,
            colour,
            label,
            xlim=xlim,
            title='A20',
            linestyle=lstyle,
            xlabel='t$\\ /\\ $h',
            ylabel='c$\\ / \\ $ $\mu$M',
            label=True,
            path='../../graphics/A20' + string + 'thresh.png',
            DPI=500)

    ###PLOTTING#########
    px = [py[12], ps.hline(mod.limit1(12), pt)]
    colour = [c.green, 'gray']
    ps.figa(t,
            px,
            colour,
            label,
            xlim=xlim,
            title='NF$\kappa$B:I$\kappa$B',
            linestyle=lstyle,
            xlabel='t$\\ /\\ $h',
            ylabel='c$\\ / \\ $ $\mu$M',
            label=True,
            path='../../graphics/IkB' + string + 'thresh.png',
            DPI=500)

    ###PLOTTING#########
    t.append(pt)
    label.append('$\\vartheta_2$')
    lstyle.append('-.')
    px = [py[1], ps.hline(mod.limit1(1), pt), ps.hline(mod.limitKO(1), pt)]
    colour = [c.blood, 'gray', 'gray']
    ps.figa(t,
            px,
            colour,
            label,
            xlim=xlim,
            title='IKKa',
            linestyle=lstyle,
            xlabel='t$\\ /\\ $h',
            ylabel='c$\\ / \\ $ $\mu$M',
            label=True,
            path='../../graphics/IKK' + string + 'thresh.png',
            DPI=500)