analysis
get_reach(filename, threshold_meV=1.0, exposure_kg_yr=1.0, n_cut=3.0, model=None, time=0)
Computes the projected reach: the 95% C.L. constraint (3 events, no background) on \(ar{sigma}_n\) or \(ar{sigma}_e\) for a given model, in units of cm2 and normalizing to the appropriate reference cross section.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
filename |
str
|
The path to the HDF5 file containing the data. |
required |
threshold_meV |
float
|
The threshold in meV. Defaults to 1.0. |
1.0
|
exposure_kg_yr |
float
|
The exposure in kg.yr. Defaults to 1.0. |
1.0
|
n_cut |
float
|
The number of events. Defaults to 3.0. |
3.0
|
model |
str
|
The model to use. Defaults to None (find it in file) |
None
|
time |
float | str
|
The time to use. Defaults to 0. |
0
|
Returns:
Type | Description |
---|---|
array
|
np.array: the cross section. |
Source code in darkmagic/analysis.py
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 |
|