Spike detection in multicompartment models

Description of problem

I’m trying to create a model that includes spatialneuron objects with STDP. My current implementation is using spike detection at the soma, however the spike events don’t show up in any other compartment. I was wondering if there was any way to have spike events generated at the soma be reflected in the other compartments?

Minimal code to reproduce problem

No problem to be reproduced because I’m pretty sure this is intended behavior

What you have aready tried

Using shared variables (doesn’t seem to work), can’t use network_operation because I’m using cpp_standalone.

Expected output (if relevant)

Seeing spike events in compartments that aren’t the soma

Actual output (if relevant)

No spike events in other compartments

Full traceback of error (if relevant)