From: Oriol A. <ori...@gm...> - 2017-03-16 09:23:59
|
Hi, You have to install the package. One option is to use pip: $ pip install periodictable You can find more information about the periodictable package (or download it) here https://pypi.python.org/pypi/periodictable Oriol Abril Group of Astronomy and Astrophysics, UPC-BarcelonaTech 2017-03-16 9:25 GMT+01:00 ertaoLee <ert...@gm...>: > Dear Michael Zingale, > > Thank you for your help! > > When I try to run the code, I cannot find the "periodictable". Could you > tell me where to get it. > > ------------------------------ > Er-Tao Li(李二涛) > Institute of Nuclear Technology,College of Physics & Energy, Shenzhen > University > Nanhai Ave 3688, Shenzhen, Guangdong, P.R.China, 518060 > Tel: 86-755-26536232. Fax: 86-755-26534374 > > *From:* Michael Zingale <mic...@st...> > *Date:* 2017-03-15 20:33 > *To:* ertaoLee <ert...@gm...> > *CC:* mesa-users <mes...@li...> > *Subject:* Re: [mesa-users] calculate reaction flows > Hi, this isn't MESA-specific, but we've written some python routines to > interface with the reaclib rates and allow you to explore this (I think > MESA uses some of these same rates). Basically, you feed it a set of rates > and it constructs a network and then in a Jupyter notebook, you can > visualize it to show the flow and allow you to vary the temperature / > density with sliders to see how rates change with conditions. It is still > a bit rough around the edges, and quite new, so things could break, but the > code is here: > > https://github.com/pyreaclib/pyreaclib > > and a sample notebook that allows for the interactive exploration of rates > is here: > https://github.com/pyreaclib/pyreaclib/blob/development/ > examples/interactive-example.ipynb > > (in the live notebook version, there will be a temperature and density > slider to allow you to change the conditions). > > Note, this functionality is only available on the 'development' branch, so > you'll need to work there if you want to play. > > This notebook describes some of the data structures; > https://github.com/pyreaclib/pyreaclib/blob/development/ > examples/pyreaclib-examples.ipynb > > > On Tue, Mar 14, 2017 at 11:20 PM, ertaoLee <ert...@gm...> wrote: > >> Dear MESA users, >> >> I am trying to find out which reactions are more important than others. >> So, I need to calculate the reaction forward and reverse flows for each >> reaction and draw a flow diagram. >> >> How do I do that? >> >> Thanks in advance for any help that you can offer! >> >> >> ------------------------------ >> Er-Tao Li(李二涛) >> Institute of Nuclear Technology,College of Physics & Energy, Shenzhen >> University >> Nanhai Ave 3688, Shenzhen, Guangdong, P.R.China, 518060 >> Tel: 86-755-26536232. Fax: 86-755-26534374 >> >> ------------------------------------------------------------ >> ------------------ >> Check out the vibrant tech community on one of the world's most >> engaging tech sites, Slashdot.org! http://sdm.link/slashdot >> _______________________________________________ >> mesa-users mailing list >> mes...@li... >> https://lists.sourceforge.net/lists/listinfo/mesa-users >> >> > > > -- > Michael Zingale > Associate Professor > > Dept. of Physics & Astronomy • Stony Brook University • Stony Brook, NY > 11794-3800 > *phone*: 631-632-8225 <(631)%20632-8225> > *e-mail*: Mic...@st... > *web*: http://www.astro.sunysb.edu/mzingale > github: http://github.com/zingale > > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > mesa-users mailing list > mes...@li... > https://lists.sourceforge.net/lists/listinfo/mesa-users > > |