Loading [MathJax]/extensions/TeX/AMSsymbols.js
LALPulsar 7.1.1.1-ea7c608
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
lalpulsar_knope_result_page.create_background Class Reference

Detailed Description

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

Definition at line 1988 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)
 Initialise with a dictionary keyed in detector names containing paths to the equivalent posterior samples file for that detector. More...
 
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,
  postfiles,
  outputdir,
  ifos,
  harmonics,
  modeltype = None,
  biaxial = None,
  usegwphase = True 
)

Initialise with a dictionary keyed in detector names containing paths to the equivalent posterior samples file for that detector.

Reimplemented from lalpulsar_knope_result_page.posteriors.

Definition at line 1990 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 2105 of file lalpulsar_knope_result_page.py.

◆ bcin_prob()

def lalpulsar_knope_result_page.create_background.bcin_prob (   self)

Definition at line 2109 of file lalpulsar_knope_result_page.py.

◆ bsn_prob()

def lalpulsar_knope_result_page.create_background.bsn_prob (   self,
  ifo 
)

Definition at line 2112 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 2181 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 2217 of file lalpulsar_knope_result_page.py.

◆ create_background_table()

def lalpulsar_knope_result_page.create_background.create_background_table (   self)

Definition at line 2257 of file lalpulsar_knope_result_page.py.