apps.compare_SN_mocksΒΆ
Simple Python code to plot a set of SN mocks.
The CosmicFish SN Fisher matrix calculator outputs SN Mock data sets files and this Python script plots them.
The ouput will be a pdf file with the plot.
Invoking the help option compare_SN_mocks.py -h
will result in:
usage: compare_SN_mocks.py [-h] [-o OUTROOT] [-v] [-q] files [files ...]
SN mock plotter
positional arguments:
files a list of files with SN mocks
optional arguments:
-h, --help show this help message and exit
-o OUTROOT, --outroot OUTROOT
path and name of the output file
-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) for the CosmicFish code.
Classes
Rectangle (xy, width, height[, angle]) |
Draw a rectangle with lower left at xy = (x, y) with specified width and height. |