Skip to content
Snippets Groups Projects
Commit 10f88873 authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

FFCatalog: show results for tilted spheroid

parent af0dac72
No related branches found
No related tags found
No related merge requests found
No preview for this file type
......@@ -1029,11 +1029,11 @@ Results:
\begin{figure}[H]
\begin{center}
\includefinal{.5\TW}{fig/ff2/ff_FullSpheroid.pdf}
\includefinal{1\TW}{fig/ff2/ff_FullSpheroid.pdf}
\end{center}
\caption{Normalized intensity $|F|^2/V^2$,
computed with $R=3.5$~nm and $H=9.8$~nm.}
% changes very little under tilt !
computed with $R=3.5$~nm and $H=9.8$~nm,
for four different tilt angles~$\vartheta$ (rotation around the $y$ axis).}
\end{figure}
\paragraph{History and Derivation}\strut\\
......
No preview for this file type
File deleted
......@@ -6,11 +6,14 @@ from bornagain import nanometer, degree
import bornplot as bp
det = bp.Detector( 200, 0, 5, 0, 5 )
n = 1
n = 4
results = []
for i in range(n):
ff = ba.FormFactorFullSpheroid(3.5*nanometer, 9.8*nanometer)
data = bp.run_simulation(det,ff)
results.append( bp.Result(i, data) )
theta=90*i/(n-1)
title = r'$\vartheta=%d^\circ$' % theta
ff = ba.FormFactorFullSpheroid(3*nanometer, 13*nanometer)
trafo = ba.RotationY(theta*degree)
data = bp.run_simulation(det,ff,trafo)
results.append( bp.Result(i, data, title) )
bp.make_plot( results, det, "ff_FullSpheroid" )
"""
Plot form factor.
"""
import bornagain as ba
from bornagain import nanometer, degree
import bornplot as bp
det = bp.Detector( 200, 0, 5, 0, 5 )
n = 4
results = []
for i in range(n):
theta=30*i/(n-1)
title = r'$\vartheta=%d^\circ$' % theta
ff = ba.FormFactorFullSpheroid(3*nanometer, 13*nanometer)
trafo = ba.RotationY(theta*degree)
data = bp.run_simulation(det,ff,trafo)
results.append( bp.Result(i, data, title) )
bp.make_plot( results, det, "ff_FullSpheroid_tilt" )
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment