------------------------------------------------------------------------------
 Purpose: Prints  the A-vector of a wavefunction or restart file.
 Usage  : rdacoeff [-f -i -n -n1 -n2 -s -jx -max -thr -uplo -r -abs -abs2
                    -re -im -t -at -count -nofs -ver -h -?] .
 Options:
 -f FILE : The wavefunction is read from file 
           FILE rather than from ./psi
           The string FILE may be a relative or a full path-name.
 -i DIR  : data is read from directory DIR
 -n step : Print the A-vector only every step-th output.
 -thr thr: Print only coefficients whose absolute values
           are larger than thr (default: 10^-8).
 -max mx : Print only coefficients whose absolute values
           are smaller or equal than mx.
 -uplo ul: Print only coefficients from the upper (ul="U") or lower (ul="L")
           "triangle" of the A-tensor.
           If ul="L" is set, only A_j1_j2... with
           (j1-1)/(n1-1) + (j2-1)/(n2-1) + ... <= 1 are taken into account,
           if ul="U" is set, only A_j1_j2... with
           (j1-1)/(n1-1) + (j2-1)/(n2-1) + ... > 1 are taken into account.
 -n1  n1 : Print only coefficients with J.ge.n1.
 -n2  n2 : Print only coefficients with J.le.n2.
 -t   tm : Print only WFs with time .le. tm.
 -at atm : Print only WFs with time .ge. atm.
 -s  s   : Print only coefficients for state s.
 -jx m n : Print only coefficients when the index of the m-th mode 
           takes the value n.
 -count  : Count the number of coeffs between thr and max.
 -r      : Take the restart file rather than the psi file.
 -rst    : Same as -r.
 -abs    : Print abs(psi).
 -abs2   : Print abs(psi)**2.
 -re     : Print Re(psi).
 -im     : Print Im(psi).
 -nofs   : No transformation to fs.
           Use when "time-not-fs" was set in mctdh.
 -ver    : Version information about the program.
 -full   : Print out coefficients in full.
 -h      : Print this help text. 
 -?      : Print this help text. 

It is in general useful to pipe the output into less: rdacoeff | less
or to re-direct it into a file:  rdacoeff > acoeff 
------------------------------------------------------------------------------