.. _user-guide-analyse: The |pyretis| analysis application ================================== The |pyretis| analysis application, ``pyretisanalyse``, is used to analyse the results from |pyretis| simulations. The general syntax for executing is: .. code-block:: pyretis pyretisanalyse [-h] [-i INPUT] [-V] [-pyvisa] [-pyvisa-cmp] where ``INPUT`` is the input file for the analysis. It can be of two types: A pickle, that can be used with the PyVisA tool, or the standard input file used by |pyretis| :ref:`application ` with the settings for the analysis, defined via the :ref:`analysis section `. .. container:: panel panel-info .. container:: panel-heading **Note** .. container:: panel-body The ``INPUT`` file for the analysis is created automatically by running the |pyretis| application. This file is named ``out.rst`` and can be directly used as input for the analysis program. where ``INPUT`` is the input file for the analysis. This file is similar to the input file to the |pyretis| :ref:`application ` with some differences: 1. It contains the actual number of cycles/steps completed, specified by the :ref:`endcycle ` keyword. 2. It contains the directory from where the simulation was executed, specified by the :ref:`exe-path ` keyword. 3. It contains the number of particles in the simulation, specified by the :ref:`npart ` keyword. 4. It contains settings for the analysis, defined via the :ref:`analysis section `. .. container:: panel panel-info .. container:: panel-heading **Note** .. container:: panel-body The ``INPUT`` file for the analysis is created automatically by running the |pyretis| application. This file is named ``out.rst`` and can be directly used as input for the analysis program. Input arguments --------------- .. _tableappargument_analyse: .. table:: Description of input arguments for pyretisanalyse :class: table-striped table-hover +-------------------------------------+--------------------------------------------------+ | Argument | Description | +=====================================+==================================================+ | -h, --help | Show the help message and exit. | +-------------------------------------+--------------------------------------------------+ | -i INPUT, --input INPUT | Location of the input file containing analysis | | | settings. | +-------------------------------------+--------------------------------------------------+ | -V, --version | Show the version number and exit. | +-------------------------------------+--------------------------------------------------+ | -pyvisa, --pyvisa-all | Call the GUI of PyVisA visualization tool. | | | If a pickle has to be loaded, it can be selected | | | as the INPUT file following the -i flag. | +-------------------------------------+--------------------------------------------------+ | -pyvisa-cmp, --pyvisa-compressor | Call the PyVisA compressor tool and generate a | | | pickle file that can be loaded by the GUI tool. | +-------------------------------------+--------------------------------------------------+