def __repr__(self): return IO(f""" Integrating sphere Coupling Mode: Intensity Sampling: {self.Mesh.Sampling} """)
def __repr__(self): return IO(f""" PlaneWave source beam Wavelenght: {self.Wavelength} Polarization: {self.Polarization.Degree} """)
def __repr__(self): return IO(f""" Photodiode detector Coupling Mode: Intensity Sampling: {self.Mesh.Sampling} Gamma offset: {self.Mesh.GammaOffset} Phi offset: {self.Mesh.PhiOffset} """)
def __repr__(self): return IO(f""" Gaussian source beam Wavelenght: {self.Wavelength} Polarization: {self.Polarization.Degree} NA: {self.NA} Waist (w_0) {self.w0} """)
def __repr__(self): return IO(f""" Photodiode detector Coupling Mode: Intensity Numerical aperture: {self.NA:.4f} Sampling: {self.Mesh.Sampling} Gamma offset: {self.Mesh.GammaOffset} Phi offset: {self.Mesh.PhiOffset} """)
def __repr__(self): return IO(f""" LP mode detector Coupling Mode: Amplitude LP Mode: {self.ModeNumber} Numerical aperture: {self.NA:.4f} Sampling: {self.Mesh.Sampling} Gamma offset: {self.Mesh.GammaOffset} Phi offset: {self.Mesh.PhiOffset} """)
def __init__(self, name): self._Data = None self.__name__ = name with open(os.path.join(PATH, 'Meta.json'), 'r+') as f: META = json.load(f) assert name in META['local'],\ IO( f"""\nMaterial {name} not in the local bank {META['local']}\n Please refer to Documentation Material section https://pymiesim.readthedocs.io/en/latest/Material.html""") self.LocalDir = META['local'][name]