transmit
Compute stats like transmission ratio for paired recordings. The spikes on chan1 are triggers, which are the time reference for the transmission window. If a spike falls within the transmission window on chan2, the trigger spike is counted as a transmitted spike. Spikes on chan1 are valid triggers only if they and their associated transmission window fall completely within the analysis interval defined by start and period.Options:
- stat - write statistics to a file:
- infile - input file name without path
- group_name - name of analysis group
- ntrials - number of trials in group
- ntrig - number of triggers (valid spikes) found on chan1
- ntrans - number of times a trigger spike had one or more spikes in the transmission window on chan2.
- tr - transmission ratio = ntrans/ntrig
- sr1 - mean spike rate of chan1
- sr2 - mean spike rate of chan2
- cnt2 - total number of spikes for cell 2 (useful for contribution)
Parameter definitions:
- chan1 - first channel name.
- chan2 - second channel name, set equal to chan1 for ACG.
- start - start time for analysis epoch (sampling units)
- period - duration of analysis epoch (sampling units)
- win0 - start time of transmission window, relative to spike on chan1.
- winn - duration of transmission window (sampling units)
Example:
# # Prob of spike on chan2 in a window relative to and given spike on chan1 # transmit group 0 stat chan1 unit0 chan2 unit1 win0 2 winn 7