“…The formulas of Diaz et al (2009) and Janssen et al (2006) are equally valid; we use Dai (2006) because it is a relatively simple expression and it appears to be the fastest to compute in our environment. We note that this formula can be used to scale for smaller or larger pupils (ratios less than or greater than 1), though the error is larger for ratios greater than 1 (Bará, Pailos, Arines, López-Gil, & Thibos, 2014;Dai, 2011;Ommani, Hutchings, Thapa, & Lakshminarayanan, 2014). We provide the function ZernikeScalePupil to scale coefficients for smaller or larger pupils.…”