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...")
 
Line 4: Line 4:
 
==Syntax==
 
==Syntax==
  
−
     function call string
+
     verdict=iselectron(spin_spec)
  
 
==Arguments==
 
==Arguments==
  
−
     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.
+
[[Kernel_utilities#Spin_system_editing|Spin system editing]]
  
  
−
''Version 2.11, authors: [[Author 1]]''
+
''Version 2.11, authors: [[Ilya Kuprov]]''

Revision as of 14:20, 17 May 2025

Returns true if the particle is an electron.

Syntax

    verdict=iselectron(spin_spec)

Arguments

    spin_spec - a Spinach particle specification

Outputs

    verdict - true for an electron, false otherwise

See also

Spin system editing


Version 2.11, authors: Ilya Kuprov