Difference between revisions of "Elexsys2deernet.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(→‎See also)
Line 4: Line 4:
 
==Syntax==
 
==Syntax==
  
−
     [deer_trace,time_axis]=elexsys2deernet(file)
+
     [deer_trace,time_axis]=elexsys2deernet(file,trunc,atrunc)
  
 
==Arguments==
 
==Arguments==
 
      
 
      
−
         file  - filename for the .DSC and .DTA Elexsys  
+
         file  - filename for the .DSC and .DTA Elexsys  
−
                  files, extension omitted.
+
                files, extension omitted
 +
 +
        trunc - optional, a vector of two integers, specifying
 +
                the number of points to be truncated from the
 +
                start and the end of the signal
 +
 +
        atrunc - optional; if set to false, disables automatic
 +
                left edge truncation at the maximum
  
 
==Outputs==
 
==Outputs==
  
−
    deer_trace - the real experimental DEER trace, as a column  
+
    deer_trace - DEER trace, a column vector
−
  vector.
 
 
   
 
   
−
    time_axis  - experimental time axis, as a column vector
+
    t ime_axis - time axis, a column vector (seconds)
−
  in microseconds.
 
−
 
 
−
==Notes==
 
−
DEERNet has no internal phasing - the signal must be phased into pure absorption.
 
  
 
==See also==
 
==See also==

Revision as of 15:21, 28 July 2023

Convert Bruker Elexsys data sets into DeerNet input format. Adapted from DeerAnalysis package. The DEER signal is read from the .DTA file and the time axis is reconstructed using parameters read from the accompanying .DSC file. The DEER signal is trimmed to ensure that the maximum occurs at t=0.

Syntax

    [deer_trace,time_axis]=elexsys2deernet(file,trunc,atrunc)

Arguments

        file  - filename for the .DSC and .DTA Elexsys 
                files, extension omitted

        trunc - optional, a vector of two integers, specifying
                the number of points to be truncated from the 
                start and the end of the signal

       atrunc - optional; if set to false, disables automatic
                left edge truncation at the maximum

Outputs

   deer_trace - DEER trace, a column vector

   t ime_axis - time axis, a column vector (seconds)

See also

Neural network module

DEER/PELDOR experiments


Version 2.5, authors: Ilya Kuprov, Steve Worswick, Gunnar Jeschke