[AstroPy] Help needed - Pix2Sky error
Erik Bray
embray at stsci.edu
Thu Sep 10 17:21:40 EDT 2015
On 09/10/2015 02:05 PM, Christian Johnson wrote:
> Hi all,
>
> (if this is the wrong list to use for questions like this, please let me know!)
>
> I'm attempting to use astropy to get data out of a FITS file in the Aitoff
> projection, and was trying to use the astropy.modeling.projections.Pix2Sky_AIT
> class (that I found here:
> http://astropy.readthedocs.org/en/latest/modeling/index.html). However, when I
For what it's worth, the docs labeled "latest" are documentation for the most
recent development version. The most recent released version is at
http://astropy.readthedocs.org/en/stable, which is also what you get if you go
directly to http://docs.astropy.org
You can see this difference also in the top-left corner where on "stable" it
currently reads "Astropy v1.0.4", while on "latest" it reads "Astropy
v1.1.dev13387".
The more I think about it though the less happy I am with this nomenclature. I
think it's non-obvious that "latest" should be distinct from "stable". I'd
rather it were called "dev" or something like that. Unfortunately the name is
given by readthedocs itself and doesn't seem changeable. I'll poke them to see
if they'd be willing to make the "latest" docs be renameable. Might be an easy
patch, even...
Erik
> try to use it, I get an error that there is no module of that name
> ("AttributeError: 'module' object has no attribute 'Pix2Sky_AIT'"). I can
> successfully import astropy.modeling.projections.Projection or
> astropy.modeling.projections.Zenithal or a few others, but most throw this error.
>
> Is there something I'm doing wrong, or does some other package need to be
> installed for these modules to work correctly?
>
> Thanks in advance,
> Christian Johnson
>
>
> _______________________________________________
> AstroPy mailing list
> AstroPy at scipy.org
> http://mail.scipy.org/mailman/listinfo/astropy
>
More information about the AstroPy
mailing list