Stanford-BIS / pystorm

PyStorm python module used to interface with Brainstorm. Brainstorm can be programmed and controlled using this module.
MIT License
10 stars 0 forks source link

DAC settings should be a Network property #117

Open aneckar opened 6 years ago

aneckar commented 6 years ago

This is the "right" way to set DAC values when you're not doing something weird (e.g. changing the DAC on the fly like an input variable)

samfok commented 5 years ago

Currently in practice, HAL's map resets DAC values to default. HAL's remap_weights also resets DAC values because it calls map

samfok commented 5 years ago

Another effect of every hardware setting being reset upon a call to map or remap_weights is that somas disabled on the fly are re-enabled. I think we should broaden this issue to attach all mutable hardware settings to be a Network property.

aneckar commented 5 years ago

soma kill should be a Pool property, probably, but yeah.

AFAIK, the only settings not captured by map() are DACs, soma kills, and FPGA time resolutions. The other neuron/synapse settings (synapse kill, gain/bias twiddles, diffusor cuts) are all captured by Pool. All the digital stuff is captured by overall Network structure.

aneckar commented 5 years ago

also note that many of the Calibrator functions take an optional dacs argument