[AstroPy] question re specutils
aycha.tammour at gmail.com
Wed Sep 17 11:15:41 EDT 2014
The package I am using is the one I grabbed from the github repo just
On Wed, Sep 17, 2014 at 11:10 AM, Erik Bray <embray at stsci.edu> wrote:
> On 09/17/2014 10:12 AM, Aycha Tammour wrote:
> > Hi,
> > I have a question about one of Astropy's affiliated packages and I hope
> > here can help with it.
> > I am trying to use specutils' extinction module but it seems I am unable
> > import it.
> > I tried:
> > import specutils
> > specutils.extinction.extinction_ccm89(wave, r_v=3.1)
> > And got:
> > AttributeError: 'module' object has no attribute 'extinction'
> > When I tried:
> > from specutils import extinction
> > I still got
> > ImportError: cannot import name extinction
> > Am I missing something here? I should mention that I was able to use
> some of the
> > functionality in spectrum1D.
> When you import specutils what do
> >>> specutils.__version__
> >>> specutils.__file__
> AstroPy mailing list
> AstroPy at scipy.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the AstroPy