Changeset 0db85af in sasmodels
- Timestamp:
- Oct 28, 2017 7:33:21 PM (7 years ago)
- Branches:
- master, core_shell_microgels, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
- Children:
- dd4d95d
- Parents:
- 3d40839
- git-author:
- Paul Kienzle <pkienzle@…> (10/28/17 19:33:05)
- git-committer:
- Paul Kienzle <pkienzle@…> (10/28/17 19:33:21)
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/guide/resolution.rst
r1f058ea r0db85af 209 209 $x'_0 = x_0 \cos(\theta) + y_0 \sin(\theta)$ and 210 210 $y'_0 = -x_0 \sin(\theta) + y_0 \cos(\theta)$. 211 Note that the rotation angle is zero for a $x$ \ -\$y$ symmetric211 Note that the rotation angle is zero for a $x$-$y$ symmetric 212 212 elliptical Gaussian distribution. The $A$ is a normalization factor. 213 213 … … 233 233 234 234 Since the weighting factor on each of the bins is known, it is convenient to 235 transform $x'$ \ -\ $y'$ back to $x$\ -\$y$ coordinates (by rotating it235 transform $x'$-$y'$ back to $x$-$y$ coordinates (by rotating it 236 236 by $-\theta$ around the $z$\ -axis). 237 237 … … 254 254 y'_0 &= 0 255 255 256 while for a $x$ \ -\$y$ symmetric smear256 while for a $x$-$y$ symmetric smear 257 257 258 258 .. math:: -
explore/jitter.py
rb9578fc r0db85af 496 496 # the maximum width to 90. 497 497 dlimit = 30 if dist == 'gaussian' else 90/sqrt(3) 498 sdtheta = Slider(axdtheta, 'dTheta', 0, dlimit, valinit=dtheta)498 sdtheta = Slider(axdtheta, 'dTheta', 0, 2*dlimit, valinit=dtheta) 499 499 sdphi = Slider(axdphi, 'dPhi', 0, 2*dlimit, valinit=dphi) 500 500 sdpsi = Slider(axdpsi, 'dPsi', 0, 2*dlimit, valinit=dpsi) … … 512 512 draw_jitter(ax, view, jitter, dist=dist, size=size) 513 513 #draw_jitter(ax, view, (0,0,0)) 514 draw_mesh(ax, view, jitter, dist=dist )514 draw_mesh(ax, view, jitter, dist=dist, n=30) 515 515 draw_scattering(calculator, ax, view, jitter, dist=dist) 516 516 plt.gcf().canvas.draw() -
sasmodels/rst2html.py
r870a2f4 r0db85af 104 104 105 105 106 _dollar = re.compile(r"(?:^|(?<=\s|[ (]))[$]([^\n]*?)(?<![\\])[$](?:$|(?=\s|[.,;)\\]))")106 _dollar = re.compile(r"(?:^|(?<=\s|[-(]))[$]([^\n]*?)(?<![\\])[$](?:$|(?=\s|[-.,;)\\]))") 107 107 _notdollar = re.compile(r"\\[$]") 108 108 def replace_dollar(content): … … 248 248 if __name__ == "__main__": 249 249 import sys 250 view_help(sys.argv[1], qt= True)251 250 view_help(sys.argv[1], qt=False) 251 -
sasmodels/weights.py
r3c24ccd r0db85af 81 81 class GaussianDispersion(Dispersion): 82 82 r""" 83 Gaussian dispersion, with 1- \$\sigma$ width.83 Gaussian dispersion, with 1-$\sigma$ width. 84 84 85 85 .. math:: … … 116 116 class LogNormalDispersion(Dispersion): 117 117 r""" 118 log Gaussian dispersion, with 1- \$\sigma$ width.118 log Gaussian dispersion, with 1-$\sigma$ width. 119 119 120 120 .. math:: … … 134 134 class SchulzDispersion(Dispersion): 135 135 r""" 136 Schultz dispersion, with 1- \$\sigma$ width.136 Schultz dispersion, with 1-$\sigma$ width. 137 137 138 138 .. math::
Note: See TracChangeset
for help on using the changeset viewer.