InsertFields Syntax Error in FeynArts

  • Thread starter Thread starter Safinaz
  • Start date Start date
  • Tags Tags
    Error
Click For Summary
SUMMARY

The discussion centers on a syntax error encountered while using the InsertFields function in FeynArts. The user attempted to execute the command with the syntax $InsertFields[tops, V[2] -> {F[4, {3}], -F[4, {3}]}, Model ->{SM}], but received an error indicating incorrect syntax. A solution was proposed, emphasizing the importance of ensuring proper installation and loading of both FeynArts and FeynCalc using the commands $LoadFeynArts = True; and $LoadPhi = True; along with the FeynCalc package.

PREREQUISITES
  • FeynArts installation and usage
  • FeynCalc installation and usage
  • Understanding of Mathematica syntax
  • Basic knowledge of particle physics models, specifically the Standard Model (SM)
NEXT STEPS
  • Review FeynArts documentation for proper syntax and function usage
  • Learn about FeynCalc integration with FeynArts
  • Explore troubleshooting common FeynArts installation issues
  • Study examples of topology creation in FeynArts
USEFUL FOR

Particle physicists, researchers using FeynArts and FeynCalc, and anyone involved in high-energy physics simulations.

Safinaz
Messages
255
Reaction score
8
Hi,

I try to operate FeynArts, I installed by

<< FeynArts`

Then I typed

$ tops := CreateTopologies[1, 1 -> 2, ExcludeTopologies -> Internal];

$ InsertFields[tops, V[2] -> {F[4, {3}], -F[4, {3}]}, Model ->{SM}];

Here it gave an error

InsertFields::syntax: The syntax of InsertFields is InsertFields[tops, in -> out, options].

Any help to solve this,

S
 
Physics news on Phys.org
Hmm, it worked for me. Its possible its not installed properly.

Make sure that you're not getting an error when you load it. I have both feynarts and Feyncalc installed so I load it like this:

$LoadFeynArts = True;
$LoadPhi = True;
<< HighEnergyPhysics`FeynCalc`;
 

Similar threads

Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
2
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 6 ·
Replies
6
Views
4K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 5 ·
Replies
5
Views
3K