Commit 155b3556 authored by Jakob Knollmueller's avatar Jakob Knollmueller

added file in setup

parent b9b51dad
......@@ -63,7 +63,10 @@ def _mollweide_helper(xsize):
def _rgb_data(spectral_cube):
def _eye_sensitivity(energy_bins, spacing=None):
from scipy.ndimage import zoom
rgb_high = np.load('frequency_sensitivity.npy')
import pkg_resources
path = 'frequency_sensitivity.npy'
filepath = pkg_resources.resource_filename(__name__, path)
rgb_high = np.load(filepath)
# if spacing != None:
# spacing = np.arange(0, 1, 1 / energy_bins)
......
......@@ -38,6 +38,7 @@ setup(name="nifty5",
description="Numerical Information Field Theory",
url="http://www.mpa-garching.mpg.de/ift/nifty/",
packages=find_packages(include=["nifty5", "nifty5.*"]),
include_package_data=True,
zip_safe=True,
license="GPLv3",
setup_requires=['future', 'scipy'],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment