Note
Go to the end to download the full example code.
Integrating sphere#
This example demonstrates the initialization and visualization of an Integrating Sphere detector using PyMieSim.
Importing the package: PyMieSim
from PyMieSim.units import ureg
from PyMieSim.single.detector import IntegratingSphere
from PyMieSim.single import SystemPlotter
detector = IntegratingSphere(
sampling=500 * ureg.AU, # Number of sampling points
)
plotter = SystemPlotter()
plotter.plot(detector)

<pyvista.plotting.plotter.Plotter object at 0x7fd030aeca10>
Total running time of the script: (0 minutes 0.337 seconds)