Main content

Home

Toggle view:
View
Compare

Menu

Project Wiki Pages
View
Wiki Version:

This script checks that rates for valid reactions in a Webnucleo network file lie within an appropriate range for a set of temperatures.

To use, first download the file by typing

curl -o check_rates.py -J -L https://osf.io/mgnzc/download

Use the script on a Webnucleo network XML file (in this example, called net.xml). To obtain an example, type

curl -o net.xml -J -L https://osf.io/kyhbs/download

Then print forward or reverse rates less than the default low value 0 or greater than the default high value 1e20 for 20 logarithmically spaced temperatures between t9 = 0.01 and 10:

python check_rates.py net.xml

Change the printout by changing script options. To view those options, type

python check_rates.py -h

For example, to check only the forward rates for 5 logarithmically spaced temperatures between t9=5 and t9=10, type

python check_rates.py net.xml --t9_low 5 --t9_pts 5 --forward_only True

It is also possible to use nuclide and reaction XPath expressions to select the reactions to check. For example, one may type

python check_rates.py net.xml --nuc_xpath "[a = 1 or z >= 40 and z <= 44]" --reac_xpath "[product = 'electron']" --high_value 5.e3 --forward_only True --t9_pts 1

OSF does not support the use of Internet Explorer. For optimal performance, please switch to another browser.
Accept
This website relies on cookies to help provide a better user experience. By clicking Accept or continuing to use the site, you agree. For more information, see our Privacy Policy and information on cookie use.
Accept
×

Start managing your projects on the OSF today.

Free and easy to use, the Open Science Framework supports the entire research lifecycle: planning, execution, reporting, archiving, and discovery.