[mesa-users] nugrid-mesa.py

Falk Herwig fherwig at uvic.ca
Sat Oct 20 18:42:27 EDT 2012


After some more testing, documenting and cleaning up, please try again:
http://www.mesastar.org/tools-utilities/python-based-stuff/nugrids-mesa.py-1

In addition to the mesa.py file another file data_plot.py is needed. This is now all directly available from mesastars.org. 

Presently these files live on the NuGrid svn server.

Falk.


On 2012-10-19, at 7:00 PM, Josiah Schwab wrote:

> This tool requires the files from nugrid_pylib.  Are you trying to just use the mesa.py file all by itself?  (Or if you have those, some path may be set incorrectly.)
> 
> Josiah
> 
> On 10/19/2012 04:46 PM, Chris Mankovich wrote:
>> Hi Falk,
>> 
>> I'm eager to give this a shot, but I'm failing at the import step:
>> 
>> In [2]: import mesa
>> ---------------------------------------------------------------------------
>> ImportError                               Traceback (most recent call last)
>> /home/chris/he/<ipython-input-2-6c94b0867429> in <module>()
>> ----> 1 import mesa
>> 
>> /home/chris/he/mesa.py in <module>()
>>     113 '''
>>     114 import numpy as np
>> --> 115 from data_plot import *
>>     116 import numpy as np
>>     117 import matplotlib
>> 
>> ImportError: No module named data_plot
>> 
>> 
>> This is running "ipython --pylab --profile=numpy".  python version
>> 2.7.3, ipython version 0.12.1.  What am I missing?
>> 
>> Chris
>> 
>> On Wed, Oct 17, 2012 at 8:32 PM, Falk Herwig <fherwig at uvic.ca
>> <mailto:fherwig at uvic.ca>> wrote:
>> 
>>    NuGrid's mesa.py update available to deal with new naming scheme:
>>    http://mesastar.org/tools-utilities/python-based-stuff/nugrids-mesa.py
>>    Contributions, improvements and bug fixes welcome.
>>    Falk.
>> 
>>    --
>>    Falk Herwig
>>    Dept of Physics & Astronomy, U of Victoria
>>    fherwig at uvic.ca <mailto:fherwig at uvic.ca>, tel: +1 (250) 721-7743
>>    <tel:%2B1%20%28250%29%20721-7743>
>> 
>> 
>> 
>> 
>>    ------------------------------------------------------------------------------
>>    Everyone hates slow websites. So do we.
>>    Make your web apps faster with AppDynamics
>>    Download AppDynamics Lite for free today:
>>    http://p.sf.net/sfu/appdyn_sfd2d_oct
>>    _______________________________________________
>>    mesa-users mailing list
>>    mesa-users at lists.sourceforge.net
>>    <mailto:mesa-users at lists.sourceforge.net>
>>    https://lists.sourceforge.net/lists/listinfo/mesa-users
>> 
>> 
>> 
>> 
>> ------------------------------------------------------------------------------
>> Everyone hates slow websites. So do we.
>> Make your web apps faster with AppDynamics
>> Download AppDynamics Lite for free today:
>> http://p.sf.net/sfu/appdyn_sfd2d_oct
>> 
>> 
>> 
>> _______________________________________________
>> mesa-users mailing list
>> mesa-users at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/mesa-users
>> 

--
Falk Herwig
Dept of Physics & Astronomy, U of Victoria
fherwig at uvic.ca, tel: +1 (250) 721-7743







More information about the Mesa-users mailing list