add some info text
This commit is contained in:
parent
56131d662e
commit
6704bf7944
2
digios
2
digios
|
@ -1 +1 @@
|
||||||
Subproject commit a0b335d61fc9ad7fda81c21ba11bcc79aac7bfc4
|
Subproject commit cee50c25d6c615a142ae46a705f8fa9117ef2714
|
|
@ -209,11 +209,20 @@ result=""
|
||||||
haha=""
|
haha=""
|
||||||
|
|
||||||
if isDWBA :
|
if isDWBA :
|
||||||
|
|
||||||
dwba_1 = subprocess.run(["../Cleopatra/InFileCreator", fn4, "0", "180", "0.1"] , stdout=subprocess.PIPE).stdout.decode('utf-8')
|
dwba_1 = subprocess.run(["../Cleopatra/InFileCreator", fn4, "0", "180", "0.1"] , stdout=subprocess.PIPE).stdout.decode('utf-8')
|
||||||
cmd = "../Cleopatra/ptolemy <%s.in> %s.out" % (fn4, fn4)
|
cmd = "../Cleopatra/ptolemy <%s.in> %s.out" % (fn4, fn4)
|
||||||
outFile = fn4+ ".out"
|
outFile = fn4+ ".out"
|
||||||
|
if os.path.exists(outFile):
|
||||||
|
os.remove(outFile)
|
||||||
os.system(cmd)
|
os.system(cmd)
|
||||||
if os.path.exists(outFile) :
|
if os.path.exists(outFile) :
|
||||||
|
if os.path.exists(fn4 + ".root"):
|
||||||
|
os.remove(fn4 + ".root")
|
||||||
|
if os.path.exists(fn4 + ".Ex.txt"):
|
||||||
|
os.remove(fn4 + ".Ex.txt")
|
||||||
|
if os.path.exists(fn4 + ".Xsec.txt"):
|
||||||
|
os.remove(fn4 + ".Xsec.txt")
|
||||||
dwba_3 = subprocess.run(["../Cleopatra/ExtractXSec", outFile, "1"], stdout=subprocess.PIPE).stdout.decode('utf-8')
|
dwba_3 = subprocess.run(["../Cleopatra/ExtractXSec", outFile, "1"], stdout=subprocess.PIPE).stdout.decode('utf-8')
|
||||||
dwbaRootFile = fn4 + ".root"
|
dwbaRootFile = fn4 + ".root"
|
||||||
dwbaExFile = fn4 + ".Ex.txt"
|
dwbaExFile = fn4 + ".Ex.txt"
|
||||||
|
@ -221,6 +230,9 @@ if isDWBA :
|
||||||
dwbaPNG = dwba_4.splitlines().pop()
|
dwbaPNG = dwba_4.splitlines().pop()
|
||||||
|
|
||||||
|
|
||||||
|
#if os.path.exists("transfer.root"):
|
||||||
|
# os.remove("transfer.root");
|
||||||
|
|
||||||
if isDWBA :
|
if isDWBA :
|
||||||
result = subprocess.run(["../Cleopatra/Transfer", fn1, fn2, dwbaExFile, dwbaRootFile, "transfer.root", "reaction.dat", "0"], stdout=subprocess.PIPE).stdout.decode('utf-8')
|
result = subprocess.run(["../Cleopatra/Transfer", fn1, fn2, dwbaExFile, dwbaRootFile, "transfer.root", "reaction.dat", "0"], stdout=subprocess.PIPE).stdout.decode('utf-8')
|
||||||
else:
|
else:
|
||||||
|
@ -281,6 +293,8 @@ if dwbaPNG != "" :
|
||||||
print ("<br> Downlaod the <a href=\"files/%s\" download=\"%s\">%s</a>" % (fn4+".root", fn4+".root", fn4+".root"))
|
print ("<br> Downlaod the <a href=\"files/%s\" download=\"%s\">%s</a>" % (fn4+".root", fn4+".root", fn4+".root"))
|
||||||
print ("<br>")
|
print ("<br>")
|
||||||
|
|
||||||
|
print ("<p style=\"color:#1363A7;font-size:20px;\"><b>If the DWBA result different from the setting or not show, probably the DWBA setting is incorrect that causes the calculation fail.</b></p>")
|
||||||
|
|
||||||
if pngName != "" :
|
if pngName != "" :
|
||||||
print ("<img src=\"files/%s\">" % pngName)
|
print ("<img src=\"files/%s\">" % pngName)
|
||||||
print ("<br> Downlaod the <a href=\"files/%s\" download=\"%s\">reactionConfig file</a>" % (fn1, fn1))
|
print ("<br> Downlaod the <a href=\"files/%s\" download=\"%s\">reactionConfig file</a>" % (fn1, fn1))
|
||||||
|
|
106
simpleSim.html
106
simpleSim.html
|
@ -77,7 +77,7 @@
|
||||||
|
|
||||||
<h3>DWBA and E<sub>x</sub> List:</h3>
|
<h3>DWBA and E<sub>x</sub> List:</h3>
|
||||||
|
|
||||||
<p> for 2-nucleon transfer, Orbital take the form nL=X, where n is number of node, X is momnetum number.</p>
|
<p><b style="color:red;">For 2-nucleon transfer</b>, <b>Orbital</b> take the form nL=X, where n is number of node, X is momnetum number.</p>
|
||||||
|
|
||||||
TODO: guess the orbital
|
TODO: guess the orbital
|
||||||
<br>
|
<br>
|
||||||
|
@ -93,9 +93,9 @@ Max Ex: <input type="text" id="maxEx" size="5" value="5"/>MeV
|
||||||
|
|
||||||
<table id="ExTable">
|
<table id="ExTable">
|
||||||
<tr>
|
<tr>
|
||||||
<td> E<sub>x</sub> [MeV]</td>
|
<td><b> E<sub>x</sub> [MeV] </b></td>
|
||||||
<td> J<sup>π</sup></td>
|
<td><b> J<sup>π</sup></b></td>
|
||||||
<td> Orbital </td>
|
<td><b> Orbital </b></td>
|
||||||
</tr>
|
</tr>
|
||||||
</tr>
|
</tr>
|
||||||
<td><input type="text" name="Ex" size="5" value="0"/></td>
|
<td><input type="text" name="Ex" size="5" value="0"/></td>
|
||||||
|
@ -118,29 +118,29 @@ Max Ex: <input type="text" id="maxEx" size="5" value="5"/>MeV
|
||||||
<td>Incoming Channel</td>
|
<td>Incoming Channel</td>
|
||||||
<td>
|
<td>
|
||||||
<select name="op1">
|
<select name="op1">
|
||||||
<option value="A" selected>D | An & Cai (2006) E < 183 | 12 < A < 238</option>
|
<option value="A" selected>D | An & Cai (2006) E < 183, 12 < A < 238</option>
|
||||||
<option value="H">D | Han, Shi, & Shen (2006) E < 200 | 12 < A < 209</option>
|
<option value="H">D | Han, Shi, & Shen (2006) E < 200, 12 < A < 209</option>
|
||||||
<option value="B">D | Bojowald et al. (1988) 50 < E < 80 | 27 < A < 208</option>
|
<option value="B">D | Bojowald et al. (1988) 50 < E < 80, 27 < A < 208</option>
|
||||||
<option value="D">D | Daehnick, Childs, Vrcelj (1980) 11.8 < E < 80 | 27 < A < 238 (REL) </option>
|
<option value="D">D | Daehnick, Childs, Vrcelj (1980) 11.8 < E < 80, 27 < A < 238 (REL) </option>
|
||||||
<option value="C">D | Daehnick, Childs, Vrcelj (1980) 11.8 < E < 80 | 27 < A < 238 (NON-REL) </option>
|
<option value="C">D | Daehnick, Childs, Vrcelj (1980) 11.8 < E < 80, 27 < A < 238 (NON-REL) </option>
|
||||||
<option value="L">D | Lohr and Haeberli (1974) 9 < E < 13 | 40 < A </option>
|
<option value="L">D | Lohr and Haeberli (1974) 9 < E < 13, 40 < A </option>
|
||||||
<option value="Q">D | Perey and Perey (1963) 12 < E < 25 | 40 < A </option>
|
<option value="Q">D | Perey and Perey (1963) 12 < E < 25, 40 < A </option>
|
||||||
<option value="Z">D | Zhang, Pang, Lou (2016) 5 < E < 170 | A < 18, spe 6-7Li </option>
|
<option value="Z">D | Zhang, Pang, Lou (2016) 5 < E < 170, A < 18, spe 6-7Li </option>
|
||||||
<option value="K">P | Koning & Delaroche (2009) E < 200 | 24 < A < 209 | Iso.Dep.</option>
|
<option value="K">P | Koning & Delaroche (2009) E < 200, 24 < A < 209 | Iso.Dep.</option>
|
||||||
<option value="V">P | Varner et al. (1991) 16 < E < 65 | 4 < A < 209</option>
|
<option value="V">P | Varner et al. (1991) 16 < E < 65, 4 < A < 209</option>
|
||||||
<option value="M">P | Menet et al. (1971) 30 < E < 60 | 40 < A </option>
|
<option value="M">P | Menet et al. (1971) 30 < E < 60, 40 < A </option>
|
||||||
<option value="G">P | Becchetti and Greenlees (1969) E < 50 | 40 < A </option>
|
<option value="G">P | Becchetti and Greenlees (1969) E < 50, 40 < A </option>
|
||||||
<option value="P">P | Perey (1963) E < 20 | 30 < A < 100 </option>
|
<option value="P">P | Perey (1963) E < 20, 30 < A < 100 </option>
|
||||||
<option value="x">A=3 | Xu, Guo, Han, & Shen (2011) E < 250 | 20 < A < 209 </option>
|
<option value="x">A=3 | Xu, Guo, Han, & Shen (2011) E < 250, 20 < A < 209 </option>
|
||||||
<option value="l">A=3 | Liang, Li, & Cai (2009) E < 270 | All masses </option>
|
<option value="l">A=3 | Liang, Li, & Cai (2009) E < 270, All masses </option>
|
||||||
<option value="p">A=3 | Perey (1963) E < 20 | 30 < A < 100 | Iso. Dep. </option>
|
<option value="p">A=3 | Pang et al. (2009) all E, all masses, Iso. Dep. </option>
|
||||||
<option value="c">A=3 | Li, Liang, Cai (2007), E < 40 | 48 < A < 232 | Tritons </option>
|
<option value="c">A=3 | Li, Liang, Cai (2007), E < 40, 48 < A < 232, Tritons </option>
|
||||||
<option value="t">A=3 | Trost et al. (1987) 10 < E < 220 | 10 < A < 208 </option>
|
<option value="t">A=3 | Trost et al. (1987) 10 < E < 220, 10 < A < 208 </option>
|
||||||
<option value="h">A=3 | Hyakutake et al. (1980) 90 < E < 120 | About 58 < A < 92 </option>
|
<option value="h">A=3 | Hyakutake et al. (1980) 90 < E < 120, About 58 < A < 92 </option>
|
||||||
<option value="b">A=3 | Becchetti and Greenlees (1971), E < 40 | 40 < A | Iso. Dep. </option>
|
<option value="b">A=3 | Becchetti and Greenlees (1971), E < 40, 40 < A, Iso. Dep. </option>
|
||||||
<option value="s">A=4 | Su & Han (2015) E < 398 | 20 < A < 209 </option>
|
<option value="s">A=4 | Su & Han (2015) E < 398, 20 < A < 209 </option>
|
||||||
<option value="a">A=4 | Avrigeanu et al. (2009) </option>
|
<option value="a">A=4 | Avrigeanu et al. (2009) </option>
|
||||||
<option value="f">A=4 | Bassani and Picard (1969) 24 < E < 31 | A = 90 </option>
|
<option value="f">A=4 | Bassani and Picard (1969) 24 < E < 31, A = 90 </option>
|
||||||
</select>
|
</select>
|
||||||
<td>
|
<td>
|
||||||
</tr>
|
</tr>
|
||||||
|
@ -148,29 +148,29 @@ Max Ex: <input type="text" id="maxEx" size="5" value="5"/>MeV
|
||||||
<td>Outgoing Channel</td>
|
<td>Outgoing Channel</td>
|
||||||
<td>
|
<td>
|
||||||
<select name="op2">
|
<select name="op2">
|
||||||
<option value="A">D | An & Cai (2006) E < 183 | 12 < A < 238</option>
|
<option value="A">D | An & Cai (2006) E < 183, 12 < A < 238</option>
|
||||||
<option value="H">D | Han, Shi, & Shen (2006) E < 200 | 12 < A < 209</option>
|
<option value="H">D | Han, Shi, & Shen (2006) E < 200, 12 < A < 209</option>
|
||||||
<option value="B">D | Bojowald et al. (1988) 50 < E < 80 | 27 < A < 208</option>
|
<option value="B">D | Bojowald et al. (1988) 50 < E < 80, 27 < A < 208</option>
|
||||||
<option value="D">D | Daehnick, Childs, Vrcelj (1980) 11.8 < E < 80 | 27 < A < 238 (REL) </option>
|
<option value="D">D | Daehnick, Childs, Vrcelj (1980) 11.8 < E < 80, 27 < A < 238 (REL) </option>
|
||||||
<option value="C">D | Daehnick, Childs, Vrcelj (1980) 11.8 < E < 80 | 27 < A < 238 (NON-REL) </option>
|
<option value="C">D | Daehnick, Childs, Vrcelj (1980) 11.8 < E < 80, 27 < A < 238 (NON-REL) </option>
|
||||||
<option value="L">D | Lohr and Haeberli (1974) 9 < E < 13 | 40 < A </option>
|
<option value="L">D | Lohr and Haeberli (1974) 9 < E < 13, 40 < A </option>
|
||||||
<option value="Q">D | Perey and Perey (1963) 12 < E < 25 | 40 < A </option>
|
<option value="Q">D | Perey and Perey (1963) 12 < E < 25, 40 < A </option>
|
||||||
<option value="Z">D | Zhang, Pang, Lou (2016) 5 < E < 170 | A < 18, spe 6-7Li </option>
|
<option value="Z">D | Zhang, Pang, Lou (2016) 5 < E < 170, A < 18, spe 6-7Li </option>
|
||||||
<option value="K" selected>P | Koning & Delaroche (2009) E < 200 | 24 < A < 209 | Iso.Dep.</option>
|
<option value="K" selected>P | Koning & Delaroche (2009) E < 200, 24 < A < 209, Iso.Dep.</option>
|
||||||
<option value="V">P | Varner et al. (1991) 16 < E < 65 | 4 < A < 209</option>
|
<option value="V">P | Varner et al. (1991) 16 < E < 65, 4 < A < 209</option>
|
||||||
<option value="M">P | Menet et al. (1971) 30 < E < 60 | 40 < A </option>
|
<option value="M">P | Menet et al. (1971) 30 < E < 60, 40 < A </option>
|
||||||
<option value="G">P | Becchetti and Greenlees (1969) E < 50 | 40 < A </option>
|
<option value="G">P | Becchetti and Greenlees (1969) E < 50, 40 < A </option>
|
||||||
<option value="P">P | Perey (1963) E < 20 | 30 < A < 100 </option>
|
<option value="P">P | Perey (1963) E < 20, 30 < A < 100 </option>
|
||||||
<option value="x">A=3 | Xu, Guo, Han, & Shen (2011) E < 250 | 20 < A < 209 </option>
|
<option value="x">A=3 | Xu, Guo, Han, & Shen (2011) E < 250, 20 < A < 209 </option>
|
||||||
<option value="l">A=3 | Liang, Li, & Cai (2009) E < 270 | All masses </option>
|
<option value="l">A=3 | Liang, Li, & Cai (2009) E < 270, All masses </option>
|
||||||
<option value="p">A=3 | Perey (1963) E < 20 | 30 < A < 100 | Iso. Dep. </option>
|
<option value="p">A=3 | Pang et al. (2009) all E | all masses, Iso. Dep. </option>
|
||||||
<option value="c">A=3 | Li, Liang, Cai (2007), E < 40 | 48 < A < 232 | Tritons </option>
|
<option value="c">A=3 | Li, Liang, Cai (2007), E < 40, 48 < A < 232, Tritons </option>
|
||||||
<option value="t">A=3 | Trost et al. (1987) 10 < E < 220 | 10 < A < 208 </option>
|
<option value="t">A=3 | Trost et al. (1987) 10 < E < 220, 10 < A < 208 </option>
|
||||||
<option value="h">A=3 | Hyakutake et al. (1980) 90 < E < 120 | About 58 < A < 92 </option>
|
<option value="h">A=3 | Hyakutake et al. (1980) 90 < E < 120, About 58 < A < 92 </option>
|
||||||
<option value="b">A=3 | Becchetti and Greenlees (1971), E < 40 | 40 < A | Iso. Dep. </option>
|
<option value="b">A=3 | Becchetti and Greenlees (1971), E < 40, 40 < A, Iso. Dep. </option>
|
||||||
<option value="s">A=4 | Su & Han (2015) E < 398 | 20 < A < 209 </option>
|
<option value="s">A=4 | Su & Han (2015) E < 398, 20 < A < 209 </option>
|
||||||
<option value="a">A=4 | Avrigeanu et al. (2009) </option>
|
<option value="a">A=4 | Avrigeanu et al. (2009) </option>
|
||||||
<option value="f">A=4 | Bassani and Picard (1969) 24 < E < 31 | A = 90 </option>
|
<option value="f">A=4 | Bassani and Picard (1969) 24 < E < 31, A = 90 </option>
|
||||||
</select>
|
</select>
|
||||||
<td>
|
<td>
|
||||||
</tr>
|
</tr>
|
||||||
|
@ -417,7 +417,7 @@ function addStates(){
|
||||||
|
|
||||||
client.addEventListener('loadstart',
|
client.addEventListener('loadstart',
|
||||||
function(e){
|
function(e){
|
||||||
document.getElementById('waiting').innerHTML = "wait....retrieving data..";
|
document.getElementById('waiting').innerHTML = "wait....retrieving data from IAEA..";
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -427,7 +427,8 @@ function addStates(){
|
||||||
//console.log(result);
|
//console.log(result);
|
||||||
|
|
||||||
document.getElementById('waiting').innerHTML = "";
|
document.getElementById('waiting').innerHTML = "";
|
||||||
|
let count = 0;
|
||||||
|
|
||||||
for( let i = 0; i < result.length; i++){
|
for( let i = 0; i < result.length; i++){
|
||||||
//console.log(i + ", " + result[i]);
|
//console.log(i + ", " + result[i]);
|
||||||
if( i < 17 ) continue;
|
if( i < 17 ) continue;
|
||||||
|
@ -447,7 +448,7 @@ function addStates(){
|
||||||
if( (((parity) & 1) != 1) && jpi.slice(-1) == "+" ) continue;
|
if( (((parity) & 1) != 1) && jpi.slice(-1) == "+" ) continue;
|
||||||
if( (((parity >> 1) & 1) != 1) && jpi.slice(-1) == "-" ) continue;
|
if( (((parity >> 1) & 1) != 1) && jpi.slice(-1) == "-" ) continue;
|
||||||
|
|
||||||
|
count ++;
|
||||||
nRow = table.rows.length;
|
nRow = table.rows.length;
|
||||||
let row = table.insertRow(nRow-1);
|
let row = table.insertRow(nRow-1);
|
||||||
row.innerHTML = '<td><input type="text" name="Ex" size="5" value="' + ex.toFixed(3) + '"/></td> \
|
row.innerHTML = '<td><input type="text" name="Ex" size="5" value="' + ex.toFixed(3) + '"/></td> \
|
||||||
|
@ -455,6 +456,9 @@ function addStates(){
|
||||||
<td><input type="text" name="Orb" size="6" /></td>';
|
<td><input type="text" name="Orb" size="6" /></td>';
|
||||||
|
|
||||||
}
|
}
|
||||||
|
if( count == 0 ){
|
||||||
|
document.getElementById('waiting').innerHTML = "no states found.";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user