1 c===========================================================================
3 c This file is part of TISEAN
5 c Copyright (c) 1998-2007 Rainer Hegger, Holger Kantz, Thomas Schreiber
7 c TISEAN is free software; you can redistribute it and/or modify
8 c it under the terms of the GNU General Public License as published by
9 c the Free Software Foundation; either version 2 of the License, or
10 c (at your option) any later version.
12 c TISEAN is distributed in the hope that it will be useful,
13 c but WITHOUT ANY WARRANTY; without even the implied warranty of
14 c MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 c GNU General Public License for more details.
17 c You should have received a copy of the GNU General Public License
18 c along with TISEAN; if not, write to the Free Software
19 c Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
21 c===========================================================================
22 c Statistics for time reversibility
23 c author T. Schreiber (1999)
24 c===========================================================================
30 call whatido("time reversal asymmetry statistic",iverb)
35 c isout=igetout(fout,iverb)
37 do 10 ifi=1,nstrings()
38 call nthstring(ifi,file)
40 call readfile(nmax,x,nexcl,jcol,file,iverb)
44 t2=t2+(x(n)-x(n-id))**2
45 20 t3=t3+(x(n)-x(n-id))**3
46 10 write(*,*) t3/t2, " "//file(1:index(file," ")-1)
53 . "[-d# -l# -x# -c# -V# -h] file(s)")
54 call popt("d","delay (1)")
55 call popt("l","number of values to be read (all)")
56 call popt("x","number of values to be skipped (0)")
57 call popt("c","column to be read (1 or file,#)")