|
|
|
|
|
| add_data(self,
grb_name,
pop_injections_by_trial,
pop_background_by_trial,
pop_onsource) |
source code
|
|
|
|
|
|
|
calculate_sample_to_ifar(self,
sample,
sample_ref)
Calculates a list of FAR given the items in the sample |
source code
|
|
|
|
|
|
|
| check_off_distribution(self,
pop_min,
pop_max,
far=False) |
source code
|
|
|
|
|
|
|
|
|
|
set_stat(self,
stat)
Choose your statistics, either lik or ifar |
source code
|
|
|
|
select_onsource(self,
type,
reject_empty=False)
Selecting fake trials from the set of offsource trials for each GRB. |
source code
|
|
|
|
remove_empty_trials(self,
data)
Function to remove any infinite value from a given list of data. |
source code
|
|
|
|
|
|
|
|
|
|
compute_wmu(self)
Computes the WMU z-score for the both cases using likelihood and the
IFAR |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
create_pdf_plot(self)
Create a pdf plot of the used data. |
source code
|
|
|
|
|
|
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
|