Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make equations in core shell sphere docs match the code #629

Merged
merged 1 commit into from
Feb 14, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Make equations in core shell sphere docs match the code. Refs #578
Paul Kienzle committed Jan 29, 2025
commit 3ca2032fbf67ce9896d4a5e969bbb1b1b3a96260
6 changes: 3 additions & 3 deletions sasmodels/models/core_shell_sphere.py
Original file line number Diff line number Diff line change
@@ -20,12 +20,12 @@

.. math::

F(q) = \frac{3}{V_s}\left[
F(q) = 3\left[
V_c(\rho_c-\rho_s)\frac{\sin(qr_c)-qr_c\cos(qr_c)}{(qr_c)^3} +
V_s(\rho_s-\rho_\text{solv})\frac{\sin(qr_s)-qr_s\cos(qr_s)}{(qr_s)^3}
V(\rho_s-\rho_\text{solv})\frac{\sin(qr_s)-qr_s\cos(qr_s)}{(qr_s)^3}
\right]

where $V_s$ is the volume of the whole particle, $V_c$ is the volume of the
$V$ is the volume of the whole particle, $V_c$ is the volume of the
core, $r_s$ = $radius$ + $thickness$ is the radius of the particle, $r_c$
is the radius of the core, $\rho_c$ is the scattering length density of the
core, $\rho_s$ is the scattering length density of the shell,