oct-harmonic-spectrum

NAME

oct-harmonic-spectrum - Calculates the harmonic spectrum.

DESCRIPTION

In order to access the different options of the utility, one can do

oct-harmonic-spectrum --help

The utilities offers the following command line arguments:

  -w, --freq=freq Specifies the fundamental frequency.
  -p, --pol=pol   Specifies the direction of the light polarization.
                  The oct-harmonic-spectrum utility program needs to know
                  the direction along which the emission radiation is
                  considered to be polarized. It may be linearly polarized
                  or circularly polarized. The valid options are:
                     'x' : Linearly polarized field in the x direction.
                     'y' : Linearly polarized field in the x direction.
                     'z' : Linearly polarized field in the x direction.
                     '+' : Circularly polarized field, counterclockwise.
                     '-' : Circularly polarized field, clockwise.
                     'v' : Along a direction specified by -x X -y Y -z Z.
                  The default is 'x'
  -a, --ar        Calculates the angle-resolved harmonic-spectrum along a
                  direction (X,Y,Z) specified by  by -x X -y Y -z Z.
  -m, --mode=mode Whether the harmonic spectrum is computed by taking the
                  second derivative of the dipole moment numerically, the 
                  the time derivative of the current, or by making use of 
                  the dipole acceleration.
                  ' The options are:
                     '1' : use the dipole, take second derivative numerically.
                     '2' : use the acceleration file.
                     '3' : use the total current file.
                  The default is '1'

Note that oct-harmonic-spectrum does not read the standard input: all standard input will be simply ignored. An input file named inp must be present in the running directory.