The main function.

    The purpose of this module is to plot Eigenvectors provided by the
    Eigensoft software.

    Here are the steps of this module:

    1. Reads the Eigenvector (:py:func:`read_eigenvalues`).
    2. Plots the Scree Plot (:py:func:`create_scree_plot`).

def main(argString=None):
    """The main function.

    The purpose of this module is to plot Eigenvectors provided by the
    Eigensoft software.

    Here are the steps of this module:

    1. Reads the Eigenvector (:py:func:`read_eigenvalues`).
    2. Plots the Scree Plot (:py:func:`create_scree_plot`).

    """
    # Getting and checking the options
    args = parse_args(argString)
    check_args(args)

    # Reads the eigenvalues
    eigenvalues = read_eigenvalues(args.evec)

    # Creates the plot
    create_scree_plot(eigenvalues, args.out, args)