Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • steffen.hallmann/gen2_toise_sensitivities
1 result
Show changes
Commits on Source (2)
Showing
with 10835 additions and 0 deletions
File added
This diff is collapsed.
logE,any3_gtr3,3phased_2support_gtr3,3power_gtr3,3power_2support_gtr3
14.7425,0.0027,-0.06004,-0.07107,-0.00011
14.7532,0.00414,-0.05861,-0.06931,-0.0001
14.9678,0.03396,-0.03227,-0.03886,1E-05
15.0107,0.04048,-0.02733,-0.0338,5E-06
15.1717,0.06801,-0.00937,-0.01774,-5E-05
15.279,0.09061,0.00231,-0.00938,0.00012
15.3433,0.1063,0.00925,-0.00517,0.0004
15.397,0.1205,0.01503,-0.00208,0.00075
15.5043,0.15096,0.0266,0.00313,0.00179
15.5472,0.16356,0.03124,0.0049,0.00236
15.633,0.18784,0.04061,0.00805,0.00371
15.6545,0.19348,0.04297,0.00877,0.00408
15.794,0.22555,0.05754,0.01308,0.00654
15.8047,0.2277,0.05855,0.0134,0.00671
15.8369,0.2339,0.06142,0.01436,0.00722
15.8691,0.2397,0.06406,0.01534,0.0077
16.0408,0.26583,0.07611,0.02125,0.0108
16.0515,0.2673,0.0769,0.02168,0.01106
16.1266,0.27763,0.08328,0.02505,0.01326
16.2446,0.29777,0.09842,0.03304,0.01889
16.2983,0.31136,0.1082,0.03877,0.02294
16.309,0.31451,0.11043,0.04017,0.02391
16.3305,0.32118,0.11521,0.04325,0.02606
16.3948,0.34242,0.13221,0.05461,0.03402
16.4807,0.36859,0.15774,0.07268,0.04703
16.4914,0.37171,0.16078,0.07494,0.04872
16.5236,0.38095,0.16955,0.08156,0.05373
16.5451,0.38707,0.17521,0.08585,0.05696
16.6416,0.41457,0.20027,0.10471,0.07099
16.6845,0.42661,0.21188,0.11324,0.07728
16.6953,0.42959,0.21482,0.11543,0.07889
16.7382,0.44136,0.22645,0.12444,0.08566
16.8026,0.45846,0.2428,0.1388,0.0975
16.8348,0.46673,0.2502,0.14636,0.10481
16.8562,0.47213,0.25489,0.15153,0.10927
16.985,0.50371,0.2811,0.18358,0.13628
17.0172,0.51187,0.28758,0.19148,0.14311
17.0279,0.51466,0.28976,0.19407,0.14527
17.1781,0.5546,0.32152,0.22928,0.17719
17.1888,0.55719,0.32392,0.23186,0.17961
17.1996,0.55972,0.32635,0.23448,0.18205
17.3095,0.58311,0.35354,0.26301,0.20896
17.3391,0.58902,0.36193,0.27108,0.21712
17.3605,0.59333,0.36842,0.27701,0.22342
17.3712,0.59549,0.37178,0.27999,0.22669
17.4785,0.61767,0.40657,0.31032,0.26369
17.5107,0.62452,0.4164,0.31954,0.27544
17.5215,0.62682,0.4196,0.32262,0.2792
17.5536,0.63378,0.42905,0.33184,0.28966
17.6288,0.64993,0.45122,0.35284,0.31053
17.6717,0.65853,0.46449,0.36419,0.32173
17.7468,0.67208,0.48712,0.38233,0.34218
17.779,0.6774,0.49587,0.38941,0.3508
17.8326,0.68584,0.50896,0.40039,0.36426
17.8433,0.68748,0.51144,0.40248,0.36677
17.9506,0.70291,0.53628,0.42206,0.38951
17.9936,0.70828,0.54733,0.4295,0.39817
18.015,0.70994,0.5531,0.43317,0.40255
18.0258,0.70829,0.55602,0.435,0.40478
18.0472,0.71192,0.56187,0.43866,0.40927
18.1116,0.72379,0.57882,0.44966,0.42298
18.1545,0.7317,0.58915,0.45712,0.43205
18.1974,0.73909,0.59884,0.46478,0.44085
18.2296,0.74235,0.6058,0.4707,0.44717
18.2403,0.73945,0.60808,0.47271,0.44924
18.2618,0.74024,0.61258,0.4768,0.45335
18.294,0.74472,0.61923,0.48307,0.45953
18.3798,0.7574,0.63654,0.50024,0.47702
18.4335,0.76447,0.64709,0.51101,0.48918
18.4442,0.76579,0.64918,0.51315,0.4917
18.4764,0.76957,0.6554,0.51952,0.49938
18.5515,0.77769,0.66972,0.53431,0.51743
18.6266,0.78524,0.68372,0.54931,0.53238
18.6373,0.78629,0.6857,0.5515,0.53445
18.6695,0.78942,0.69158,0.55811,0.54094
18.7554,0.79777,0.70699,0.57546,0.5583
18.809,0.80315,0.71647,0.58548,0.56863
18.8197,0.80425,0.71836,0.58737,0.57062
18.8734,0.8099,0.72776,0.59642,0.5802
18.9914,0.82335,0.74842,0.61582,0.60082
19.0129,0.82593,0.75221,0.61954,0.60479
19.0343,0.82851,0.75603,0.62338,0.60893
19.0665,0.83236,0.76181,0.62927,0.61549
19.2167,0.84805,0.78743,0.6536,0.6437
19.2275,0.84893,0.78898,0.65488,0.64511
19.2811,0.85271,0.79587,0.66037,0.6507
19.4528,0.86086,0.80921,0.6728,0.66157
19.4635,0.86131,0.80983,0.67352,0.66219
19.4742,0.86177,0.81045,0.67425,0.66284
19.5172,0.8637,0.81296,0.67723,0.66558
19.6888,0.87235,0.82454,0.68989,0.67843
19.6996,0.87292,0.82532,0.6907,0.67928
19.7318,0.87462,0.82768,0.69312,0.68183
19.7639,0.87633,0.83005,0.69552,0.68435
File added
x 50 60 70 80
7.7789e+18 1.0397 0.7764 0.9865 -0.1518
8.2549e+18 1.1396 0.8782 0.9657 -0.0776
1.23132e+19 1.9963 1.7484 0.8599 0.564
1.44402e+19 2.4559 2.2077 1.3424 0.9015
1.46341e+19 2.4985 2.2498 1.6983 0.9322
1.64383e+19 2.9047 2.6439 1.9117 1.216
1.7122e+19 3.0658 2.7948 1.994 1.3224
1.80533e+19 3.2968 3.0025 2.1535 1.4655
1.92896e+19 3.6394 3.2838 2.4524 1.6501
1.98143e+19 3.8109 3.4063 2.5818 1.7248
2.02995e+19 4.0251 3.5224 2.7042 1.7894
2.03924e+19 4.1198 3.545 2.7288 1.8009
2.05261e+19 4.1776 3.5777 2.7655 1.8166
2.09911e+19 4.2744 3.6936 2.9083 1.9085
2.14781e+19 4.3581 3.8191 3.0786 2.1667
2.17976e+19 4.4106 3.9038 3.193 2.3164
2.24304e+19 4.5122 4.0747 3.4202 2.6018
2.32878e+19 4.6472 4.2964 3.7476 2.9817
2.3394e+19 4.6638 4.322 3.7932 3.0293
2.38747e+19 4.7386 4.4323 3.9788 3.2714
2.41881e+19 4.7871 4.5001 4.0634 3.3453
2.42399e+19 4.7952 4.5111 4.0749 3.3565
2.43539e+19 4.8128 4.5349 4.0984 3.379
2.49523e+19 4.9049 4.656 4.1969 3.4597
2.59499e+19 5.0575 4.8476 4.3311 3.6468
2.63293e+19 5.1153 4.9181 4.3841 3.7197
2.71674e+19 5.2423 5.0702 4.5158 3.872
2.7565e+19 5.3024 5.1408 4.5872 3.9577
2.77663e+19 5.3327 5.1762 4.626 3.9976
2.85443e+19 5.4495 5.3109 4.7915 4.1141
2.88959e+19 5.5021 5.3708 4.8718 4.1651
2.93224e+19 5.5656 5.4425 4.9701 4.2396
2.99214e+19 5.6545 5.5416 5.105 4.383
3.00563e+19 5.6745 5.5637 5.1343 4.411
3.02271e+19 5.6997 5.5914 5.1706 4.4423
3.06398e+19 5.7604 5.6578 5.255 4.5085
3.13717e+19 5.8672 5.773 5.3992 4.6178
3.14776e+19 5.8825 5.7894 5.4202 4.634
3.16529e+19 5.9079 5.8163 5.4552 4.6614
3.21958e+19 5.986 5.8983 5.5662 4.7505
3.29141e+19 6.0881 6.0041 5.7092 4.867
3.30787e+19 6.1113 6.028 5.7398 4.8917
3.37519e+19 6.2051 6.1243 5.8552 4.9925
3.44702e+19 6.3035 6.2256 5.9642 5.118
3.46938e+19 6.3337 6.2571 5.996 5.1596
3.51887e+19 6.3999 6.3267 6.0637 5.2525
3.59071e+19 6.4944 6.4293 6.1589 5.3869
3.62195e+19 6.5349 6.4749 6.2003 5.4423
3.64983e+19 6.5708 6.5164 6.2378 5.4914
3.65656e+19 6.5795 6.5265 6.247 5.5035
3.73439e+19 6.6783 6.6486 6.3558 5.6469
3.74157e+19 6.6873 6.6603 6.366 5.66
3.81819e+19 6.7825 6.7917 6.4759 5.7903
3.82081e+19 6.7857 6.7963 6.4797 5.7943
3.88999e+19 6.8699 6.9201 6.5781 5.8889
3.97379e+19 6.9697 7.0685 6.6962 6.0234
3.99179e+19 6.9909 7.0994 6.7216 6.0667
4.02171e+19 7.0259 7.1499 6.7637 6.1399
4.1055e+19 7.1224 7.2831 6.882 6.2654
4.16276e+19 7.1873 7.367 6.9634 6.37
4.17232e+19 7.1981 7.3804 6.9771 6.3884
4.18332e+19 7.2104 7.3956 6.9928 6.4088
4.24915e+19 7.2837 7.4825 7.0869 6.5074
4.31014e+19 7.3505 7.5567 7.1727 6.5867
4.33291e+19 7.3752 7.583 7.2042 6.615
4.33374e+19 7.3761 7.5839 7.2053 6.616
4.4346e+19 7.4832 7.6928 7.3381 6.7315
4.51236e+19 7.5634 7.7705 7.4309 6.8121
4.51418e+19 7.5652 7.7723 7.4329 6.8143
4.59612e+19 7.6472 7.8497 7.5204 6.9197
4.70407e+19 7.7509 7.9468 7.6321 7.0399
4.70977e+19 7.7563 7.9518 7.6382 7.0451
4.81143e+19 7.8491 8.039 7.7515 7.1347
4.86531e+19 7.8964 8.0841 7.813 7.2333
4.89398e+19 7.921 8.1079 7.8454 7.2623
4.90796e+19 7.9328 8.1194 7.8611 7.2739
4.96697e+19 7.9818 8.1676 7.9259 7.3229
5.06268e+19 8.0581 8.2446 8.0241 7.4305
5.08387e+19 8.0746 8.2615 8.0446 7.4499
5.15238e+19 8.1269 8.316 8.1078 7.5111
5.23615e+19 8.1892 8.3824 8.1812 7.6276
5.29086e+19 8.2291 8.4258 8.2279 7.6805
5.29271e+19 8.2304 8.4272 8.2295 7.682
5.32585e+19 8.2543 8.4535 8.2576 7.7082
5.41555e+19 8.3184 8.5249 8.3339 7.7889
5.49205e+19 8.3726 8.5859 8.4001 7.8625
5.51722e+19 8.3905 8.6059 8.4223 7.8874
5.60095e+19 8.45 8.6724 8.4967 7.9681
5.70088e+19 8.5224 8.7511 8.585 8.0528
5.70317e+19 8.524 8.7529 8.587 8.055
5.71457e+19 8.5325 8.7619 8.5969 8.0666
5.79233e+19 8.5908 8.8224 8.6637 8.1563
5.90022e+19 8.6736 8.905 8.7557 8.2233
5.90592e+19 8.678 8.9093 8.7606 8.2279
5.98967e+19 8.7428 8.972 8.8323 8.3265
6.0913e+19 8.8198 9.0463 8.9134 8.3981
6.10904e+19 8.8328 9.0591 8.9263 8.4066
6.19294e+19 8.8925 9.1184 8.9826 8.4698
6.2535e+19 8.933 9.1603 9.0207 8.5189
6.30106e+19 8.963 9.1926 9.0511 8.5575
6.32731e+19 8.9788 9.2102 9.0685 8.5788
6.53612e+19 9.0929 9.346 9.2249 8.7443
6.58758e+19 9.1191 9.3784 9.2642 8.7833
6.75441e+19 9.2031 9.4812 9.3813 8.9016
6.97266e+19 9.3189 9.6117 9.5093 9.0502
6.97651e+19 9.3211 9.614 9.5116 9.0529
6.98815e+19 9.3277 9.6208 9.5187 9.061
7.19093e+19 9.4485 9.739 9.6514 9.2053
7.30564e+19 9.5201 9.8051 9.7262 9.2874
7.4092e+19 9.5854 9.8646 9.7936 9.3608
7.59797e+19 9.7028 9.9724 9.9176 9.4909
7.62747e+19 9.7208 9.9892 9.9358 9.5106
7.75365e+19 9.7957 10.0608 10.0092 9.5925
7.84572e+19 9.8482 10.1129 10.0637 9.6502
8.06399e+19 9.967 10.2358 10.2059 9.7836
8.1121e+19 9.9923 10.2629 10.2352 9.8134
8.29173e+19 10.0856 10.3636 10.3338 9.9296
8.33381e+19 10.1073 10.3871 10.3553 9.9577
8.50996e+19 10.1978 10.4857 10.4475 10.0762
8.51863e+19 10.2023 10.4905 10.4525 10.082
8.63234e+19 10.2613 10.5541 10.5217 10.1575
8.71873e+19 10.3068 10.6023 10.5755 10.2138
8.93699e+19 10.4238 10.7242 10.7034 10.351
9.13438e+19 10.5314 10.8343 10.8243 10.4671
9.14576e+19 10.5377 10.8406 10.8313 10.4736
9.35453e+19 10.6515 10.9571 10.9593 10.5867
9.3616e+19 10.6553 10.961 10.9636 10.5904
9.5633e+19 10.7608 11.0735 11.0872 10.693
9.69036e+19 10.8254 11.1443 11.1651 10.7557
9.77207e+19 10.8718 11.1898 11.2152 10.7955
9.8398e+19 10.9149 11.2276 11.2567 10.8285
9.85165e+19 10.9227 11.2342 11.2639 10.8342
9.85811e+19 10.9269 11.2378 11.2679 10.8373
This diff is collapsed.
{
"3phased_2support_gtr3": [
-0.06101332755522515,
0.8906299050281568,
8.50399113140374,
0.9359124867145965
],
"3power_2support_gtr3": [
-0.09234690288543035,
0.7383663079013153,
8.723278791843732,
0.8570357474080368
],
"3power_gtr3": [
-0.1648019401860514,
0.7685389747837494,
8.469036591701329,
1.0351725210942482
],
"any3_gtr3": [
-0.19848464922474787,
0.9254389841644048,
7.423472943972761,
1.2133976987739408
]
}
\ No newline at end of file
File added
File added
File added
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
from scipy import interpolate
class efficiency:
def __init__(self, filename='analysis_efficiency.csv'):
self.df_eff = pd.read_csv(filename, sep=",")
self.logE = self.df_eff.logE
def efficiency(self, xvals, selection='any3_gtr3'):
self.eff = self.df_eff[selection]
interp_function = interpolate.interp1d(self.logE, self.eff, kind='linear', bounds_error=False)
xvals[xvals<min(self.logE)] = min(self.logE)
xvals[xvals>max(self.logE)] = max(self.logE)
vals = interp_function(xvals)
vals[vals<0] = 0
return vals
def keys(self):
return list(self.df_eff.columns[1:])
File added
%% Cell type:markdown id: tags:
# Gen2 analysis for radio - An overview
JvS framework for sensitivity estimates for Gen2 is based around a 4 dimensional effective volume tuple based on
- true energy, $E_{\nu}$
- true cosine zenith angle $\cos(\theta_\nu)$
- reco energy, $E_\text{reco}$
- reco space angle between true and reco direction ($\psi$)
## efficiency / effective volume / analysis classes
For radio, we might want to take several efficiencies into account:
- analysis efficiency: which fraction of triggered events (a function on $E_{\nu}$) can be reconstructed and analysed?
- station coincidence: naively, effective area of an array is just single station effective area, multiplied by number of stations. Depending on how close stations are put together, the overlap might be significant. The station coincidence could be accounted for, to make it more realistic.
## parametrisations
- angular resolution (**2d?, cos(zenith) cut?**)
- energy resolution
## results
- sensitivity as function of number of stations
- sensitivity vs declination
- diffuse sensitivity
- pointsource sensitivity
%% Cell type:code id: tags:
``` python
# classification efficiency
import numpy as np
import NuRadioMC
from NuRadioReco.utilities import units
```
%% Cell type:code id: tags:
``` python
energies = np.logspace(0,10,301)*units.GeV
```
%% Cell type:code id: tags:
``` python
def sigmoid(x,a,b,c,d,m):
#modified, such that turnover is middle between min and max
return ((a-d) / (1 + (np.exp(b*(np.log10(x)-c)))**m)) + d
```
%% Cell type:code id: tags:
``` python
ce = sigmoid(energies/units.GeV,
1, #min
5, #1/width
6.0, #turnover / TeV
0, #max
1)
ce2 = sigmoid(energies/units.GeV,
0.2, #min
0.5, #1/width
0.0, #turnover / TeV
1, #max
1)
```
%% Cell type:code id: tags:
``` python
import matplotlib.pyplot as plt
```
%% Cell type:code id: tags:
``` python
plt.plot(energies, ce )
plt.plot(energies, ce2 )
plt.grid()
plt.semilogx()
```
%% Output
[]
%% Cell type:code id: tags:
``` python
```
%% Cell type:code id: tags:
``` python
```
%% Cell type:code id: tags:
``` python
```
%% Cell type:code id: tags:
``` python
```