Changeset 267:7ae7761f73ec for source/class
- Timestamp:
- Aug 7, 2011, 12:49:02 PM (13 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
source/class/pf/Plasma.js
r227 r267 123 123 }, 124 124 125 get QsHwhm: function(s)125 getDelta0: function(s) 126 126 { 127 127 var n_u = this.n_u; … … 129 129 var Z_core = this.r.getQ() + 1; 130 130 var ef = s.getHoltsmarkField(); 131 132 return 3/2*(n_u*n_u - n_l*n_l)/Z_core*ef; 133 }, 134 135 getQsHwhm: function(s) 136 { 137 var n_u = this.n_u; 138 var n_l = this.n_l; 139 131 140 var ppi = this.getPpiFactor(s); 132 141 var rpi = this.getRpiFactor(s); 133 142 134 143 // 1.4385 is S_1 HWHM 135 var hwhm = 1.4385* 3/2*(n_u*n_u - n_l*n_l)/Z_core*ef*ppi*rpi;144 var hwhm = 1.4385*this.getDelta0(s)*ppi*rpi; 136 145 137 146 // rude correction for alpha lines
Note: See TracChangeset
for help on using the changeset viewer.