apps.plot_1DΒΆ

Simple Python code to do 1D plot of a set of Fisher matrices.

The ouput will be a pdf file with the plot.

Invoking the help option plot_1D.py -h will result in:

usage: plot_1D.py [-h] [-o OUTROOT] [-p PARAMS [PARAMS ...]] [-s SUM_FISH]
              [-e] [-d] [-i INI_FILE] [-v] [-q]
              files [files ...]

1D posterior Fisher matrix plotter

positional arguments:
  files                 a list of files with Fisher matrices

optional arguments:
  -h, --help            show this help message and exit
  -o OUTROOT, --outroot OUTROOT
                        path and name of the output file. If this option is
                        not present the name and path of the first Fisher
                        matrix will be used
  -p PARAMS [PARAMS ...], --params PARAMS [PARAMS ...]
                        names of the parameters to plot. If this option is not
                        present the plot will contain all parameters.
  -s SUM_FISH, --sum SUM_FISH
                        decides wether to sum all the input Fisher matrices.
                        If selected the argument will be the label of the
                        Fisher matrices combination
  -e, --eliminate       if parameters are passed from the command line this
                        option avoids marginalization over the others
  -d, --derived         decides wether to look for derived parameters when
                        importing the Fisher matrix
  -i INI_FILE, --ini INI_FILE
                        name and path of an input file with options
  -v, --version         show program's version number and exit
  -q, --quiet           decides wether something gets printed to screen or not

Developed by Marco Raveri (mraveri@sissa.it) and Matteo Martinelli (m.martinelli@thphys.uni-heidelberg.de) for the CosmicFish code.