def __init__(self): self.elements = list() self.ray_source_list = list() self.material_library = om.MaterialLibrary() self.optical_axis_xpM = [np.identity(4)] self.optical_axis_xM = [np.identity(4)] self.optical_axis_xMT = [np.identity(4)] self.optical_axis_theta = 0.0 self.optical_axis_phi = 0.0 self.logger = logging.getLogger("System.") self.logger.setLevel(logging.INFO) self.surround_aperture = oa.InsideSphereAperture(1.0)
def __init__(self): self.elements = list() self.ray_source_list = list() self.material_library = om.MaterialLibrary() self.optical_axis_xpM = [np.identity(4)] self.optical_axis_xM = [np.identity(4)] self.optical_axis_xMT = [np.identity(4)] self.optical_axis_theta = [ 0.0 ] # Theta angle compared to previous element self.optical_axis_phi = [0.0] # Phi angle compared to previous element self.optical_axis_pos = [np.array([0.0, 0.0, 0.0])] self.logger = logging.getLogger("System.") self.logger.setLevel(logging.INFO) self.surround_aperture = oa.InsideSphereAperture(1.0)