Hi Devin,
The problem is that doing "from yt.analysis_modules.api import ..." will
try to import everything that api first and the particle_trajectories
(which is an unrelated module) is simply failing. You might file a bug for
the import error. Beside that, you can import the AbsorptionSpectrum in
the following way to circumvent this issue:
from yt.analysis_modules.absorption_spectrum.api import AbsorptionSpectrum
Britton
On Mon, Jan 27, 2014 at 3:22 PM, Devin Silvia
Hi Andrew,
The code is failing on the import call for AbsorptionSpectrum. So I'm not at the point yet of trying to run the code. I was under the impression that the line-of-sight velocities would come from the gas velocity anyway, of course I could be wrong there.
-Devin
Are you generating the spectrum with line of sight velocities turned on? If so try it without and see if the same error occurs. I suspect the
On Mon, Jan 27, 2014 at 9:38 AM, Andrew James Emerick
wrote: particle trajectories are used for this, but I do not know for sure.
Andrew E
On Monday, January 27, 2014, Devin Silvia
wrote: Hi all,
I recently used conda to install yt, but when I try to import AbsorptionSpectrum, I get this error:
http://paste.yt-project.org/show/4246/
I'm not familiar with particle_trajectories, but is this something that is actually needed by AbsorptionSpectrum? If not, should it even being trying to import that? Any thoughts/help are, as always, appreciated.
Cheers, Devin
-- Devin W. Silvia Research Associate Department of Physics and Astronomy Michigan State University www.devinsilvia.com _______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
-- Graduate Student Columbia University Department of Astronomy
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
-- Devin W. Silvia Research Associate Department of Physics and Astronomy Michigan State University www.devinsilvia.com _______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org