Beispiel #1
0
from brian_unit_prefs import turn_off_units
import warnings

turn_off_units()
warnings.warn("Turning off units")
Beispiel #2
0
from brian_unit_prefs import turn_off_units
turn_off_units(warn=False)
Beispiel #3
0
from brian_unit_prefs import turn_off_units
import warnings
turn_off_units()
warnings.warn("Turning off units")