![]() |
0.1.8
|
Classes | |
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.