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__) | |
| def lalinference.tiger.postproc.main | ( | void | ) |
| 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.
| def lalinference.tiger.postproc.LoadPickledTigerSet | ( | filename | ) |
LOAD FROM PICKLE.
Definition at line 942 of file postproc.py.
| def lalinference.tiger.postproc.ensure | ( | f | ) |
CREATE DIRECTORY IF IT DOES NOT EXIST.
Definition at line 950 of file postproc.py.
| def lalinference.tiger.postproc.lnPLUS | ( | x, | |
| y | |||
| ) |
FUNCTION TO ADD IN LOGARITHMIC SPACE.
Definition at line 957 of file postproc.py.
| def lalinference.tiger.postproc.OddsFromBayes | ( | matrix, | |
| Nhyp | |||
| ) |
CALCULATE THE TOTAL ODDS FROM DATA STRUCTURE.
Definition at line 970 of file postproc.py.
| 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.
| 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.
| 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.
| 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.
| def lalinference.tiger.postproc.TigerCreateCumFreq | ( | tigerrun, | |
| axis | |||
| ) |
CREATE CUMULATIVE FREQUENCY DIAGRAMS FROM A LIST OF TIGERRUNS.
Definition at line 1090 of file postproc.py.
| 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.
| def lalinference.tiger.postproc.TigerCreateExampleConfigFile | ( | filename | ) |
CREATE EXAMPLE CONFIGURATION FILE (TO BE USED WITH -G OPTION)
Definition at line 1189 of file postproc.py.
| def lalinference.tiger.postproc.TigerPreProcess | ( | preprocessfile | ) |
TIGER PREPROCESSOR FUNCTION NB: UNDER DEVELOPMENT.
Definition at line 1315 of file postproc.py.
| dictionary lalinference.tiger.postproc.clusters |
USER DEFINED DATA.
Definition at line 17 of file postproc.py.
| list lalinference.tiger.postproc.color_default = ['blue','red','green'] |
Definition at line 23 of file postproc.py.
| list lalinference.tiger.postproc.hatch_default = ['..','//','||'] |
Definition at line 24 of file postproc.py.
| lalinference.tiger.postproc.py_version = version_info[:2] |
Definition at line 49 of file postproc.py.
| int lalinference.tiger.postproc.fig_width_pt = 3*246.0 |
PLOTTING OPTIONS.
Definition at line 61 of file postproc.py.
| float lalinference.tiger.postproc.inches_per_pt = 1.0/72.27 |
Definition at line 62 of file postproc.py.
| tuple lalinference.tiger.postproc.golden_mean = (sqrt(5)-1.0)/2.0 |
Definition at line 63 of file postproc.py.
| int lalinference.tiger.postproc.fig_width = fig_width_pt*inches_per_pt |
Definition at line 64 of file postproc.py.
| int lalinference.tiger.postproc.fig_height = fig_width*golden_mean |
Definition at line 65 of file postproc.py.
| list lalinference.tiger.postproc.fig_size = [fig_width,fig_height] |
Definition at line 66 of file postproc.py.
| string lalinference.tiger.postproc.fontsize = '1.5.0' else 'text.fontsize' |
Definition at line 68 of file postproc.py.
| dictionary lalinference.tiger.postproc.params |
Definition at line 69 of file postproc.py.
| lalinference.tiger.postproc.scriptfilename = path.realpath(__file__) |
Definition at line 83 of file postproc.py.