Main content

Home

Menu

Loading wiki pages...

View
Wiki Version:
This [script](https://osf.io/ktj89) solves the coupled linear ODEs for a directed, acyclic network. To use, first download the file by typing **curl -o ode_dag_network.py -J -L https://osf.io/ktj89/download** Use the script on an input Webnucleo XML file (in this example, called *net.xml*). To obtain an [example](https://osf.io/zhrfn/), type **curl -o net.xml -J -L https://osf.io/kyhbs/download** Then solve, for example, a beta-decay chain problem by typing **python ode_dag_network.py net.xml "{sn160; 1}" out.xml --nuc_xpath "[(a=1) or (a >= 140 and a <= 160)]" --reac_xpath "[(product = 'electron')]" --t_end 100 --N_steps=101 --time_scaling logarithmic --t_start 1.e-5** The output is contained in the Webnucleo XML file *out.xml*.
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.