Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
540def9
add empty files
specktakel May 25, 2026
e9a03a8
effective area draft
specktakel May 25, 2026
2edcd01
first draft for eres
specktakel May 27, 2026
eab0226
rename attribute
specktakel May 27, 2026
85c692e
add units
specktakel May 27, 2026
3c0f847
add remove method, formatting
specktakel May 28, 2026
d2f4226
first draft for complete IRF, very slow
specktakel May 28, 2026
496b410
slight speedup
specktakel May 28, 2026
add71b2
endless bugfixes
specktakel May 28, 2026
b48c4a2
rename all fields to plural
specktakel May 28, 2026
65db1c0
fix tests
specktakel May 28, 2026
eadcbe7
add test files
specktakel May 28, 2026
5e177cd
merge master
specktakel May 28, 2026
4078c28
add mjd generator
specktakel May 29, 2026
3c717ba
updates
specktakel May 29, 2026
0d1efc6
fix tests, add methods
specktakel May 29, 2026
be915a4
add check for completely empty IRF entries
specktakel May 29, 2026
669a990
minor changes
specktakel May 29, 2026
fc4da15
add dec again...
specktakel May 29, 2026
85d6dfd
small changes
specktakel May 30, 2026
1dd2413
fix tests
specktakel May 30, 2026
676ac73
marginal gains, add test
specktakel Jun 1, 2026
849b308
add dummy pdf
specktakel Jun 1, 2026
73a8386
bugfix in eres storage
specktakel Jun 2, 2026
7128819
fix docstrings
specktakel Jun 2, 2026
51d6436
Make eres dec dependent, yet again
specktakel Jun 3, 2026
59a7848
simplify ang err creation
specktakel Jun 3, 2026
096ebc4
update doc strings
specktakel Jun 3, 2026
ac0181c
convert frac counts to normalised pdfs
specktakel Jun 3, 2026
57c80c2
removed obsolete methods
specktakel Jun 3, 2026
bf3df2c
samples ang_err
specktakel Jun 3, 2026
46a4b67
add methods to deflect events
specktakel Jun 3, 2026
58c52de
WIP
specktakel Jun 4, 2026
b079b6d
change return of sample_energy
specktakel Jun 5, 2026
7384271
sample events
specktakel Jun 5, 2026
839975d
add properties, fix imports
specktakel Jun 5, 2026
06f2f2c
me stupid
specktakel Jun 5, 2026
db3d0d0
add missing dependency
specktakel Jun 5, 2026
1890b6e
add tests
specktakel Jun 5, 2026
d20ce20
add dependency
specktakel Jun 5, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 4 additions & 22 deletions icecube_data_reader/event_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,28 +86,6 @@ class Refrigerator:

detectors = [IC40, IC59, IC79, IC86, IC86_I, IC86_II]

'''
@classmethod
def python2dm(cls, python):
"""Returns EventType corresponding to python event-type string"""

for dm in cls.detectors:
if dm.P == python:
return dm
else:
raise ValueError(f"No detector {python} available.")
'''
'''
@classmethod
def stan2dm(cls, stan):
"""Returns EventType corresponding to stan event-type"""

for dm in cls.detectors:
if dm.S == stan:
return dm
else:
raise ValueError(f"No detector {stan} available.")
'''
@classmethod
def int2str(cls, int_):
"""Returns python event-type string corresponding to integer event-type"""
Expand Down Expand Up @@ -136,4 +114,8 @@ def int2dm(cls, int_):
return dm
else:
raise ValueError(f"No detector {int_} available.")

@classmethod
def str2dm(cls, str_):
return cls.int2dm(cls.str2int(str_))

Loading