Figure 16

      To make Figure 16, first ensure that you have downloaded the rates data. Also make sure you have made the simple_snII project. Now change into the nucnet-tools-code/examples/misc/ directory:

cd ~/projects/nucnet-tools-code/examples/misc/

Since we must access our user-defined rate functions, we need to set the environment variable NNT_MY_USER. To do so, type

export NNT_MY_USER=1

To ensure that the variable is set, type

printenv NNT_MY_USER

which should return

1

Now you can compile and run the required code by typing

make print_rates_by_xpath  
 
./print_rates_by_xpath ../../data_pub/my_net.xml "[reactant = 'n14' and product = 'f18']" > ../../data_pub/s15a28a28/n14_a_g_il10.txt  
 
./print_rates_by_xpath ../../data_pub/n15_study_rates.xml "[reactant = 'n14' and product = 'f18']" > ../../data_pub/s15a28a28/n14_a_g_fcz2.txt

Plot column 2 of n14_a_g_il10.txt (beginning at row 6) versus column 1 of the same file. Do the same for n14_a_g_fcz2.txt. Repeat for the other reactions (but be sure to use a selective enough XPath expression to get only the reaction you want).

  If you run the print_rates_by_xpath code and get an error message “ERROR: No rate function ...”, then you have neglected to set NNT_MY_USER. Try the export command above and recompile. Should it become necessary for you to unset the environment variable NNT_MY_USER, you can type

unset NNT_MY_USER