On Wed, Aug 29, 2018 at 08:22:41AM -0700, Onetooth302 wrote:
...
> If I explain about the graphs In the first post, the graph on the top in
> each figure shows the normalize S(Q) by fitting a polynomial. I followed
> the tutorial and could get those graph by applying "tuneconfig([t4,
> 'gr'])" commend.
Hi SeYoung,
You can display the legend for the normalized S(Q) plot as follows:
fig, ax = subplots(2)
tuneconfig([t4, 'gr'], axeslist=ax)
ax[0].legend()
The "normalize S(Q)" step performs polynomial fit which is done
for the F(Q) curve. In your "2-corrected" figure the blue line
is the raw F(Q), purple the polynomial fit and the black line is
their difference and the adjusted F(Q). The low-amplitude lines
are the initial S(Q) and the normalized S(Q) which is back-converted
from the adjusted F(Q).
...
> As you can see, when the bg scale is changed to* 1.43*, the normalize S(Q)
> graph looks unstable and fluctuating. (please see the figure '
> *2-corrected.jpeg*' in the first post)
The primary issue is that the sample and background intensities
are very close to each other. The increased "fluctuation" happens
because in step 3 the S(Q) is rescaled to the order of
<f(Q)^2> / <f(Q)>^2. When background-subtracted signal is
close to zero, the scaling factor has to be quite large
amplifying the high-Q noise. I suspect this is mostly a scaling
issue and the fluctuations in the black F(Q) lines would look
similar in the 1-corrected and 3-corrected plots if zoomed
along the y-axis.
The overall scale in F(Q) and G(r) data is not critical for their
physical meaning, but you want to make sure that the kapton signal
is filtered out from the F and G curves. I'd suggest to also
display S(Q) and F(Q) in tuneconfig and use the
"constant data scale" checkbox. At the right scale the
kapton-related features in F(Q) and S(Q) should be smaller,
but they would appear back for smaller and larger bgscale value.
fig, ax = subplots(2, 2)
tuneconfig([t4, 'sq', 'gr', 'fq'], axeslist=ax.flatten())
Hope this helps,
Pavol
--
Dr. Pavol Juhas
Computational Science Initiative
Brookhaven National Laboratory
P.O. Box 5000
Upton, NY 11973-5000