You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Optogenetic stimulation is added to sessions on programs that never drive the LED #55
Part of #43. The nwb-convert benchmark compares each agent's optogenetic stimulation with the reference, and 166 reference sessions had stimulation where the agents had none. The reference is wrong for those sessions.
Seiler2024OptogeneticInterface.add_to_nwbfile builds an OptogeneticSeries at the reward times for every opto session and skips only the omission and footshock probe programs. In the MED-PC programs in MSNs/, only the STIM, SCRAM and WStim programs switch on the LED output (ON ^STIM). The plain food programs do not, so these sessions had no light:
DMS Inhibitory: 163 sessions (EYFP 69, NpHR 52, NpHRScrambled 42) on FOOD_FR1 TTL Left (84), FOOD_FR1 TTL Right (53) and FOOD_FR1 HT TTL (Both) (26), mostly Group 2's FR1 days before light began at RI30.
DMS Excitatory: 3 sessions on 2020-10-28 (281.402 and 282.402 on FOOD_RI 60 RIGHT TTL, 291.407 on FOOD_RI 60 LEFT TTL).
Separately, 8 scrambled sessions have a one-sample, zero-power OptogeneticSeries. Their stimulation array Z is empty, and create_optogenetic_stimulation_timeseries returns a single baseline sample when given no onsets. The early return for sessions without stimulation times only covers the reward-based path.
Activity