Create mne readable cnt files from OKITI created ones
Project description
# okiti_cnt_to_cnt
Modify OKITI created cnt files to be readable by mne-python package.
OKITI - Országos Klinikai Idegtudományi IntézetOrszágos Klinikai Idegtudományi Intézet
mne-python - https://github.com/mne-tools/mne-python
## How to use The function modify or create a new cnt file.
It returns only a flag which shows it did anything or not.
If you don’t need the original cnt file just give your cnt file name to the function.
If you want to preserve the original file specify the _new_file_name_ argument as well.
If the input is a valid cnt file the function will return false value.
## Description In OKITI the creation of cnt files done by a self-made Matlab script from trc files. This script is good enough to create cnt files which can be read by Matlab but they are not readable by mne-python package. We have to modify the cnt file to read by mna-python package.
Modifications: 1. Modify the event offset value. In OKITI cnt the event offset length is wrongly defined in the cnt file setup. 2. Add event type and event number to the end of the file. These are expected by mne-python but there are not in the OKITI cnt file.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file okiti_cnt_to_cnt-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: okiti_cnt_to_cnt-0.0.3-py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/27.2.0.post20161106 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.5.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0c507f11c1094e881ee86fa0a532b9e39053c90ee3f74f31e7864f7499a575f6 |
|
MD5 | 636f4265787646a5d34713da329c9b50 |
|
BLAKE2b-256 | d0971d663b5fa9b03a8af65cbd3a252f39be14ad966f57d33732fc72d8e04c45 |