Skip to main content

afam - ASC Files Analyzing Module

This package allows the user to analyze a ASC file, created by the EDF2ASC translator program of SR Research. It 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.

It 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 and samples.

It contains the following event & sample classes:

  • ASC_BUTTON - a dataclass used to store the data from a "BUTTON" 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_INPUT - a dataclass used to store the data from a "INPUT" line
  • ASC_MSG - a dataclass used to store the data from a "MSG" 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_MONO - a dataclass used to store the data from a monocular "SAMPLE" line
  • ASC_BINO - a dataclass used to store the data from a binocular "SAMPLE" line

Installation

$ pip install afam

Usage

import afam

dataset = afam.read_asc(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.

Metadata

Release files for afam 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for afam 0.1.1
File Size Uploaded Provenance Actions
afam-0.1.1.tar.gz 18.2 kB Without provenance Details for afam-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for afam 0.1.1
File Interpreter ABI Platform Actions
afam-0.1.1-py3-none-any.whl Python 3 none any Details for afam-0.1.1-py3-none-any.whl

Total release size: 36.9 kB

Release files / afam-0.1.1.tar.gz

Download URL afam-0.1.1.tar.gz
Size 18.2 kB
Tags Source
SHA-256 checksum
How to use checksums
14a079fda7f5ccc02a1c305c44582a366e47492d0a8b0b89611fd078946dd295
BLAKE2b-256 checksum
How to use checksums
cc2663e167c24e87f5925f5aed5c1e7550f6adfbf3cecc5ea00f56ffa1087fc5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.2.2 CPython/3.9.13 Windows/10

Release files / afam-0.1.1-py3-none-any.whl

Download URL afam-0.1.1-py3-none-any.whl
Size 18.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
376ad5e955265e4eed2dd893f8b134bddf12593859b7aa7362214c90ce7b3487
BLAKE2b-256 checksum
How to use checksums
b072c05487a8971476c34490a6707729bf8d361c864a109bb6343c0412782564
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.2.2 CPython/3.9.13 Windows/10

Security for afam 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page