<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hi Xiangdong,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Thanks for your reply.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I'll take a look and see how to implement the curve fitting for the background to get R<sub>0bkgd</sub>. We can also discuss it more in this week's DSG-HDice meeting.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
To be able to take a look at this and run the program, we'd need to be able to use an NMR rack with equipment connected. I know you are using Rack 2 and the PC HDICENMR2 to run tests currently. Are there any other PCs in racks with equipment connected?</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Tyler<br>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Xiangdong Wei <xwei@jlab.org><br>
<b>Sent:</b> Monday, August 17, 2020 5:21 PM<br>
<b>To:</b> Tyler Lemon <tlemon@jlab.org><br>
<b>Subject:</b> Re: fsNMR request - X and Y scaling calculation</font>
<div> </div>
</div>
<style type="text/css" style="display:none">
<!--
p
{margin-top:0;
margin-bottom:0}
-->
</style>
<div dir="ltr">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Hi Tyler,</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style=""><font color="#000000" face="Calibri, Arial, Helvetica, sans-serif"><span style="font-size:12pt">The equations are correct. The R</span></font><span style="color:rgb(0,0,0); font-family:Calibri,Arial,Helvetica,sans-serif; font-size:10pt">0bkgd</span><font color="#000000" face="Calibri, Arial, Helvetica, sans-serif"><span style="font-size:12pt">
is a little bit tricky to determine because the amplitude of the first measured point jumps around if the ending point amplitude is much differ from the starting point. I think, for
</span>practical<span style="font-size:12pt"> reason, we should ignore the first 10 points and then look for the maximum. (Since R is always positive, I assume that "absolute maximum" means the global max, if R has multiple peaks.)</span></font></div>
<div style=""><font color="#000000" face="Calibri, Arial, Helvetica, sans-serif"><span style="font-size:12pt"><br>
</span></font></div>
<div style=""><font color="#000000" face="Calibri, Arial, Helvetica, sans-serif"><span style="font-size:12pt">The R</span><span style="font-size:10pt">0</span><span style="font-size:12pt"> should be determined by fitting Gaussian Curve for 100 points around
maximum peak, or 3rd-order </span>polynomial<span style="font-size:12pt"> if monotonic (still skip the first 10 points).</span></font></div>
<div style=""><font color="#000000" face="Calibri, Arial, Helvetica, sans-serif"><span style="font-size:12pt"><br>
</span></font></div>
<div style=""><font color="#000000" face="Calibri, Arial, Helvetica, sans-serif"><span style="font-size:12pt">Thanks,</span></font></div>
<div style=""><font color="#000000" face="Calibri, Arial, Helvetica, sans-serif"><span style="font-size:12pt"><br>
</span></font></div>
<div style=""><font color="#000000" face="Calibri, Arial, Helvetica, sans-serif"><span style="font-size:12pt">Xiangdong</span></font></div>
<div id="x_appendonsend"></div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> dsg-hdice <dsg-hdice-bounces@jlab.org> on behalf of Tyler Lemon <tlemon@jlab.org><br>
<b>Sent:</b> Monday, August 17, 2020 11:08 AM<br>
<b>To:</b> dsg-hdice@jlab.org <dsg-hdice@jlab.org><br>
<b>Subject:</b> [dsg-hdice] fsNMR request - X and Y scaling calculation</font>
<div> </div>
</div>
<style type="text/css" style="display:none">
<!--
p
{margin-top:0;
margin-bottom:0}
-->
</style>
<div dir="ltr">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt"><br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt">Hi Xiangdong,</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt"><br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt">Below are the equations you sent us last week. I corrected them from the second email you sent. Can you verify that the equations and component definitions are correct? I made the equations
in LaTeX so they have the correct formatting so if you can't see them or something, please let me know and I can resend them.</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt"><br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt"><img size="42794" tabindex="-1" style="max-width:100%" data-outlook-trace="F:3|T:3" src="cid:e8fb2899-fbd8-45fa-befc-bfd4145f8bae"><br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt"></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt"><br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt">I also have some questions on what you're requesting:</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt">
<ol>
<li>Do you want to completely remove the acquisition of X and Y from the fsNMR program when scaling and replace it with calculated X and Y using the formulas?</li><li>If #1 is correct, shouldn't the non-scaled data acquisition also be changed to calculate X and Y rather than acquiring it from the lock-in amplifier?</li></ol>
<div>-Tyler</div>
</div>
<br>
</div>
</div>
</div>
</body>
</html>