Difference between revisions of "Elexsys2deernet.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(→‎Arguments)
(Update function See also links and function index membership)
 
(7 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
==Syntax==
 
==Syntax==
  
−
     [deer_trace,time_axis]=elexsys2deernet(file)
+
     [deer_trace,time_axis]=elexsys2deernet(file,trunc,atrunc)
  
−
==Arguments==
+
==Parameters==
 
      
 
      
−
         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==
 
−
The *.DSC and *.DTA files must both be available in the MATLAB path.
 
  
 
==See also==
 
==See also==
−
[[deer_resample.m]], [[deernet.m]]
+
[[deer_lib_gen.m]], [[deernet.m]], [[dist_range.m]], [[process_using.m]], [[train_one_net.m]], [[Neural network module]], [[Built-in_experiments]]
−
 
 
  
−
''Version 2.2, authors: [[Ilya Kuprov]], [[Steve Worswick]], [[Gunnar Jeschke]]''
+
''Version 2.8, authors: [[Ilya Kuprov]], [[Steve Worswick]], [[Gunnar Jeschke]], [[Jake Keeley]], [[Tajwar Choudhury]]''

Latest revision as of 19:36, 6 June 2026

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)

Parameters

        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

deer_lib_gen.m, deernet.m, dist_range.m, process_using.m, train_one_net.m, Neural network module, Built-in_experiments

Version 2.8, authors: Ilya Kuprov, Steve Worswick, Gunnar Jeschke, Jake Keeley, Tajwar Choudhury