# mne\_kit2fiff STI problem

**URL:** <https://mne.discourse.group/t/mne-kit2fiff-sti-problem/497>\
**Category:** Mailing List Archive (read-only)\
**Tags:** list-archive\
**Created:** [October 1, 2012, 11:42pm UTC](https://mne.discourse.group/t/mne-kit2fiff-sti-problem/497 "2012-10-01T23:42:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/mne/original/1X/85cc6bd2b69cb698a166dc6d880fb550510d0144.jpeg) [@system](https://mne.discourse.group/u/system)\
**Post date:** [October 1, 2012, 11:42pm UTC](https://mne.discourse.group/t/mne-kit2fiff-sti-problem/497/1 "2012-10-01T23:42:59Z")

</div>

Hi everyone,

I have been experiencing a rather bizarre problem with the conversion tool  
mne\_kit2fiff and I was wondering if someone could help. After converting my  
data, the synthetic trigger channel remains empty even though there is the  
trigger channels are present in the txt file and have the appropriate  
amplitude changes. I have tried changing the threshold but all the  
triggering event information remains lost.

I have linked below a five second sample of my data. Here, I can see the  
channels with the appropriate trigger information but it does not appear in  
the fif file after conversion. It also includes the raw text file,  
parameter files and a shell script to run it (with minor changes needed for  
path).

[https://www.dropbox.com/s/milaotpkss7xlk2/sample.zip](https://www.dropbox.com/s/milaotpkss7xlk2/sample.zip)

Best,

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/mne/original/1X/85cc6bd2b69cb698a166dc6d880fb550510d0144.jpeg) [@system](https://mne.discourse.group/u/system)\
**Post date:** [October 5, 2012, 7:53am UTC](https://mne.discourse.group/t/mne-kit2fiff-sti-problem/497/2 "2012-10-05T07:53:53Z")

</div>

Hi Teon,

sorry for taking long to get back to you.

You need to set the "--stimthresh 2e-11"

mne\_kit2fiff --elp ${subject}.elp --hsp ${subject}.hsp --sns sns.txt  
--hpi coregis.txt --raw ${subject}.txt --out ${subject}\_raw.fif --stim  
${triggers} --aligntol 6 --lowpass 30 --stimthresh 2e-11

for figure this out I loaded the sample.txt file in python and plotted  
channel 166

$import pylab as pl  
$import numpy as np  
$data = np.loadtxt('sample.txt')  
$pl.plot(data[166])

best,  
Alex
