Skip to content

Commit

Permalink
Merge branch 'master' into pyup-pin-numexpr-2.6.5
Browse files Browse the repository at this point in the history
  • Loading branch information
JelleAalbers committed Jul 2, 2018
2 parents a8058ce + 0ff0dcb commit c563bf1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
5 changes: 3 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,9 @@
'sphinx_rtd_theme',
'nbsphinx',
'recommonmark'],
'xenon': ['keras',
'tensorflow']
'xenon': ['keras'
'tensorflow',
'scipy']
},
long_description=long_description,
long_description_content_type="text/markdown",
Expand Down
3 changes: 2 additions & 1 deletion strax/xenon/plugins.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

import strax
from .common import to_pe, pax_file, get_resource, get_elife
from .itp_map import InterpolatingMap
export, __all__ = strax.exporter()


Expand Down Expand Up @@ -525,6 +524,7 @@ class EventPositions(strax.Plugin):
'Interaction angular position (radians)')]

def setup(self):
from .itp_map import InterpolatingMap
self.map = InterpolatingMap(get_resource(self.config['fdc_map'],
binary=True))

Expand Down Expand Up @@ -578,6 +578,7 @@ class CorrectedAreas(strax.Plugin):
('cs2', np.float32, 'Corrected S2 area (PE)')]

def setup(self):
from .itp_map import InterpolatingMap
self.s1_map = InterpolatingMap(
get_resource(self.config['s1_relative_lce_map']))
self.s2_map = InterpolatingMap(
Expand Down
Empty file removed strax/xenon/utils.py
Empty file.

0 comments on commit c563bf1

Please sign in to comment.