MCPcopy Create free account
hub / github.com/brain-workshop/brainworkshop / default_nback_mode

Function default_nback_mode

brainworkshop.py:1125–1131  ·  view source on GitHub ↗
(mode)

Source from the content-addressed store, hash-verified

1123 return cfg['COLOR_%i' % color]
1124
1125def default_nback_mode(mode):
1126 if ('BACK_%i' % mode) in cfg:
1127 return cfg['BACK_%i' % mode]
1128 elif mode > 127: # try to use the base mode for crab, multi
1129 return default_nback_mode(mode % 128)
1130 else:
1131 return cfg.BACK_DEFAULT
1132
1133
1134def default_ticks(mode):

Callers 3

__init__Method · 0.85
enforce_standard_modeMethod · 0.85
retrieve_progressMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected