LALPulsar  6.1.0.1-fe68b98
lalpulsar_knope_result_page.create_background Class Reference

Detailed Description

Get information (evidence ratios and SNRs) from any the background analyses.

Definition at line 1981 of file lalpulsar_knope_result_page.py.

Inherits lalpulsar_knope_result_page.posteriors.

Public Member Functions

def __init__ (self, backgrounddirs, snrs, Bsn, outputdir, Bci=None, Bcin=None, showcontours=True)
 
def bci_prob (self)
 
def bcin_prob (self)
 
def bsn_prob (self, ifo)
 
def bsn_plot (self, credint=[0.5, 0.95])
 
def bci_plot (self, credint=[0.5, 0.95], which="bci")
 
def create_background_table (self)
 
- Public Member Functions inherited from lalpulsar_knope_result_page.posteriors
def __init__ (self, postfiles, outputdir, ifos=None, harmonics=[2], modeltype="waveform", biaxial=False, usegwphase=False, parfile=None, priorfile=None, subtracttruths=False, showcontours=False)
 Initialise with a dictionary keyed in detector names containing paths to the equivalent posterior samples file for that detector. More...
 
def parameters (self)
 
def bsn (self)
 
def snrs (self)
 
def bci (self)
 
def bcin (self)
 
def h0_ul (self, ifo)
 
def ellipticity_ul (self, ifo)
 
def q22_ul (self, ifo)
 
def C21_ul (self, ifo)
 
def C22_ul (self, ifo)
 
def I21_ul (self, ifo)
 
def I31_ul (self, ifo)
 
def sdlim_ratio (self, ifo)
 
def get_snr (self, pdir)
 
def get_bayes_factor (self, postfile)
 
def snr (self, ifo)
 
def create_joint_posterior_plot (self, parameters, bins=20, ifo=None, truths=None, credintervals=[0.9], filename=None, figformats=["png"], ratio=3, figlimits=None, contourlimits=None, jointsamples=True, whichtruth=None, scatter_kwargs={})
 
def plot_prior (self, ax, param, prior, orientation="horizontal", truth=0.0, npoints=100)
 
def create_joint_plots_table (self, allparams=False, title="Joint distributions")
 
def create_sample_plot_table (self, figformats=["png"])
 
def create_stats_table (self, credints=[95])
 
def create_limits_table (self, freq, sdlim=None, dist=None, ul=95)
 
def credible_interval (self, ifo, param, ci=95, paramval=None)
 

Constructor & Destructor Documentation

◆ __init__()

def lalpulsar_knope_result_page.create_background.__init__ (   self,
  backgrounddirs,
  snrs,
  Bsn,
  outputdir,
  Bci = None,
  Bcin = None,
  showcontours = True 
)

Definition at line 1983 of file lalpulsar_knope_result_page.py.

Member Function Documentation

◆ bci_prob()

def lalpulsar_knope_result_page.create_background.bci_prob (   self)

Definition at line 2098 of file lalpulsar_knope_result_page.py.

◆ bcin_prob()

def lalpulsar_knope_result_page.create_background.bcin_prob (   self)

Definition at line 2102 of file lalpulsar_knope_result_page.py.

◆ bsn_prob()

def lalpulsar_knope_result_page.create_background.bsn_prob (   self,
  ifo 
)

Definition at line 2105 of file lalpulsar_knope_result_page.py.

◆ bsn_plot()

def lalpulsar_knope_result_page.create_background.bsn_plot (   self,
  credint = [0.5, 0.95] 
)

Definition at line 2174 of file lalpulsar_knope_result_page.py.

◆ bci_plot()

def lalpulsar_knope_result_page.create_background.bci_plot (   self,
  credint = [0.5, 0.95],
  which = "bci" 
)

Definition at line 2210 of file lalpulsar_knope_result_page.py.

◆ create_background_table()

def lalpulsar_knope_result_page.create_background.create_background_table (   self)

Definition at line 2250 of file lalpulsar_knope_result_page.py.