override post_init in subclasses to do computations after the construction, usually based on extra keywords. This avoids the need for every general_optic to override the default constructor. Reimplemented from general_optic. Definition at line 947 of file general_optics.py. 00947 : 00948 #raise "Warning!", "dielectric_interface is not ready to use! Do not try this." 00949 self.last_lambda=0.0 00950 if not hasattr(self, "external_index"): 00951 self.external_index=get_ambient_index 00952 def local_transform(self):
|