Last active
June 30, 2017 12:56
-
-
Save cdeil/99b672203c9aa82bd7d9e30167be8842 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from gammapy.maps import MapBase | |
from astropy.coordinates import SkyCoord | |
position = SkyCoord(0, 0, frame='galactic', unit='deg') | |
MapBase.create(binsz=0.1, map_type='wcs') | |
MapBase.create_image() | |
MapBase.create_cube() | |
## -- End pasted text -- | |
--------------------------------------------------------------------------- | |
ModuleNotFoundError Traceback (most recent call last) | |
<ipython-input-1-5bfe18e67089> in <module>() | |
3 position = SkyCoord(0, 0, frame='galactic', unit='deg') | |
4 | |
----> 5 MapBase.create(binsz=0.1, map_type='wcs') | |
6 | |
7 MapBase.create_image() | |
~/code/gammapy/gammapy/maps/base.py in create(cls, **kwargs) | |
62 | |
63 from .hpxmap import HpxMap | |
---> 64 from .wcsmap import HpxMap | |
65 | |
66 map_type = kwargs.setdefault('map_type', 'wcs') | |
ModuleNotFoundError: No module named 'gammapy.maps.wcsmap' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment