Skip to content

Simplify acuity view code#265

Open
Bisaloo wants to merge 7 commits intomasterfrom
simplification-2025-08
Open

Simplify acuity view code#265
Bisaloo wants to merge 7 commits intomasterfrom
simplification-2025-08

Conversation

@Bisaloo
Copy link
Collaborator

@Bisaloo Bisaloo commented Aug 1, 2025

No description provided.

x <- i - center
y <- j - center
freq <- round(sqrt(x^2 + y^2)) / width_pix * (width_pix / width_deg)
freq <- round(sqrt(x^2 + y^2)) / width_deg
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doesn't seem right. We need to double check the equations before merging.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is what they use in the original code:

https://github.com/eleanorcaves/AcuityView/blob/b0465ec9ff20eb5e1c2c6c15d13d08b680282f75/R/AcuityView.R#L77-L88

@thomased, I seem to remember that you are in touch with the original authors. Am I missing something or is it worth getting in touch to ask if the code is correct?

@Bisaloo Bisaloo force-pushed the simplification-2025-08 branch from 38fe221 to a947e8e Compare August 2, 2025 09:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant