AOtools / aotools

A useful set of tools for Adaptive Optics in Python
GNU Lesser General Public License v3.0
109 stars 42 forks source link

Units for r0 to cn2 atmospheric conversions #77

Closed aaronjswank closed 2 years ago

aaronjswank commented 2 years ago

The functions: def cn2_to_r0 and r0_to_cn2 indicate in the documentation that the units of r0 are in cm. The equations implemented appear to return r0 in meters.

Equations are found in reference: Tyson, Robert K., and Benjamin West Frazier. “Field Guide to Adaptive Optics”, Second Edition, SPIE Press, 2012. and Fried, David L. "Anisoplanatism in adaptive optics." JOSA 72.1 (1982): 52-61.

matthewtownson commented 2 years ago

Thanks for finding this discrepancy, I will update the docs to state the correct units - meters