AnalyseMCMC
Analyse gravitational-wave parameter-estimation results from SPINspiral and lalinference_mcmc
|
Routines and functions to help plot 2D marginalised PDFs. More...
Functions/Subroutines | |
subroutine | open_2d_pdf_plot_file (p1, p2, npdf, sch, project_map, exitcode) |
Open a screen or plot file for a 2D PDF plot. More... | |
subroutine | plot_2d_pdf (z, tr, project_map) |
Plot the actual 2D PDF (grey-scale or colour pixels) More... | |
subroutine | set_2d_probability_colours (minclr, maxclr) |
Define the grey scales or colours for the 2D probability areas. More... | |
subroutine | plot_2d_contours (z, tr, project_map, lw) |
Plot contours in a 2D PDF. More... | |
subroutine | plot_values_in_2d_pdf (ic, p1, p2, xmin, xmax, ymin, ymax, dx, dy, sch, lw, project_map) |
Plot injection value, median, ranges, etc. in 2D PDF. More... | |
subroutine | plot_2d_pdf_axes_labels_titles (p1, p2, sch, flw, project_map) |
Print 2D PDF plot axes, axis labels and plot title. More... | |
subroutine | convert_2d_pdf_plot (p1, p2, countplots) |
Convert 2D PDF plot. More... | |
subroutine | removeppm_createthumbnails_createhtml_2d_pdf (j1, j2) |
Remove all the .ppm files, create thumbnails and fill the index.html. More... | |
Routines and functions to help plot 2D marginalised PDFs.
subroutine open_2d_pdf_plot_file | ( | integer, intent(in) | p1, |
integer, intent(in) | p2, | ||
integer, intent(inout) | npdf, | ||
real, intent(in) | sch, | ||
logical, intent(in) | project_map, | ||
integer, intent(out) | exitcode | ||
) |
subroutine plot_2d_pdf | ( | real, dimension(nbin2dx+1,nbin2dy+1), intent(in) | z, |
real, dimension(6), intent(in) | tr, | ||
logical, intent(in) | project_map | ||
) |
Plot the actual 2D PDF (grey-scale or colour pixels)
z | 2D binned data |
tr | Transformation elements used by PGPlot |
project_map | Use map projection? |
References pgimag_project(), and set_2d_probability_colours().
Referenced by pdfs2d().
subroutine set_2d_probability_colours | ( | integer, intent(out) | minclr, |
integer, intent(out) | maxclr | ||
) |
Define the grey scales or colours for the 2D probability areas.
minclr | First colour of colour-index range for pgimag |
maxclr | Last colour of colour-index range for pgimag |
Referenced by plot_2d_pdf().
subroutine plot_2d_contours | ( | real, dimension(nbin2dx+1,nbin2dy+1), intent(in) | z, |
real, dimension(6), intent(in) | tr, | ||
logical, intent(in) | project_map, | ||
integer, intent(in) | lw | ||
) |
Plot contours in a 2D PDF.
z | 2D binned data |
tr | Transformation elements used by PGPlot |
project_map | Use map projection? |
lw | Default line width |
Referenced by pdfs2d().
subroutine plot_values_in_2d_pdf | ( | integer, intent(in) | ic, |
integer, intent(in) | p1, | ||
integer, intent(in) | p2, | ||
real, intent(in) | xmin, | ||
real, intent(in) | xmax, | ||
real, intent(in) | ymin, | ||
real, intent(in) | ymax, | ||
real, intent(in) | dx, | ||
real, intent(in) | dy, | ||
real, intent(in) | sch, | ||
integer, intent(in) | lw, | ||
logical, intent(in) | project_map | ||
) |
Plot injection value, median, ranges, etc. in 2D PDF.
ic | Chain ID |
p1 | ID of parameter 1 |
p2 | ID of parameter 2 |
xmin | Lower limit of horizontal plot range |
xmax | Upper limit of horizontal plot range |
ymin | Lower limit of vertical plot range |
ymax | Upper limit of vertical plot range |
dx | Width of horizontal plot range |
dy | Width of vertical plot range |
sch | Default (character) scaling |
lw | Default line width |
project_map | Use map projection? |
References project_skymap().
Referenced by pdfs2d().
subroutine plot_2d_pdf_axes_labels_titles | ( | integer, intent(in) | p1, |
integer, intent(in) | p2, | ||
real, intent(in) | sch, | ||
integer, intent(in) | flw, | ||
logical, intent(in) | project_map | ||
) |
Print 2D PDF plot axes, axis labels and plot title.
Referenced by pdfs2d().
subroutine convert_2d_pdf_plot | ( | integer, intent(in) | p1, |
integer, intent(in) | p2, | ||
integer, intent(in) | countplots | ||
) |
Convert 2D PDF plot.
p1 | ID of parameter 1 |
p2 | ID of parameter 2 |
countplots | Count of the current plot |
Referenced by pdfs2d().
subroutine removeppm_createthumbnails_createhtml_2d_pdf | ( | integer, intent(in) | j1, |
integer, intent(in) | j2 | ||
) |
Remove all the .ppm files, create thumbnails and fill the index.html.
j1 | First parameter to plot |
j2 | Last parameter to plot |
References compbitmapsize(), and print_rundata().
Referenced by pdfs2d().