xicsrt

xicsrt

The top level module, xicsrt, provides convenient access to several functions that are defined in other modules.

raytrace(config)[source]

Perform a series of ray tracing runs.

Each run will rebuild all objects, reset the random seed and then perform the requested number of iterations.

If the option ‘save_images’ is set, then images will be saved at the completion of each run. The saving of these run images is one reason to use this routine rather than just increasing the number of iterations: periodic outputs during long computations.

Also see raytrace() for a multiprocessing version of this routine.

raytrace_mp(config, processes=None)

Perform a series of ray tracing runs using the multiprocessing cpu pool.

Each run will rebuild all objects, reset the random seed and then perform the requested number of iterations.

If the option ‘save_images’ is set, then images will be saved at the completion of each run.

Also see raytrace() for a single process version of this routine.