decaylanguage.particle¶
-
decaylanguage.particle.particle.Charge¶ alias of
decaylanguage.particle.particle.Par
-
class
decaylanguage.particle.particle.Inv[source]¶ Definition of what happens when particle is inverted
-
class
decaylanguage.particle.particle.Particle(val, name, mass, width, charge, A, rank=0, I=None, J=None, G=<Par.u: 5>, P=<Par.u: 5>, C=<Par.u: 5>, quarks='', status=<Status.Nonexistant: 4>, latex='', mass_upper=0.0, mass_lower=0.0, width_upper=0.0, width_lower=0.0)[source]¶ The Particle object class. Hold a series of properties for a particle.
-
bar¶ Check to see if particle is inverted
-
classmethod
from_search(name=None, latex=None, *, name_re=None, latex_re=None, **search_terms)[source]¶ Require that your each returns one and only one result
-
classmethod
from_search_list(name=None, latex=None, *, name_re=None, latex_re=None, particle=None, **search_terms)[source]¶ Search for a particle, returning a list of candidates
-
html_name¶ This is the name using HTML instead of LaTeX
-
classmethod
load_pdg_table(files=('/Users/henryiii/git/software/decaylanguage/decaylanguage/particle/mass_width.csv', '/Users/henryiii/git/software/decaylanguage/decaylanguage/particle/MintDalitzSpecialParticles.csv'), latexes=('/Users/henryiii/git/software/decaylanguage/decaylanguage/particle/pdgID_to_latex.txt', ))[source]¶ Load a PDG table. Will be called on first access to the PDG table
-
programatic_name¶ This name could be used for a variable name
-
radius¶ Particle radius, hard coded
-
spintype¶ Access the SpinType enum
-
-
decaylanguage.particle.particle.get_from_PDG(filename, latexes=('/Users/henryiii/git/software/decaylanguage/decaylanguage/particle/pdgID_to_latex.txt', ))[source]¶ Read a file, plus a list of latex files, to produce a pandas DataFrame with particle information
-
decaylanguage.particle.particle.get_from_latex(filename)[source]¶ Produce a pandas series from a file with latex mappings in it