davidcsterratt / retistruct

Computational reconstruction and transformation of flattened retinae
http://davidcsterratt.github.io/retistruct/
7 stars 7 forks source link

Appropriate phi0 usage #24

Closed bc closed 6 years ago

bc commented 6 years ago

Hi!

https://github.com/davidcsterratt/retistruct/blob/e39b13150e5be4880cb8cb816fb465a13ed442ae/pkg/retistruct/R/spheristruct.R#L372

What's the correct phi0 value if the retina composes exactly half of the sphere? What's a conservative default I can set for my users?

davidcsterratt commented 6 years ago

Exactly half the sphere would correspond to 0 degrees (i.e. 0 degrees latitude, the equator). The Retistruct paper has some data on what predicted values of phi0 should be for developing mouse eye. For other species, I don't know. One possibility for a future release is to predict phi0 by comparing the rim length and the area of the flattened retina, but I haven't completely thought this through.