Reimplemented in reflector, lens, paraxial_spherical_mirror, spherical_mirror, and grating. Definition at line 508 of file general_optics.py. 00508 : 00509 if self.name is not None: 00510 return (self.name+" "+Numeric.array_str(self.center, precision=3, suppress_small=1) + 00511 " "+Numeric.array_str(self.cosines, precision=3, suppress_small=1)) 00512 else: 00513 return "Unnamed optic" 00514 def entrance_center(self):
|