def create_representation(self): """create representation""" p0 = aloha_lib.DVariable('P%s_0' % self.particle) p1 = aloha_lib.DVariable('P%s_1' % self.particle) p2 = aloha_lib.DVariable('P%s_2' % self.particle) p3 = aloha_lib.DVariable('P%s_3' % self.particle) gamma = { (0, 0): 0, (0, 1): 0, (0, 2): p0 - p3, (0, 3): -1 * p1 + 1j * p2, (1, 0): 0, (1, 1): 0, (1, 2): -1 * p1 - 1j * p2, (1, 3): p0 + p3, (2, 0): p0 + p3, (2, 1): p1 - 1j * p2, (2, 2): 0, (2, 3): 0, (3, 0): p1 + 1j * p2, (3, 1): p0 - p3, (3, 2): 0, (3, 3): 0 } self.representation = aloha_lib.LorentzObjectRepresentation( gamma, self.lorentz_ind, self.spin_ind)
def create_representation(self): self.sub0 = aloha_lib.DVariable('P%s_0' % self.particle) self.sub1 = aloha_lib.DVariable('P%s_1' % self.particle) self.sub2 = aloha_lib.DVariable('P%s_2' % self.particle) self.sub3 = aloha_lib.DVariable('P%s_3' % self.particle) self.representation= aloha_lib.LorentzObjectRepresentation( {(0,): self.sub0, (1,): self.sub1, \ (2,): self.sub2, (3,): self.sub3}, self.lorentz_ind, [])
def create_representation(self): width = aloha_lib.DVariable('W%s' % self.particle) self.representation = aloha_lib.LorentzObjectRepresentation( width, self.lorentz_ind, self.spin_ind)
def create_representation(self): mass = aloha_lib.DVariable('OM%s' % self.particle) self.representation = aloha_lib.LorentzObjectRepresentation( mass, self.lorentz_ind, self.spin_ind)