Loading [MathJax]/extensions/TeX/AMSsymbols.js
LALInference 4.1.9.1-6c6b863
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
lalinference.tiger.postproc Namespace Reference

Data Structures

class  TigerRun
 TIGERRUN CLASS DEFINITIONS. More...
 
class  TigerSet
 CLASS TO CONTAIN A SET OF RUNS UNDER A COMMON CHARACTERISTIC (E.G. More...
 

Functions

def main ()
 PLOTTING OPTIONS. More...
 
def TigerPostProcess (configfile)
 Main TIGER post processing function. More...
 
def LoadPickledTigerSet (filename)
 LOAD FROM PICKLE. More...
 
def ensure (f)
 CREATE DIRECTORY IF IT DOES NOT EXIST. More...
 
def lnPLUS (x, y)
 FUNCTION TO ADD IN LOGARITHMIC SPACE. More...
 
def OddsFromBayes (matrix, Nhyp)
 CALCULATE THE TOTAL ODDS FROM DATA STRUCTURE. More...
 
def TigerCreateHistogram (list_tigerruns, axis, N=1, xlim=None, bins=50)
 CREATE TIGER HISTOGRAMS FROM A LIST OF TIGERRUNS. More...
 
def TigerCalculateEfficiency (list_tigerruns, N=1, beta=[0.95], background=0)
 CALCULATE EFFICIENCY FROM A LIST OF TIGERRUNS. More...
 
def TigerKSandPvalue (tigerrun1, tigerrun2, N=1)
 CALCULATE KS STATISTICS FROM A LIST OF TIGERRUNS. More...
 
def TigerCreateSNRvsOdds (list_tigerruns, axis)
 CREATE SNR VS ODDS DIAGRAMS FROM A LIST OF TIGERRUNS. More...
 
def TigerCreateCumFreq (tigerrun, axis)
 CREATE CUMULATIVE FREQUENCY DIAGRAMS FROM A LIST OF TIGERRUNS. More...
 
def TigerCreateCumBayes (tigerrun, axis, nthcat, nsourcespercat)
 CREATE CUMULATIVE BAYES FACTOR/ODDS DIAGRAMS FROM A LIST OF TIGERRUNS (FOR EACH CATALOG) More...
 
def TigerCreateExampleConfigFile (filename)
 CREATE EXAMPLE CONFIGURATION FILE (TO BE USED WITH -G OPTION) More...
 
def TigerPreProcess (preprocessfile)
 TIGER PREPROCESSOR FUNCTION NB: UNDER DEVELOPMENT. More...
 

Variables

dictionary clusters
 USER DEFINED DATA. More...
 
list color_default = ['blue','red','green']
 
list hatch_default = ['..','//','||']
 
 py_version = version_info[:2]
 
int fig_width_pt = 3*246.0
 PLOTTING OPTIONS. More...
 
float inches_per_pt = 1.0/72.27
 
tuple golden_mean = (sqrt(5)-1.0)/2.0
 
int fig_width = fig_width_pt*inches_per_pt
 
int fig_height = fig_width*golden_mean
 
list fig_size = [fig_width,fig_height]
 
string fontsize = '1.5.0' else 'text.fontsize'
 
dictionary params
 
 scriptfilename = path.realpath(__file__)
 

Function Documentation

◆ main()

def lalinference.tiger.postproc.main ( void  )

PLOTTING OPTIONS.


Definition at line 93 of file postproc.py.

◆ TigerPostProcess()

def lalinference.tiger.postproc.TigerPostProcess (   configfile)

Main TIGER post processing function.

Calls the relevant function for source collection, odds ratio calculations, and plotting

Definition at line 139 of file postproc.py.

◆ LoadPickledTigerSet()

def lalinference.tiger.postproc.LoadPickledTigerSet (   filename)

LOAD FROM PICKLE.

Definition at line 942 of file postproc.py.

◆ ensure()

def lalinference.tiger.postproc.ensure (   f)

CREATE DIRECTORY IF IT DOES NOT EXIST.

Definition at line 950 of file postproc.py.

◆ lnPLUS()

def lalinference.tiger.postproc.lnPLUS (   x,
  y 
)

FUNCTION TO ADD IN LOGARITHMIC SPACE.

Definition at line 957 of file postproc.py.

◆ OddsFromBayes()

def lalinference.tiger.postproc.OddsFromBayes (   matrix,
  Nhyp 
)

CALCULATE THE TOTAL ODDS FROM DATA STRUCTURE.

Definition at line 970 of file postproc.py.

◆ TigerCreateHistogram()

def lalinference.tiger.postproc.TigerCreateHistogram (   list_tigerruns,
  axis,
  N = 1,
  xlim = None,
  bins = 50 
)

CREATE TIGER HISTOGRAMS FROM A LIST OF TIGERRUNS.

Definition at line 983 of file postproc.py.

◆ TigerCalculateEfficiency()

def lalinference.tiger.postproc.TigerCalculateEfficiency (   list_tigerruns,
  N = 1,
  beta = [0.95],
  background = 0 
)

CALCULATE EFFICIENCY FROM A LIST OF TIGERRUNS.

Definition at line 1023 of file postproc.py.

◆ TigerKSandPvalue()

def lalinference.tiger.postproc.TigerKSandPvalue (   tigerrun1,
  tigerrun2,
  N = 1 
)

CALCULATE KS STATISTICS FROM A LIST OF TIGERRUNS.

Definition at line 1052 of file postproc.py.

◆ TigerCreateSNRvsOdds()

def lalinference.tiger.postproc.TigerCreateSNRvsOdds (   list_tigerruns,
  axis 
)

CREATE SNR VS ODDS DIAGRAMS FROM A LIST OF TIGERRUNS.

Definition at line 1065 of file postproc.py.

◆ TigerCreateCumFreq()

def lalinference.tiger.postproc.TigerCreateCumFreq (   tigerrun,
  axis 
)

CREATE CUMULATIVE FREQUENCY DIAGRAMS FROM A LIST OF TIGERRUNS.

Definition at line 1090 of file postproc.py.

◆ TigerCreateCumBayes()

def lalinference.tiger.postproc.TigerCreateCumBayes (   tigerrun,
  axis,
  nthcat,
  nsourcespercat 
)

CREATE CUMULATIVE BAYES FACTOR/ODDS DIAGRAMS FROM A LIST OF TIGERRUNS (FOR EACH CATALOG)

Definition at line 1148 of file postproc.py.

◆ TigerCreateExampleConfigFile()

def lalinference.tiger.postproc.TigerCreateExampleConfigFile (   filename)

CREATE EXAMPLE CONFIGURATION FILE (TO BE USED WITH -G OPTION)

Definition at line 1189 of file postproc.py.

◆ TigerPreProcess()

def lalinference.tiger.postproc.TigerPreProcess (   preprocessfile)

TIGER PREPROCESSOR FUNCTION NB: UNDER DEVELOPMENT.

Definition at line 1315 of file postproc.py.

Variable Documentation

◆ clusters

dictionary lalinference.tiger.postproc.clusters
Initial value:
1= {'atlas':'titan2.atlas.aei.uni-hannover.de', \
2 'nemo':'pcdev2.phys.uwm.edu', \
3 'cit':'ldas-pcdev2.ligo.caltech.edu', \
4 'llo':'ldas-pcdev2.ligo-la.caltech.edu', \
5 'lho':'ldas-pcdev1.ligo-wa.caltech.edu'}

USER DEFINED DATA.

Definition at line 17 of file postproc.py.

◆ color_default

list lalinference.tiger.postproc.color_default = ['blue','red','green']

Definition at line 23 of file postproc.py.

◆ hatch_default

list lalinference.tiger.postproc.hatch_default = ['..','//','||']

Definition at line 24 of file postproc.py.

◆ py_version

lalinference.tiger.postproc.py_version = version_info[:2]

Definition at line 49 of file postproc.py.

◆ fig_width_pt

int lalinference.tiger.postproc.fig_width_pt = 3*246.0

PLOTTING OPTIONS.

Definition at line 61 of file postproc.py.

◆ inches_per_pt

float lalinference.tiger.postproc.inches_per_pt = 1.0/72.27

Definition at line 62 of file postproc.py.

◆ golden_mean

tuple lalinference.tiger.postproc.golden_mean = (sqrt(5)-1.0)/2.0

Definition at line 63 of file postproc.py.

◆ fig_width

int lalinference.tiger.postproc.fig_width = fig_width_pt*inches_per_pt

Definition at line 64 of file postproc.py.

◆ fig_height

int lalinference.tiger.postproc.fig_height = fig_width*golden_mean

Definition at line 65 of file postproc.py.

◆ fig_size

list lalinference.tiger.postproc.fig_size = [fig_width,fig_height]

Definition at line 66 of file postproc.py.

◆ fontsize

string lalinference.tiger.postproc.fontsize = '1.5.0' else 'text.fontsize'

Definition at line 68 of file postproc.py.

◆ params

dictionary lalinference.tiger.postproc.params
Initial value:
1= {'backend': 'PDF',
2 'axes.labelsize': 24,
3 fontsize: 24,
4 'legend.fontsize': 20,
5 'xtick.labelsize': 24,
6 'ytick.labelsize': 24,
7 'axes.grid' : True,
8 'text.usetex': True,
9 'savefig.dpi' : 200,
10 'lines.markersize' : 14,
11 'figure.figsize': fig_size}

Definition at line 69 of file postproc.py.

◆ scriptfilename

lalinference.tiger.postproc.scriptfilename = path.realpath(__file__)

Definition at line 83 of file postproc.py.