Discrete3DMeshRayTransferIntegrator#

class cherab.lhd.emc3.raytransfer.emitters.Discrete3DMeshRayTransferIntegrator#

Bases: RayTransferIntegrator

Calculates the distances traveled by the ray through the voxel defined on a tetrahedral mesh in 3d coordinate system: \((X, Y, Z)\).

This integrator is used with the Discrete3DMeshRayTransferEmitter material class and the Discrete3DMesh to calculate ray transfer matrices (geometry matrices). The value for each voxel is stored in respective bin of the spectral array. The distances traveled by the ray through the voxel is calculated approximately and the accuracy depends on the integration step.

Parameters:
stepfloat

Integration step, by default 0.001.

min_samplesint

Number of minimum samples of integration, by default 2.

Methods

integrate(spectrum, world, ray, primitive, ...)

Performs a customised integration of the emission through a volume emitter.

Attributes