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

What are the pupil outputs? #64

Open
alexfaul opened this issue Oct 24, 2022 · 1 comment
Open

What are the pupil outputs? #64

alexfaul opened this issue Oct 24, 2022 · 1 comment
Assignees
Labels

Comments

@alexfaul
Copy link

Hey, thanks so much for all the work that went into this! This is an incredibly useful tool and our lab appreciates it.

I've dug around the documentation a bit and can't seem to find what some of the outputs are from the proc.npy file are after processing.

Specifically, what are com, axdir, and axlen with respect to pupil? Thanks!

@maxyccc
Copy link

maxyccc commented Jan 16, 2025

If you examine the source code [facemap/facemap/pupil.py](

mu, sig, u, sv, _, _ = fit_gaussian(
)):

axdir refers to the axis direction.
axlen represents the axis length.
These axes correspond to the eigenvectors of the Gaussian kernel fitted to the pupil.

Additionally, according to the README, com stands for the center of mass.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants