<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to tutorial</title><link>https://sourceforge.net/p/difrate/wiki/tutorial/</link><description>Recent changes to tutorial</description><atom:link href="https://sourceforge.net/p/difrate/wiki/tutorial/feed" rel="self"/><language>en</language><lastBuildDate>Fri, 10 Nov 2017 13:31:00 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/difrate/wiki/tutorial/feed" rel="self" type="application/rss+xml"/><item><title>tutorial modified by A. Smith</title><link>https://sourceforge.net/p/difrate/wiki/tutorial/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v8
+++ v9
@@ -1,4 +1,5 @@
 #DIFRATE detector optimization tutorial
+*Note that included with the DIFRATE software is a file ‘tutorial.m’ that helps set up detector analysis of the Ubiquitin data as shown in the JCP paper. This can be used in conjuction with the tutorial guidelines given here.*

 Now that one sees the functions of the [detector_opt](/p/difrate/wiki/detector_opt) program, we give a short tutorial for usage. We start by generating a set of experiments and running the ‘detector_opt’ program using the following commands:

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">A. Smith</dc:creator><pubDate>Fri, 10 Nov 2017 13:31:00 -0000</pubDate><guid>https://sourceforge.net93f63fc1c4f585cc7abcba4d6e4e1c84f66fe36f</guid></item><item><title>tutorial modified by A. Smith</title><link>https://sourceforge.net/p/difrate/wiki/tutorial/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v7
+++ v8
@@ -32,4 +32,4 @@

 5) Output detection vectors. To get the detection vectors from the [detector_opt](/p/difrate/wiki/detector_opt) program, one types a variable name into the ‘output’ field of the sensitivity window, which will then write a structure variable to the workspace (with the given name). This may be later used in the [fit_data](/p/difrate/wiki/fit_data) function. Note that one may output different sets of detection vectors, stored under different variable names, and try these to see fit performance (for example, one may try different numbers of detection vectors, to evaluate fit quality).

-6) Further notes: although [detector_opt](/p/difrate/wiki/detector_opt) is designed to simplify detector optimization, some experimentation may be required. One should be able to obtain good fits of the experimental data in most cases, with well-separated and non-negative detectors. One typically should use two detectors for two or more *R*&lt;sub&gt;1&lt;/sub&gt; measurements (in some cases, 3 if more than 1/2 an order of magnitude is spanned by the B0 field strength), 2-3 detectors for several *R*&lt;sub&gt;1*ρ*&lt;/sub&gt; measurements (3 if |*ω&lt;sub&gt;r&amp;lt;\sub&amp;gt;–ω*&lt;sub&gt;1&lt;/sub&gt;| spans an order of magnitude, 2 if only ~1/2 an order of magnitude), one detector for one or more *R*&lt;sub&gt;2&lt;/sub&gt; measurements. With data sets that have many of the same type of measurement (but under different conditions), it can be difficult to optimally place all detectors to yield both separated, non-negative detectors and good fits. It can be helpful to get detector positions as near as possible to where the experiments are most sensitive, which is indicated by the colors of the correlation time axis on each plot.
+6) Further notes: although [detector_opt](/p/difrate/wiki/detector_opt) is designed to simplify detector optimization, some experimentation may be required. One should be able to obtain good fits of the experimental data in most cases, with well-separated and non-negative detectors. One typically should use two detectors for two or more *R*&lt;sub&gt;1&lt;/sub&gt; measurements (in some cases, 3 if more than 1/2 an order of magnitude is spanned by the B&lt;sub&gt;0&lt;/sub&gt; field strength), 2-3 detectors for several *R*&lt;sub&gt;1*ρ*&lt;/sub&gt; measurements (3 if |*ω&lt;sub&gt;r&lt;/sub&gt;–ω*&lt;sub&gt;1&lt;/sub&gt;| spans an order of magnitude, 2 if only ~1/2 an order of magnitude), one detector for one or more *R*&lt;sub&gt;2&lt;/sub&gt; measurements. With data sets that have many of the same type of measurement (but under different conditions), it can be difficult to optimally place all detectors to yield both separated, non-negative detectors and good fits. It can be helpful to get detector positions as near as possible to where the experiments are most sensitive, which is indicated by the colors of the correlation time axis on each plot.
&lt;/sub&gt;&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">A. Smith</dc:creator><pubDate>Tue, 07 Nov 2017 14:35:08 -0000</pubDate><guid>https://sourceforge.netfc1c1861a8efd05d9ef4cec242af9b86104ea5c1</guid></item><item><title>tutorial modified by A. Smith</title><link>https://sourceforge.net/p/difrate/wiki/tutorial/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v6
+++ v7
@@ -32,4 +32,4 @@

 5) Output detection vectors. To get the detection vectors from the [detector_opt](/p/difrate/wiki/detector_opt) program, one types a variable name into the ‘output’ field of the sensitivity window, which will then write a structure variable to the workspace (with the given name). This may be later used in the [fit_data](/p/difrate/wiki/fit_data) function. Note that one may output different sets of detection vectors, stored under different variable names, and try these to see fit performance (for example, one may try different numbers of detection vectors, to evaluate fit quality).

