apps.plot_2DΒΆ

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

The ouput will be a pdf file with the plot.

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

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

2D confidence level 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 all parameters will be used.
  -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
                        path and name of 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 Matteo Martinelli (m.martinelli@thphys.uni-heidelberg.de) and Marco Raveri (mraveri@sissa.it) for the CosmicFish code.