Changeset 4571 for trunk/GSASIIpwd.py
- Timestamp:
- Sep 17, 2020 3:50:24 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIpwd.py
r4536 r4571 237 237 238 238 """ 239 cazm = npcosd(Azm) 240 sazm = npsind(Azm) 241 pola = ((1.0-Pola)*cazm**2+Pola*npsind(Azm)**2)*npcosd(Tth)**2+ \ 242 (1.0-Pola)*sazm**2+Pola*cazm**2 243 dpdPola = -npsind(Tth)**2*(sazm**2-cazm**2) 239 cazm = npcosd(Azm)**2 240 sazm = npsind(Azm)**2 241 pola = ((1.0-Pola)*cazm+Pola*sazm)*npcosd(Tth)**2+(1.0-Pola)*sazm+Pola*cazm 242 dpdPola = -npsind(Tth)**2*(sazm-cazm) 244 243 return pola,dpdPola 245 244
Note: See TracChangeset
for help on using the changeset viewer.