-6) Further notes: although [detector_opt](/p/difrate/wiki/detector_opt) is designed to simplify detector optimization, some experimentation may be required. One should be able to obtain good fits of the experimental data in most cases, with well-separated and non-negative detectors. One typically should use two detectors for two or more *R*&lt;sub&gt;1&lt;/sub&gt; measurements (in some cases, 3 if more than 1/2 an order of magnitude is spanned by the B0 field strength), 2-3 detectors for several *R*&lt;sub&gt;1*ρ*&lt;/sub&gt; measurements (3 if |*ω&lt;sub&gt;r&amp;lt;\sub&amp;gt;–ω*&lt;sub&gt;1&lt;/sub&gt;| spans an order of magnitude, 2 if only ~1/2 an order of magnitude), one detector for one or more *R*&lt;sub&gt;2&amp;lt;\sub&amp;gt; measurements. With data sets that have many of the same type of measurement (but under different conditions), it can be difficult to optimally place all detectors to yield both separated, non-negative detectors and good fits. It can be helpful to get detector positions as near as possible to where the experiments are most sensitive, which is indicated by the colors of the correlation time axis on each plot.
+6) Further notes: although [detector_opt](/p/difrate/wiki/detector_opt) is designed to simplify detector optimization, some experimentation may be required. One should be able to obtain good fits of the experimental data in most cases, with well-separated and non-negative detectors. One typically should use two detectors for two or more *R*&lt;sub&gt;1&lt;/sub&gt; measurements (in some cases, 3 if more than 1/2 an order of magnitude is spanned by the B0 field strength), 2-3 detectors for several *R*&lt;sub&gt;1*ρ*&lt;/sub&gt; measurements (3 if |*ω&lt;sub&gt;r&amp;lt;\sub&amp;gt;–ω*&lt;sub&gt;1&lt;/sub&gt;| spans an order of magnitude, 2 if only ~1/2 an order of magnitude), one detector for one or more *R*&lt;sub&gt;2&lt;/sub&gt; measurements. With data sets that have many of the same type of measurement (but under different conditions), it can be difficult to optimally place all detectors to yield both separated, non-negative detectors and good fits. It can be helpful to get detector positions as near as possible to where the experiments are most sensitive, which is indicated by the colors of the correlation time axis on each plot.
&lt;/sub&gt;&lt;/sub&gt;&lt;/sub&gt;&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">A. Smith</dc:creator><pubDate>Tue, 07 Nov 2017 12:01:14 -0000</pubDate><guid>https://sourceforge.net1a06ce5af826fcbb2a46200e97f465534af0bf4c</guid></item><item><title>tutorial modified by A. Smith</title><link>https://sourceforge.net/p/difrate/wiki/tutorial/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v5
+++ v6
@@ -27,3 +27,9 @@

 **Figure 5.**  DIFRATE sensitivity window after computer optimization, inclusion of *S*&lt;sup&gt;2&lt;/sup&gt;, and selection of normalization.
 ![Vector optimization](/p/difrate/wiki/tutorial/attachment/rates_final.pdf)
