Examples of calculatePerturbationExpectation()


Examples of stallone.api.mc.IDynamicalExpectations.calculatePerturbationExpectation()

    public IDoubleArray perturbationExpectation(IDoubleArray M, IDoubleArray pi0, IDoubleArray observable, IDoubleArray timepoints)
    {
        IDynamicalExpectations dexp = MarkovModel.create.createDynamicalExpectations(M);
        IDoubleArray res = Doubles.create.array(timepoints.size());
        for (int i=0; i<res.size(); i++)
            res.set(i, dexp.calculatePerturbationExpectation(pi0, observable, timepoints.get(i)));
        return(res);
    }

    /**
     * Calculates the dynamical fingerprint (timescale amplitude spectrum) of the autocorrelation of the given observable
View Full Code Here

Examples of stallone.api.mc.IDynamicalExpectationsSpectral.calculatePerturbationExpectation()

     * @return
     */
    public IDoubleArray fingerprintPerturbation(IDoubleArray M, IDoubleArray p0, IDoubleArray observable)
    {
        IDynamicalExpectationsSpectral dexp = MarkovModel.create.createDynamicalFingerprint(M);
        dexp.calculatePerturbationExpectation(p0, observable);
        IDoubleArray res = Doubles.util.mergeColumns(dexp.getTimescales(), dexp.getAmplitudes());
        return(res);
    }


View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.