![]() |
Bsoft 2.1.4
Bernard's software package
|
Header file for postscript tools dealing with models. More...
#include "rwmodel.h"
Functions | |
int | ps_model_views (Bstring &filename, Bmodel *model, int combined) |
Postscript plot of the distribution of model views. More... | |
int | ps_model_symmetry_views (Bstring &filename, Bmodel *model, string &symmetry_string, int combined) |
Postscript plot of the distribution of model views. More... | |
int | ps_model_fom_histogram (Bstring &filename, Bmodel *model) |
Postscript plot of the model component FOM histogram. More... | |
int | ps_model_occupancy (Bmodel *model, double cutoff, int bins, int nfit, vector< double > &distrib, vector< double > &prob, double R, Bstring &filename) |
Generates a postscript plot for a model occupancy analysis. More... | |
Header file for postscript tools dealing with models.
Postscript plot of the model component FOM histogram.
&filename | output postscript file name. |
*model | model parameter structure. |
int ps_model_occupancy | ( | Bmodel * | model, |
double | cutoff, | ||
int | bins, | ||
int | nfit, | ||
vector< double > & | distrib, | ||
vector< double > & | prob, | ||
double | R, | ||
Bstring & | filename | ||
) |
Generates a postscript plot for a model occupancy analysis.
*model | model. |
cutoff | coverage cutoff (if 0 don't show). |
bins | number of bins for histograms. |
nfit | number of binomial distributions to fit. |
*distrib | distribution array ((3+nfit)*(ncomp+1)). |
*prob | weight and probability array (2*nfit). |
R | binomial fit residual. |
&filename | postscript file name. |
The distribution and probability arrays must already be allocated and the content calculated with model_occupancy_distribution.
int ps_model_symmetry_views | ( | Bstring & | filename, |
Bmodel * | model, | ||
string & | symmetry_string, | ||
int | combined | ||
) |
Postscript plot of the distribution of model views.
&filename | output postscript file name. |
*model | model parameter structure. |
&symmetry_string | symmetry. |
combined | flag to show all models combined. |