ASC Files Analyzing Module
Project description
afam - ASC Files Analyzing Module
This module allows the user to analyze a ASC file, created by the EDF2ASC translator program of SR Research. This program converts selected events and samples from the EyeLink EDF file into text, and sorts and formats the data into a form that is easier to work with.
This module helps to perform the following operations:
- Opening and closing the ASC file
- Matching words and messages to keywords (tokens)
- Reading data items from the file, including recording start, button presses, eye events and messages (samples are not supported)
This module requires that dataclasses
are available within the Python environment the user is
running the module in.
It contains the following classes:
- ASC_BUTTON - a dataclass used to store the data from a "BUTTON" line
- ASC_SBLINK - a dataclass used to store the data from a "SBLINK" line
- ASC_SSACC - a dataclass used to store the data from a "SSACC" line
- ASC_SFIX - a dataclass used to store the data from a "SFIX" line
- ASC_EBLINK - a dataclass used to store the data from an "EBLINK" line
- ASC_ESACC - a dataclass used to store the data from an "ESACC" line
- ASC_EFIX - a dataclass used to store the data from an "EFIX" line
- ASC_MSG - a dataclass used to store the data from a "MSG" line
- ASC_File_Handler - a class used to handle the parsing of an ASC file
Installation
$ pip install afam
Usage
from afam import ASC_File_Handler
handler = afam.ASC_File_Handler()
event_list = handler.read_asc_file(file_name)
Contributing
Interested in contributing? Check out the contributing guidelines. Please note that this project is released with a Code of Conduct. By contributing to this project, you agree to abide by its terms.
License
afam
was created by Christoph Anzengruber. It is licensed under the terms of the GNU General Public License v3.0 license.
Credits
afam
was created with cookiecutter
and the py-pkgs-cookiecutter
template.
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 Distribution
Built Distribution
File details
Details for the file afam-0.1.0.tar.gz
.
File metadata
- Download URL: afam-0.1.0.tar.gz
- Upload date:
- Size: 17.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.14 CPython/3.7.13 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8b03e113b703a6eb12788116a5a1f39045b2b326e550c6ec5714456db740ee6c |
|
MD5 | 6121953e661e4352c9f838aea4f4d560 |
|
BLAKE2b-256 | d2fb171e21fdc3300155a9748328b2cc37f18ac102dc4037d3c4c178416e55be |
File details
Details for the file afam-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: afam-0.1.0-py3-none-any.whl
- Upload date:
- Size: 17.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.14 CPython/3.7.13 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7f89274d0803bd3243d49ba21bafabf279cf0de7e31cd5cb24bce7ea143cefb8 |
|
MD5 | 3d86fd63785336872e9992c78ced606e |
|
BLAKE2b-256 | cdc4f5d42c88d820713ccfc594184fa13aca7c69e951e2d28794b42aa4b250c4 |