stimulation.is_empty

stimulation.is_empty()

check if a stimulation object is empty (No electrodes and stimuli, no external field can be computed). Returns True if empty, else False.

Returns:

True if a simulation is empty, else False

Return type:

bool