I was testing the wcs_template_example.ipynb and I got this error when I ran the fourth part:
"image,pix,wcs = draco.create_jmap(npix=150,subsample=8,coordsys='CEL',projection='AIT')"
AttributeError Traceback (most recent call last)
in ()
2
3 # Create a template image and associate wcs
----> 4 image,pix,wcs = draco.create_jmap(npix=150,subsample=8,coordsys='CEL',projection='AIT')
5 # The image is in the default units [cgs]
6 #image = Units.convert_to(image,'GeV2 / cm5')
/u/gl/nah/.local/lib/python2.7/site-packages/pymodeler/model.pyc in getattr(self, name)
148 else:
149 # Raises AttributeError
--> 150 return object.getattribute(self,name)
151
152 def setattr(self, name, value):
AttributeError: 'Dwarf' object has no attribute 'create_jmap'