+
+4) Select normalization, include *S*&lt;sup&gt;2&lt;/sup&gt;. One should finally choose the normalization mode, and if *S*&lt;sup&gt;2&lt;/sup&gt; has been measured, then one should select the “Include S2” checkbox to include this in the eventual fit (see Figure 5). Note that these steps can be done at any point.
+
+5) Output detection vectors. To get the detection vectors from the [detector_opt](/p/difrate/wiki/detector_opt) program, one types a variable name into the ‘output’ field of the sensitivity window, which will then write a structure variable to the workspace (with the given name). This may be later used in the [fit_data](/p/difrate/wiki/fit_data) function. Note that one may output different sets of detection vectors, stored under different variable names, and try these to see fit performance (for example, one may try different numbers of detection vectors, to evaluate fit quality).
+
+6) Further notes: although [detector_opt](/p/difrate/wiki/detector_opt) is designed to simplify detector optimization, some experimentation may be required. One should be able to obtain good fits of the experimental data in most cases, with well-separated and non-negative detectors. One typically should use two detectors for two or more *R*&lt;sub&gt;1&lt;/sub&gt; measurements (in some cases, 3 if more than 1/2 an order of magnitude is spanned by the B0 field strength), 2-3 detectors for several *R*&lt;sub&gt;1*ρ*&lt;/sub&gt; measurements (3 if |*ω&lt;sub&gt;r&amp;lt;\sub&amp;gt;–ω*&lt;sub&gt;1&lt;/sub&gt;| spans an order of magnitude, 2 if only ~1/2 an order of magnitude), one detector for one or more *R*&lt;sub&gt;2&amp;lt;\sub&amp;gt; measurements. With data sets that have many of the same type of measurement (but under different conditions), it can be difficult to optimally place all detectors to yield both separated, non-negative detectors and good fits. It can be helpful to get detector positions as near as possible to where the experiments are most sensitive, which is indicated by the colors of the correlation time axis on each plot.
&lt;/sub&gt;&lt;/sub&gt;&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">A. Smith</dc:creator><pubDate>Tue, 07 Nov 2017 12:00:35 -0000</pubDate><guid>https://sourceforge.net8b2a6f818bc2f9f14d974eef021e3cae473bd9d8</guid></item><item><title>tutorial modified by A. Smith</title><link>https://sourceforge.net/p/difrate/wiki/tutorial/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v4
+++ v5
@@ -15,13 +15,13 @@
 1) Initial placement. Select the ‘lock to tc’ option in the spaces window. Place detectors at all sharp corners in the projections. This amounts to 4 detectors in this case (click ‘Add r’ after placing a detection vector to add a new vector). The result is shown in Figure 3. Note the detector positions shown with colored dots, and the black lines showing how well the detectors surround the space.

 **Figure 3.** DIFRATE spaces window after initial vector placement.
-![Vector placement](https://sourceforge.net/p/difrate/wiki/tutorial/attachment/space_lock_tc.pdf)
+![Vector placement](/p/difrate/wiki/tutorial/attachment/space_lock_tc.pdf)

 2) Optimize the placement. Typically, one should unselect ‘Lock to tc’ and check ‘Separ. Trans. &amp;amp; Long’. Here, we adjust the red and green detection vectors to better surround the full space. The resulting sensitivity window is shown in Figure 4. Note that some sensitivities are negative in places, and the sensitivity of the red and green detectors (2 detectors at short correlation times) are not very well separated.

 **Figure 4.**  DIFRATE sensitivity window after initial detector placement and manual optimization.
