Difference between revisions of "Iselectron.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Created page with "{{DISPLAYTITLE:iselectron.m}} __NOTOC__ Returns true if the particle is an electron. ==Syntax== function call string ==Arguments== argument - description of...")
 
(Update function See also links and function index membership)
 
(3 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
==Syntax==
 
==Syntax==
  
−
     function call string
+
     verdict=iselectron(spin_spec)
  
−
==Arguments==
+
==Parameters==
  
−
     argument      - description of the argument
+
     spin_spec - a Spinach particle specification
−
 
−
    argument      - description of the argument
 
−
                    description of the argument
 
  
 
==Outputs==
 
==Outputs==
  
−
     output  - description of the output
+
     verdict - true for an electron, false otherwise
−
 
−
    output  - description of the output
 
−
              description of the output
 
−
 
 
−
==Examples==
 
−
A description of what is done in the example below:
 
−
 
 
−
    % Comment
 
−
    matlab code
 
−
 
−
    % Comment
 
−
    matlab code
 
−
 
 
−
==Notes==
 
−
Further notes on good and bad practices.
 
  
 
==See also==
 
==See also==
−
Links to related functions and documentation sections.
+
[[chemshifts.m]], [[cubic_lattice.m]], [[dilute.m]], [[get_coupling.m]], [[gtensorof.m]], [[idxof.m]], [[isnucleus.m]], [[isoswap.m]], [[kill_spin.m]], [[nearest_spin.m]], [[shift_iso.m]], [[Kernel_utilities]]
−
 
 
  
−
''Version 2.11, authors: [[Author 1]]''
+
''Version 2.11, authors: [[Ilya Kuprov]]''

Latest revision as of 18:38, 6 June 2026

Returns true if the particle is an electron.

Syntax

    verdict=iselectron(spin_spec)

Parameters

    spin_spec - a Spinach particle specification

Outputs

    verdict - true for an electron, false otherwise

See also

chemshifts.m, cubic_lattice.m, dilute.m, get_coupling.m, gtensorof.m, idxof.m, isnucleus.m, isoswap.m, kill_spin.m, nearest_spin.m, shift_iso.m, Kernel_utilities

Version 2.11, authors: Ilya Kuprov