Code covered by the BSD License  

Highlights from
ProcessNetwork Version 1.0 Software

image thumbnail

ProcessNetwork Version 1.0 Software

by

 

Functions for the delineation of Dynamical Process Networks using Information Theory

[Tplus,Tminus,Tnet,TnetBinary]=DoProduction(T)
function [Tplus,Tminus,Tnet,TnetBinary]=DoProduction(T)

[nVars,PPP,nTaus]=size(T);

Tplus=zeros(nVars,nTaus);
Tminus=zeros(nVars,nTaus);
Tnet=NaN(nVars,nTaus);
TnetBinary=NaN(nVars,nVars,nTaus);

nanFlag=ones(nVars,nVars,nTaus);

for i=1:nVars
    for j=1:nVars
        for t=1:nTaus
            if T(i,j,t)~=NaN
                Tplus(i,t)=Tplus(i,t)+T(i,j,t);
                Tminus(j,t)=Tminus(j,t)+T(i,j,t);
            end
        end
    end
end
Tnet=Tplus-Tminus;

for t=1:nTaus
    SQRmat=T(:,:,t);
    TnetBinary(:,:,t)=SQRmat-SQRmat';
end

end

Contact us