-![Vector optimization](https://sourceforge.net/p/difrate/wiki/tutorial/attachment/rates_manual.pdf)
+![Vector optimization](/p/difrate/wiki/tutorial/attachment/rates_manual.pdf)

 3) Computerized optimization. We now click the ‘Optimize’ button in the sensitivity window, yielding better separated and non-negative sensitivities (see Figure 5, bottom). Note that one may output the current set of detection vectors in the ‘output’ field, and if computerized optimization makes the detectors worse, one may then re-input the initial set of detection vectors.

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">A. Smith</dc:creator><pubDate>Tue, 07 Nov 2017 08:54:54 -0000</pubDate><guid>https://sourceforge.net2236b571b9c1f8c50a84af4ae450eacaa95341b6</guid></item><item><title>tutorial modified by A. Smith</title><link>https://sourceforge.net/p/difrate/wiki/tutorial/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v3
+++ v4
@@ -15,15 +15,15 @@
 1) Initial placement. Select the ‘lock to tc’ option in the spaces window. Place detectors at all sharp corners in the projections. This amounts to 4 detectors in this case (click ‘Add r’ after placing a detection vector to add a new vector). The result is shown in Figure 3. Note the detector positions shown with colored dots, and the black lines showing how well the detectors surround the space.

 **Figure 3.** DIFRATE spaces window after initial vector placement.
