def __str__(self): """ Implement str """ return " {0:s} i: {1:7.4f} major: {2:7.4f} minor: {3:7.4f} alpha: {4:7.4f}".\ format(Vector3d.__str__(self),self.intensity,self.major,self.minor,self.alpha)
def __str__(self): """ Implement str """ return Vector3d.__str__(self) + " s: " + str(self.spectrum)