def test_das_pol_plots(): ds = TimeResSpec(wl, t, data) pds = PolTRSpec(ds, ds) # fake pol x0 = [0.1, 0.1, 1, 1000] out = pds.fit_exp(x0) pds.plot.das() pds.plot.edas()
def test_sas_pol_plots(): from skultrafast.kinetic_model import Model ds = TimeResSpec(wl, t, data) pds = PolTRSpec(ds, ds) # fake pol x0 = [0.1, 0.1, 1, 1000] out = pds.fit_exp(x0) m = Model() m.add_transition('S1', 'S1*', 'k1') m.add_transition('S1', 'zero', 'k2') pds.plot.sas(m)