-![Vector placement](https://sourceforge.net/p/difrate/wiki/detector_opt/attachment/space_lock_tc.pdf)
+![Vector placement](https://sourceforge.net/p/difrate/wiki/tutorial/attachment/space_lock_tc.pdf)

 2) Optimize the placement. Typically, one should unselect ‘Lock to tc’ and check ‘Separ. Trans. &amp;amp; Long’. Here, we adjust the red and green detection vectors to better surround the full space. The resulting sensitivity window is shown in Figure 4. Note that some sensitivities are negative in places, and the sensitivity of the red and green detectors (2 detectors at short correlation times) are not very well separated.

 **Figure 4.**  DIFRATE sensitivity window after initial detector placement and manual optimization.
-![Vector optimization](https://sourceforge.net/p/difrate/wiki/detector_opt/attachment/rates_manual.pdf)
+![Vector optimization](https://sourceforge.net/p/difrate/wiki/tutorial/attachment/rates_manual.pdf)

 3) Computerized optimization. We now click the ‘Optimize’ button in the sensitivity window, yielding better separated and non-negative sensitivities (see Figure 5, bottom). Note that one may output the current set of detection vectors in the ‘output’ field, and if computerized optimization makes the detectors worse, one may then re-input the initial set of detection vectors.

 **Figure 5.**  DIFRATE sensitivity window after computer optimization, inclusion of *S*&lt;sup&gt;2&lt;/sup&gt;, and selection of normalization.
-![Vector optimization](https://sourceforge.net/p/difrate/wiki/detector_opt/attachment/rates_final.pdf)
+![Vector optimization](/p/difrate/wiki/tutorial/attachment/rates_final.pdf)
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">A. Smith</dc:creator><pubDate>Tue, 07 Nov 2017 08:54:32 -0000</pubDate><guid>https://sourceforge.netd34ec1c7fa31c83fc33d608da12da80ce93a7993</guid></item><item><title>tutorial modified by A. Smith</title><link>https://sourceforge.net/p/difrate/wiki/tutorial/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">A. Smith</dc:creator><pubDate>Tue, 07 Nov 2017 08:53:51 -0000</pubDate><guid>https://sourceforge.netaaab9d0896823aa70ee5555add5702a2cb59fb19</guid></item><item><title>tutorial modified by A. Smith</title><link>https://sourceforge.net/p/difrate/wiki/tutorial/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v1
+++ v2
@@ -13,4 +13,17 @@

 This will generate [Figure 1 and Figure 2](/p/difrate/wiki/detector_opt/) in MATLAB (or in the DIFRATE compiled software). One then takes the following steps:
 1) Initial placement. Select the ‘lock to tc’ option in the spaces window. Place detectors at all sharp corners in the projections. This amounts to 4 detectors in this case (click ‘Add r’ after placing a detection vector to add a new vector). The result is shown in Figure 3. Note the detector positions shown with colored dots, and the black lines showing how well the detectors surround the space.
+
 **Figure 3.** DIFRATE spaces window after initial vector placement.
+![Vector placement](https://sourceforge.net/p/difrate/wiki/detector_opt/attachment/space_lock_tc.pdf)
+
+
+2) Optimize the placement. Typically, one should unselect ‘Lock to tc’ and check ‘Separ. Trans. &amp;amp; Long’. Here, we adjust the red and green detection vectors to better surround the full space. The resulting sensitivity window is shown in Figure 4. Note that some sensitivities are negative in places, and the sensitivity of the red and green detectors (2 detectors at short correlation times) are not very well separated.
+
+**Figure 4.**  DIFRATE sensitivity window after initial detector placement and manual optimization.
+![Vector optimization](https://sourceforge.net/p/difrate/wiki/detector_opt/attachment/rates_manual.pdf)
+
+3) Computerized optimization. We now click the ‘Optimize’ button in the sensitivity window, yielding better separated and non-negative sensitivities (see Figure 5, bottom). Note that one may output the current set of detection vectors in the ‘output’ field, and if computerized optimization makes the detectors worse, one may then re-input the initial set of detection vectors.
+
+**Figure 5.**  DIFRATE sensitivity window after computer optimization, inclusion of *S*&lt;sup&gt;2&lt;/sup&gt;, and selection of normalization.
+![Vector optimization](https://sourceforge.net/p/difrate/wiki/detector_opt/attachment/rates_final.pdf)
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">A. Smith</dc:creator><pubDate>Tue, 07 Nov 2017 08:53:20 -0000</pubDate><guid>https://sourceforge.neta7e01854b17f33f2eda84d3c7507b434bd2a6a59</guid></item><item><title>tutorial modified by A. Smith</title><link>https://sourceforge.net/p/difrate/wiki/tutorial/</link><description>&lt;div class="markdown_content"&gt;&lt;h1 id="difrate-detector-optimization-tutorial"&gt;DIFRATE detector optimization tutorial&lt;/h1&gt;
&lt;p&gt;Now that one sees the functions of the &lt;a class="" href="/p/difrate/wiki/detector_opt"&gt;detector_opt&lt;/a&gt; program, we give a short tutorial for usage. We start by generating a set of experiments and running the ‘detector_opt’ program using the following commands:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;tc=logspace(-14,-3,200); %Generate correlation time vector
info.Nuc=’15N’; %Nucleus measured in all experiments
info.R1.v0=[400 600 850]; %B0 Field of R1 measurements (1H, MHz)
info.R1p.v0=[850 850]; %B0 Field of R1p measurements (1H, MHz)
info.R1p.vr=[60 60]; %MAS frequency for R1p (kHz)
info.R1p.v1=[10 50]; %B1 field strength for R1p (kHz)
rates=calc_rates(tc,info); %Calculate rate constants
detector_opt(rates) %Run the detector_opt program
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;This will generate &lt;a class="" href="/p/difrate/wiki/detector_opt/"&gt;Figure 1 and Figure 2&lt;/a&gt; in MATLAB (or in the DIFRATE compiled software). One then takes the following steps:&lt;br/&gt;
1) Initial placement. Select the ‘lock to tc’ option in the spaces window. Place detectors at all sharp corners in the projections. This amounts to 4 detectors in this case (click ‘Add r’ after placing a detection vector to add a new vector). The result is shown in Figure 3. Note the detector positions shown with colored dots, and the black lines showing how well the detectors surround the space.&lt;br/&gt;
&lt;strong&gt;Figure 3.&lt;/strong&gt; DIFRATE spaces window after initial vector placement.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">A. Smith</dc:creator><pubDate>Tue, 07 Nov 2017 08:48:36 -0000</pubDate><guid>https://sourceforge.netb2da5bf05c5d602118e9e7a19c8c8e1e94762426</guid></item></channel></rss>