[AstroPy] [pywcs] Unit question

Ole Streicher astropy at liska.ath.cx
Wed Apr 6 03:07:47 EDT 2011


Am 05.04.2011 17:36, schrieb Michael Droettboom:
> Hmm.  Once looking into this, it seems this works for me -- Python 
> creates an implicit iterator when __getitem__ and __len__ are defined.  
> What version of pywcs and Python are you using?
> In [6]: list(wcs.wcs.cunit)
> Out[6]: ['', '']

I must apologize; I cannot reproduce this anymore, even on the same
computer. Sorry for the confusion.

Regards

Ole



More information about the AstroPy mailing list