Unrecognised line reference?

58 views
Skip to first unread message

Eamonn Harvey

unread,
Aug 17, 2015, 10:12:20 AM8/17/15
to pyCloudy
Hi,

I've been just trying to run the example scripts available for pyCloudy however I get this error:

warng C3D: H__1__4861A is not a valid reference

Traceback (most recent call last):

  File "test_3D1.py", line 151, in <module>

    plot_profiles(m3d, 55, 55)

  File "test_3D1.py", line 65, in plot_profiles

    plt.plot(m3d.vel_tab,m3d.get_profile('H__1__4861A', axis='x')[:,x_pos,y_pos] * 5, label = r'H$\beta$')

TypeError: 'NoneType' object has no attribute '__getitem__'



I'm using Cloudy version 15 so this is possibly the problem? 


Any help would be much appreciated,

Eamonn



Christophe Morisset

unread,
Aug 18, 2015, 11:07:58 AM8/18/15
to pyCloudy
Hi,

This line is Hbeta, it is in Cloudy since is was a baby ;-) But it actually may be that the c15 version changed some labels. It's not the official current stable version, so I don't have it now.
You can install the c13.03 version, wich works perfectly with pyCloudy.
Cheers,
Christophe

Eamonn Harvey

unread,
Aug 18, 2015, 11:25:04 AM8/18/15
to pyCloudy
Hi and thanks for your reply,

I'll install C13 and have a root around for the difference in referencing the line labels in version 15 vs 13 so.

Cheers,
Eamonn
Reply all
Reply to author
Forward
0 new messages