<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 Tom,</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 tried logging in to HDiceNMR2 and it was available, so I just went a head and made the update.</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);">
As always, the latest version is the one on the hdice user desktop under "fsNMR - LATEST".</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);">
The new version tries the Gaussian peak fit and if the result is NaN (as in the peak fit doesn't work), the program just uses the absolute maximum of the background amplitude for instead of the Gaussian fit.</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> dsg-hdice <dsg-hdice-bounces@jlab.org> on behalf of Tyler Lemon <tlemon@jlab.org><br>
<b>Sent:</b> Thursday, October 29, 2020 8:32 AM<br>
<b>To:</b> thomaso@jlab.org <thomaso@jlab.org><br>
<b>Cc:</b> dsg-hdice@jlab.org <dsg-hdice@jlab.org><br>
<b>Subject:</b> Re: [dsg-hdice] fsNMR program broken when using background files</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 Tom,</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)">
8:30 - 9:30 is fine. I can log on now if the PC is available.</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 was able to make the change a head of time using previous runs' data, so I don't expect it to take too long to add the new code.</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="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> thomaso@jlab.org <thomaso@jlab.org><br>
<b>Sent:</b> Wednesday, October 28, 2020 5:58 PM<br>
<b>To:</b> Tyler Lemon <tlemon@jlab.org><br>
<b>Cc:</b> thomaso@jlab.org <thomaso@jlab.org>; dsg-hdice@jlab.org <dsg-hdice@jlab.org><br>
<b>Subject:</b> Re: [dsg-hdice] fsNMR program broken when using background files</font>
<div> </div>
</div>
<div class="x_BodyFragment"><font size="2"><span style="font-size:11pt">
<div class="x_PlainText">Hi Tyler,<br>
<br>
I spoke to Xiangdong to figure out a time when we don't need control of<br>
HDiceNMR2. Would you be free tomorrow morning to take a look at the<br>
program between 8:30AM and 9:30AM?<br>
<br>
That small time window is after we complete a full night scan and before<br>
the beam is brought back up for Run 2.<br>
<br>
Let us know if that time frame works for you tomorrow. If not we'll try<br>
to figure out another.<br>
<br>
Thanks,<br>
Tom<br>
<br>
<br>
<br>
> Hi Tom,<br>
><br>
> Thanks for the info.<br>
><br>
> I have a morning and early afternoon filled with BlueJeans meets, so I'll<br>
> plan to take a look on one of the HDice PCs around 3:00PM.<br>
><br>
> I have a few data sets from fsNMR runs saved locally on one of DSG's PCs<br>
> so in the mean time between meetings, I'll look through those data sets to<br>
> see if there's a set that doesn't have a peak and use that to start<br>
> offline development of the fix.<br>
><br>
> Thanks,<br>
> Tyler<br>
> ________________________________<br>
> From: thomaso@jlab.org <thomaso@jlab.org><br>
> Sent: Wednesday, October 28, 2020 9:46 AM<br>
> To: Tyler Lemon <tlemon@jlab.org><br>
> Cc: thomaso@jlab.org <thomaso@jlab.org>; dsg-hdice@jlab.org<br>
> <dsg-hdice@jlab.org><br>
> Subject: Re: [dsg-hdice] fsNMR program broken when using background files<br>
><br>
> Hi Tyler,<br>
><br>
> Yes, use the overall maximum value for the background scaling. I forgot<br>
> to mention that. If you are ready now, we can log off the NMR PC so you<br>
> can check it out. Let me know when you would like to start.<br>
><br>
> Thanks,<br>
> Tom<br>
><br>
>> Hi Tom,<br>
>><br>
>> In the cases where there is no peak in the background data, how should<br>
>> the<br>
>> program handle it?<br>
>><br>
>> Should it just use the overall maximum value in the background scaling?<br>
>><br>
>> Tyler<br>
>> ________________________________<br>
>> From: dsg-hdice <dsg-hdice-bounces@jlab.org> on behalf of<br>
>> thomaso@jlab.org<br>
>> <thomaso@jlab.org><br>
>> Sent: Tuesday, October 27, 2020 5:24 PM<br>
>> To: dsg-hdice@jlab.org <dsg-hdice@jlab.org><br>
>> Subject: [dsg-hdice] fsNMR program broken when using background files<br>
>><br>
>> Hi Tyler,<br>
>><br>
>> Xiangdong and I confirmed the new 50 Ohm / 1 MOhm switch you added<br>
>> worked<br>
>> fine.<br>
>><br>
>> However, we ran into a new issue with the fsNMR program. We took a set<br>
>> of<br>
>> sweeps for our background without issue. The problem arises when we<br>
>> select a previous background scan to use for subtraction during the<br>
>> signal<br>
>> scan.<br>
>><br>
>> Normally the program looks for the peak value of the background curve as<br>
>> a<br>
>> step in the background normalization/subtraction process.<br>
>><br>
>> In our case, we are looking for the signal in part of the curve. There<br>
>> is<br>
>> no peak in the region we are scanning. As a result, the program is<br>
>> unable<br>
>> to calculate values for R, X, and Y. The frequency column is fine since<br>
>> those values are not manipulated. The phase column is fine due to that<br>
>> being a straight subtraction between the two phase values (no<br>
>> normalization used).<br>
>><br>
>> Could you please investigate this issue as soon as you can? We can give<br>
>> you access to the PC anytime you need, just let us know.<br>
>><br>
>> Thanks,<br>
>> Tom<br>
>><br>
>> _______________________________________________<br>
>> dsg-hdice mailing list<br>
>> dsg-hdice@jlab.org<br>
>> <a href="https://mailman.jlab.org/mailman/listinfo/dsg-hdice">https://mailman.jlab.org/mailman/listinfo/dsg-hdice</a><br>
>><br>
><br>
><br>
><br>
<br>
<br>
</div>
</span></font></div>
</div>
</body>
</html>