Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add eyelid data hadling and example on aperture #26

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

mikelgg93
Copy link
Member

@mikelgg93 mikelgg93 commented Feb 3, 2025

This PR adds support for eyelid parameters, it reads them from the eye_state file, and adds them as a separate stream for clarity.

  • Raise an error if the eyelid stream is invoked but there is no eyelid data.

raise ValueError("This recording does not contain eyelid data.")

  • Read only eye state parameters on the eye state stream.

data = np.vstack([time_data, data.T[:14]])

Includes an example plotting the eyelid aperture in mm for both eyes over the eyes.

@mikelgg93 mikelgg93 added the enhancement New feature or request label Feb 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant