cherab.phix.tools#

Subpackage for visualization, raytransfer, laplacian, etc.

Functions

compute_dmat(voxel_map[, kernel_type, kernel])

Generate derivative sparse matrix.

profile_1D_to_2D(data_1D, rtc)

Convert 1D vector to 2D array according to raytrasfer object's voxel_map.

profile_2D_to_1D(data_2D, rtc)

Convert 2D array to 1D vector according to raytrasfer object's voxel_map.

Classes

Spinner([text, interval, frames, timer, side])

Implements a context manager that spawns a child process to write spinner frames into a tty (stdout) duringcontext execution.

Modules

derivative

Module to offer the function to generate a derivative matrix.

raytransfer

Module to offer a raytransfer objects.

spinner

Module offering terminal spinner Spinner implementation is referred by the yaspin package:

utils

Module for useful miscellaneous functions.

visualize

Modules to offer visualization tools.