apply_weights# snake.core.handlers.utils.apply_weights(phantom, tissue_name, weights, time_idx)[source]# Apply weights to the tissue. Parameters: phantom (Phantom) tissue_name (str) weights (ndarray[Any, dtype[_ScalarType_co]]) time_idx (int) Return type: Phantom