PyFeyn is hosted by Hepforge, IPPP Durham

Package pyfeyn :: Module hepnames
[hide private]
[frames] | no frames]

Module hepnames



Convenience interfaces between the hepnames LaTeX package and pyfeyn.

Functions [hide private]
  is_photon(name)
  is_gluon(name)
  is_weakboson(name)
  is_gauge(name)
  is_higgs(name)
  is_quark(name)
  is_lepton(name)
  is_quark_lepton(name)
  is_meson(name)
  is_baryon(name)
  is_hadron(name)
  is_ghost(name)
  hep_classify(name)
  hep_linestyle(name)

Variables [hide private]
  pions_dict = {'gpm': '\\Pgpm', 'pi+': '\\Pgpp', 'pimp': '\\Pgpmp'...
  hepnames_dict = {'gUc': '\\PgUc', 'gUb': '\\PgUb', 'gUa': '\\PgUa', ...
  etamesons_dict = {'cgh': '\\Pcgh', 'ghpr': '\\Pghpr', 'cghi': '\\Pcgh...
  omegamesons_dict = {'goi': '\\Pgoi', 'goa': '\\Pgoa', 'gob': '\\Pgob', ...
  rhomesons_dict = {'griii': '\\Pgriii', 'rhoplus': '\\Pgrp', 'gr': '\\...
  amesons_dict = {'hia': '\\Phia', 'ai': '\\Pai', 'bgcza': '\\Pbgcza'...
  fmesons_dict = {'fiv': '\\Pfiv', 'fiid': '\\Pfiid', 'fz': '\\Pfz', ...
  phimesons_dict = {'gf': '\\Pgf', 'phi': '\\Pgf', 'gfi': '\\Pgfi', 'gf...
  psimesons_dict = {'gyd': '\\Pgyd', 'gyc': '\\Pgyc', 'gyb': '\\Pgyb', ...
  Upsilonmesons_dict = {'gUc': '\\PgUc', 'gUb': '\\PgUb', 'gU': '\\PgU', 'U...
  Kaons_dict = {'KzS': '\\PKzS', 'Kstar': '\\PKst', 'Kst': '\\PKst'...
  Chi_cmesons_dict = {'cgc': '\\Pcgc', 'cgcii': '\\Pcgcii', 'cgci': '\\Pc...
  Dmesons_dict = {'Dsstar': '\\PsDst', 'APD0': '\\PaDz', 'Dplus': '\\...
  Bmesons_dict = {'auB': '\\PauB', 'APB0': '\\PaBz', 'Bminus': '\\PBm...
  mesons_dict = {'gUc': '\\PgUc', 'gUb': '\\PgUb', 'gUa': '\\PgUa', ...
  Nucleons_dict = {'antineutron': '\\Pan', 'APproton': '\\Pap', 'APneu...
  NucleonResonances_dict = {'Nh': '\\PNh', 'Ni': '\\PNi', 'Nj': '\\PNj', 'Nk': ...
  DeltaBaryons_dict = {'gDa': '\\PgDa', 'gDb': '\\PgDb', 'gD': '\\PgD', 'g...
  LambdaBaryons_dict = {'gLh': '\\PgLh', 'gLi': '\\PgLi', 'gLj': '\\PgLj', ...
  OmegaBaryons_dict = {'agO': '\\PagO', 'Omegaminus': '\\PgOm', 'antiOmega...
  SigmaBaryons_dict = {'gSp': '\\PgSp', 'Sigmamp': '\\PgSmp', 'antiSigma0'...
  XiBaryons_dict = {'agXz': '\\PagXz', 'antiXi0': '\\PagXz', 'agXp': '\...
  Baryons_dict = {'Nh': '\\PNh', 'Ni': '\\PNi', 'antineutron': '\\Pan...
  Hadrons_dict = {'gUc': '\\PgUc', 'gUb': '\\PgUb', 'gUa': '\\PgUa', ...
  Gluon_dict = {'gluon': '\\Pg', 'g': '\\Pg'}
  Photon_dict = {'gg': '\\Pgg', 'photon': '\\Pgg', 'gamma': '\\Pgg'}
  VectorBosons_dict = {'Zgy': '\\PZgy', 'Zpr': '\\PZpr', 'WR': '\\PWR', 'W...
  GaugeBosons_dict = {'Zgy': '\\PZgy', 'Wmp': '\\PWmp', 'W': '\\PW', 'Zpr...
  Axions_dict = {'Az': '\\PAz', 'axion': '\\PAz'}
  Higgses_dict = {'hz': '\\Phz', 'Higgslightzero': '\\Phz', 'Higgsps0...
  BasicBosons_dict = {'Zgy': '\\PZgy', 'Higgsheavy': '\\PH', 'Higgslightz...
  Leptons_dict = {'em': '\\Pem', 'leptonminus': '\\Plm', 'antinum': '...
  Quarks_dict = {'antistrange': '\\Paqs', 'aq': '\\Paq', 'APtruth': ...
  BasicFermions_dict = {'antitop': '\\Paqt', 'muon': '\\Pgmm', 'gt': '\\Pgt...
  AllFermions_dict = {'muon': '\\Pgmm', 'agXz': '\\PagXz', 'gt': '\\Pgt',...
  AllBosons_dict = {'gUc': '\\PgUc', 'gUb': '\\PgUb', 'gUa': '\\PgUa', ...
  MiscParticles_dict = {'Lmp': '\\PLmp', 'Lpm': '\\PLpm', 'Lz': '\\PLz', 'E...
  Ghost_dict = {'ghost': ''}
  SUSYparticles_dict = {'Higgsinopm': '\\PSHpm', 'SHiggsino+': '\\PSHp', 'a...

Function Details [hide private]

is_photon(name)

 
None

is_gluon(name)

 
None

is_weakboson(name)

 
None

is_gauge(name)

 
None

is_higgs(name)

 
None

is_quark(name)

 
None

is_lepton(name)

 
None

is_quark_lepton(name)

 
None

is_meson(name)

 
None

is_baryon(name)

 
None

is_hadron(name)

 
None

is_ghost(name)

 
None

hep_classify(name)

 
None

hep_linestyle(name)

 
None

Variables Details [hide private]

pions_dict

None
Value:
{'gp': '\\Pgp',
 'gpa': '\\Pgpa',
 'gpii': '\\Pgpii',
 'gpm': '\\Pgpm',
 'gpmp': '\\Pgpmp',
 'gpp': '\\Pgpp',
 'gppm': '\\Pgppm',
 'gpz': '\\Pgpz',
...                                                                    
      

hepnames_dict

None
Value:
{'auB': '\\PauB',
 'gUa': '\\PgUa',
 'gUb': '\\PgUb',
 'gUc': '\\PgUc',
 'gUe': '\\PgUe',
 'gUi': '\\PgUi',
 'gp': '\\Pgp',
 'gr': '\\Pgr',
...                                                                    
      

etamesons_dict

None
Value:
{'cgh': '\\Pcgh',
 'cghi': '\\Pcghi',
 'eta': '\\Pgh',
 'etac': '\\Pcgh',
 'etaprime': '\\Pghpr',
 'gh': '\\Pgh',
 'gha': '\\Pgha',
 'ghb': '\\Pghb',
...                                                                    
      

omegamesons_dict

None
Value:
{'go': '\\Pgo',
 'goa': '\\Pgoa',
 'gob': '\\Pgob',
 'goi': '\\Pgoi',
 'goiii': '\\Pgoiii',
 'omega': '\\Pgo'}                                                     
      

rhomesons_dict

None
Value:
{'gr': '\\Pgr',
 'gra': '\\Pgra',
 'grb': '\\Pgrb',
 'gri': '\\Pgri',
 'griii': '\\Pgriii',
 'grm': '\\Pgrm',
 'grmp': '\\Pgrmp',
 'grp': '\\Pgrp',
...                                                                    
      

amesons_dict

None
Value:
{'ai': '\\Pai',
 'aii': '\\Paii',
 'az': '\\Paz',
 'bgci': '\\Pbgci',
 'bgcia': '\\Pbgcia',
 'bgcii': '\\Pbgcii',
 'bgciia': '\\Pbgciia',
 'bgcz': '\\Pbgcz',
...                                                                    
      

fmesons_dict

None
Value:
{'fi': '\\Pfi',
 'fia': '\\Pfia',
 'fib': '\\Pfib',
 'fii': '\\Pfii',
 'fiia': '\\Pfiia',
 'fiib': '\\Pfiib',
 'fiic': '\\Pfiic',
 'fiid': '\\Pfiid',
...                                                                    
      

phimesons_dict

None
Value:
{'gf': '\\Pgf',
 'gfa': '\\Pgfa',
 'gfi': '\\Pgfi',
 'gfiii': '\\Pgfiii',
 'phi': '\\Pgf'}                                                       
      

psimesons_dict

None
Value:
{'Jgy': '\\PJgy',
 'Jgyi': '\\PJgyi',
 'Jpsi': '\\PJgy',
 'Jpsi(1S)': '\\PJgyi',
 'JpsiOneS': '\\PJgyi',
 'gy': '\\Pgy',
 'gya': '\\Pgya',
 'gyb': '\\Pgyb',
...                                                                    
      

Upsilonmesons_dict

None
Value:
{'Upsilon': '\\PgU',
 'Upsilon(1S)': '\\PgUi',
 'Upsilon(2S)': '\\PgUa',
 'Upsilon(3S)': '\\PgUb',
 'Upsilon(4S)': '\\PgUc',
 'UpsilonFourS': '\\PgUc',
 'UpsilonOneS': '\\PgUi',
 'UpsilonThreeS': '\\PgUb',
...                                                                    
      

Kaons_dict

None
Value:
{'APK': '\\PaKz',
 'APK0': '\\PaKz',
 'APKzero': '\\PaKz',
 'K': '\\PK',
 'K+': '\\PKp',
 'K-': '\\PKm',
 'K0': '\\PKz',
 'KL': '\\PKzL',
...                                                                    
      

Chi_cmesons_dict

None
Value:
{'cgc': '\\Pcgc', 'cgcii': '\\Pcgcii', 'cgci': '\\Pcgci', 'cgcz': '\\P
cgcz'}                                                                 
      

Dmesons_dict

None
Value:
{'APD': '\\PaD',
 'APD0': '\\PaDz',
 'APDzero': '\\PaDz',
 'D': '\\PD',
 'D+': '\\PDp',
 'D-': '\\PDm',
 'D0': '\\PDz',
 'Diz': '\\PDiz',
...                                                                    
      

Bmesons_dict

None
Value:
{'APB': '\\PaB',
 'APB0': '\\PaBz',
 'APBc': '\\PacB',
 'APBd': '\\PadB',
 'APBs': '\\PasB',
 'APBu': '\\PauB',
 'APBzero': '\\PaBz',
 'B': '\\PB',
...                                                                    
      

mesons_dict

None
Value:
{'auB': '\\PauB',
 'gUa': '\\PgUa',
 'gUb': '\\PgUb',
 'gUc': '\\PgUc',
 'gUe': '\\PgUe',
 'gUi': '\\PgUi',
 'gp': '\\Pgp',
 'gr': '\\Pgr',
...                                                                    
      

Nucleons_dict

None
Value:
{'APneutron': '\\Pan',
 'APproton': '\\Pap',
 'an': '\\Pan',
 'antineutron': '\\Pan',
 'antiproton': '\\Pap',
 'ap': '\\Pap',
 'n': '\\Pn',
 'neutron': '\\Pn',
...                                                                    
      

NucleonResonances_dict

None
Value:
{'N': '\\PN',
 'Na': '\\PNa',
 'Nb': '\\PNb',
 'Nc': '\\PNc',
 'Nd': '\\PNd',
 'Ne': '\\PNe',
 'Nf': '\\PNf',
 'Ng': '\\PNg',
...                                                                    
      

DeltaBaryons_dict

None
Value:
{'gD': '\\PgD',
 'gDa': '\\PgDa',
 'gDb': '\\PgDb',
 'gDc': '\\PgDc',
 'gDd': '\\PgDd',
 'gDe': '\\PgDe',
 'gDf': '\\PgDf',
 'gDh': '\\PgDh',
...                                                                    
      

LambdaBaryons_dict

None
Value:
{'APLambda': '\\PagL',
 'Lambda': '\\PgL',
 'Lambdab': '\\PbgL',
 'Lambdac': '\\PcgLp',
 'agL': '\\PagL',
 'antiLambda': '\\PagL',
 'bgL': '\\PbgL',
 'cgLp': '\\PcgLp',
...                                                                    
      

OmegaBaryons_dict

None
Value:
{'APOmega': '\\PagO',
 'APOmega+': '\\PagOp',
 'APOmega-': '\\PagOm',
 'APOmegaminus': '\\PagOm',
 'APOmegaplus': '\\PagOp',
 'Omega': '\\PgO',
 'Omega+': '\\PgOp',
 'Omega-': '\\PgOm',
...                                                                    
      

SigmaBaryons_dict

None
Value:
{'APSigma+': '\\PagSp',
 'APSigma-': '\\PagSm',
 'APSigma0': '\\PagSz',
 'APSigmac': '\\PacgS',
 'APSigmaminus': '\\PagSm',
 'APSigmaplus': '\\PagSp',
 'APSigmazero': '\\PagSz',
 'Sigma': '\\PgS',
...                                                                    
      

XiBaryons_dict

None
Value:
{'APXi+': '\\PagXp',
 'APXi-': '\\PagXm',
 'APXi0': '\\PagXz',
 'APXiminus': '\\PagXm',
 'APXiplus': '\\PagXp',
 'APXizero': '\\PagXz',
 'Xi': '\\PgX',
 'Xi+': '\\PgXp',
...                                                                    
      

Baryons_dict

None
Value:
{'Na': '\\PNa',
 'Nh': '\\PNh',
 'Ni': '\\PNi',
 'Nk': '\\PNk',
 'Nl': '\\PNl',
 'Nm': '\\PNm',
 'agXp': '\\PagXp',
 'antineutron': '\\Pan',
...                                                                    
      

Hadrons_dict

None
Value:
{'agXp': '\\PagXp',
 'auB': '\\PauB',
 'gUa': '\\PgUa',
 'gUb': '\\PgUb',
 'gUc': '\\PgUc',
 'gUe': '\\PgUe',
 'gp': '\\Pgp',
 'gr': '\\Pgr',
...                                                                    
      

Gluon_dict

None
Value:
{'gluon': '\\Pg', 'g': '\\Pg'}                                         
      

Photon_dict

None
Value:
{'gg': '\\Pgg', 'photon': '\\Pgg', 'gamma': '\\Pgg'}                   
      

VectorBosons_dict

None
Value:
{'W': '\\PW',
 'W+': '\\PWp',
 'W-': '\\PWm',
 'WR': '\\PWR',
 'Wm': '\\PWm',
 'Wminus': '\\PWm',
 'Wmp': '\\PWmp',
 'Wp': '\\PWp',
...                                                                    
      

GaugeBosons_dict

None
Value:
{'W': '\\PW',
 'W+': '\\PWp',
 'W-': '\\PWm',
 'WR': '\\PWR',
 'Wm': '\\PWm',
 'Wminus': '\\PWm',
 'Wmp': '\\PWmp',
 'Wp': '\\PWp',
...                                                                    
      

Axions_dict

None
Value:
{'Az': '\\PAz', 'axion': '\\PAz'}                                      
      

Higgses_dict

None
Value:
{'A': '\\PA',
 'Az': '\\PAz',
 'H': '\\PH',
 'Higgs': '\\PH',
 'Higgs+': '\\PHp',
 'Higgs-': '\\PHm',
 'Higgs0': '\\PHz',
 'Higgsheavy': '\\PH',
...                                                                    
      

BasicBosons_dict

None
Value:
{'A': '\\PA',
 'Az': '\\PAz',
 'H': '\\PH',
 'Higgs': '\\PH',
 'Higgs+': '\\PHp',
 'Higgs-': '\\PHm',
 'Higgs0': '\\PHz',
 'Higgsheavy': '\\PH',
...                                                                    
      

Leptons_dict

None
Value:
{'APnue': '\\Pagne',
 'antinum': '\\Pagngm',
 'em': '\\Pem',
 'gt': '\\Pgt',
 'leptonminus': '\\Plm',
 'leptonplus': '\\Plp',
 'mump': '\\Pgmmp',
 'muon': '\\Pgmm',
...                                                                    
      

Quarks_dict

None
Value:
{'APbeauty': '\\Paqb',
 'APbottom': '\\Paqb',
 'APcharm': '\\Paqc',
 'APdown': '\\Paqd',
 'APqb': '\\Paqb',
 'APqc': '\\Paqc',
 'APqd': '\\Paqd',
 'APqs': '\\Paqs',
...                                                                    
      

BasicFermions_dict

None
Value:
{'antineutrino': '\\Pagn',
 'antiquark': '\\Paq',
 'antistrange': '\\Paqs',
 'antitop': '\\Paqt',
 'gt': '\\Pgt',
 'leptonplus': '\\Plp',
 'muon': '\\Pgmm',
 'tau': '\\Pgt',
...                                                                    
      

AllFermions_dict

None
Value:
{'APXiminus': '\\PagXm',
 'Nj': '\\PNj',
 'agXp': '\\PagXp',
 'agXz': '\\PagXz',
 'antistrange': '\\Paqs',
 'gt': '\\Pgt',
 'muon': '\\Pgmm',
 'nucleon': '\\PN',
...                                                                    
      

AllBosons_dict

None
Value:
{'auB': '\\PauB',
 'gUa': '\\PgUa',
 'gUb': '\\PgUb',
 'gUc': '\\PgUc',
 'gUe': '\\PgUe',
 'gUi': '\\PgUi',
 'gp': '\\Pgp',
 'gr': '\\Pgr',
...                                                                    
      

MiscParticles_dict

None
Value:
{'Lmp': '\\PLmp', 'Lpm': '\\PLpm', 'Lz': '\\PLz', 'Ez': '\\PEz'}       
      

Ghost_dict

None
Value:
{'ghost': ''}                                                          
      

SUSYparticles_dict

None
Value:
{'Higgsinopm': '\\PSHpm',
 'Higgsinozero': '\\PSHz',
 'SHiggsino+': '\\PSHp',
 'SHiggspm': '\\PSHpm',
 'SHmp': '\\PSHmp',
 'Stop': '\\PSqt',
 'aSqb': '\\PaSqb',
 'aSqc': '\\PaSqc',
...