![]() |
PyHelios 0.1.11
|
Classes | |
| class | CameraMetadata |
| Metadata for radiation camera image export (Helios v1.3.58+). More... | |
| class | CameraProperties |
| Camera properties for radiation model cameras. More... | |
| class | RadiationModel |
| High-level interface for radiation modeling and ray tracing. More... | |
| class | RadiationModelError |
| Raised when RadiationModel operations fail. More... | |
Functions | |
| _radiation_working_directory () | |
| Context manager that temporarily changes working directory to where RadiationModel assets are located. | |
Variables | |
| logger = logging.getLogger(__name__) | |
|
protected |
Context manager that temporarily changes working directory to where RadiationModel assets are located.
RadiationModel C++ code uses hardcoded relative paths like "plugins/radiation/cuda_compile_ptx_generated_rayGeneration.cu.ptx" expecting assets relative to working directory. This manager temporarily changes to the build directory where assets are actually located.
| RuntimeError | If build directory or RadiationModel assets are not found, indicating a build system error. |
Definition at line 45 of file RadiationModel.py.
| pyhelios.RadiationModel.logger = logging.getLogger(__name__) |
Definition at line 29 of file RadiationModel.py.