scieee AI-readable full text Open interactive document viewer

Orthogonal basis with a conicoid first mode for shape specification of optical surfaces

Ferreira González, Chelo; Pérez Sinusía, E.; Navarro Belsué, Rafael; López, J. L.

Abstract

A rigorous and powerful theoretical framework is proposed to obtain systems of orthogonal functions (or shape modes) to represent optical surfaces. The method is general so it can be applied to different initial shapes and different polynomials. Here we present results for surfaces with circular apertures when the first basis function (mode) is a conicoid. The system for aspheres with rotational symmetry is obtained applying an appropriate change of variables to Legendre polynomials, whereas the system for general freeform case is obtained applying a similar procedure to spherical harmonics. Numerical comparisons with standard systems, such as Forbes and Zernike polynomials, are performed and discussed. Ferreira González, Chelo; López, J. L.; Navarro Belsué, Rafael; Pérez Sinusía, E.

Full text

Orthogonal basis with a conicoid first mode for shape specification of optical surfaces Chelo Ferreira,1Jos´ e L. L´ opez,2,∗Rafael Navarro,3and Ester P´ erez Sinus´ıa1 1Dpto. de Matem´atica Aplicada &IUMA, Universidad de Zaragoza, 50009 Zaragoza, Spain 2Dpto. de Ingenier´ıa Matem´atica e Inform´atica, Universidad P´ublica de Navarra, 31006 Pamplona, Spain 3ICMA, Consejo Superior de Investigaciones Cient´ıficas &Universidad de Zaragoza, 50009 Zaragoza, Spain ∗[email protected] Abstract: Arigorous and powerful theoretical framework is proposed to obtain systems of orthogonal functions (or shape modes) to represent optical surfaces. The method is general so it can be applied to different initial shapes and different polynomials. Here we present results for surfaces with circular apertures when the first basis function (mode) is a conicoid. The system for aspheres with rotational symmetry is obtained applying an appropriate change of variables to Legendre polynomials, whereas the system for general freeform case is obtained applying a similar procedure to spherical harmonics. Numerical comparisons with standard systems, such as Forbes and Zernike polynomials, are performed and discussed. © 2016 Optical Society of America OCIS codes: (220.1250) Aspherics; (220.4830) Optical systems design; (220.4840) Optical testing; (220.4610) Optical fabrication; (000.4430) Numerical approximation and analysis. References and links 1. R. N. Wilson, Reflecting Telescope Optics I, (Springer, 2004). 2. Y. Ding, X. Liu, Z.-R. Zheng, and P.-F. Gu, “Freeform LED lens for uniform illumination,” Opt. Express 16, 12958–12966 (2008). 3. M. Victoria, C. Dom´ınguez, I. Ant´on, and G. Sala, “Comparative analysis of different secondary optical elements for aspheric primary lenses,” Opt. Express 17, 6487–6492 (2009). 4. Y. Wu, J. Xi, M. J. Cobb, and X. Li, “Scanning fiber-optic nonlinear endomicroscopy with miniature aspherical compound lens and multimode fiber collector,” Opt. Lett. 34, 953–955 (2009). 5. D. J. Meister and S. W. Fisher, “Progress in the spectacle correction of presbyopia. Part 2: Modern progressive lens technologies,” Clin Exp Optom. 91, 251–264 (2008). 6. R. Navarro, “Adaptive model of the aging emmetropic eye and its changes with accommodation,” J. Vis. 14(21), 1–17 (2014). 7. F. Chen, G. M. Brown, M. Song, “Overview of three-dimensional shape measurement using optical methods,” Opt. Engineering 39, 10–22 (2000). 8. D. Michaelis, P. Schreiber, and A. Br¨auer, “Cartesian oval representation of freeform optics in illumination systems,” Opt. Lett. 36, 918–920 (2011). 9. H. Ries and J. Muschaweck, “Tailored freeform optical surfaces,” J. Opt. Soc. Am. A 19, 590–595 (2002). 10. G. W. Forbes, “Shape specification for axially symmetric optical surfaces,” Opt. Express 15(8), 5218–5226 (2007). 11. A. B. Bhatia, E. Wolf, and M. Born, “On the circle polynomials of Zernike and related orthogonal sets,” Proc. Camb. Philos. Soc. 50(1), 40–48 (1954). 12. G. W. Forbes, “Robust, efficient computational methods for axially symmetric optical aspheres,” Opt. Express 18(19), 19700–19712 (2010). #249995 Received 16 Sep 2015; revised 18 Nov 2015; accepted 1 Dec 2015; published 3 Mar 2016 (C) 2016 OSA 7 Mar 2016 | Vol. 24, No. 5 | DOI:10.1364/OE.24.005448 | OPTICS EXPRESS 5448 13. G. W. Forbes, “Manufacturability estimates for optical aspheres,” Opt. Express 19(10), 9923–9941 (2011). 14. G. W. Forbes, “Characterizing the shape of freeform optics,” Opt. Express 20(3), 2483–2499 (2012). 15. G. W. Forbes, “Fitting freeform shapes with orthogonal bases,” Opt. Express 21(16), 19061–19081 (2013). 16. R. Navarro, J. L. L´opez, J. A. D´ıaz, and E. P´erez Sinus´ıa, “Generalization of Zernike polynomials for regular portions of circles and ellipses,” Opt. Express 22, 21263–21279 (2014). 17. C. Ferreira, J. L. L´opez, R. Navarro , and E. P´erez Sinus´ıa, “Zernike-like systems in polygons and polygonal facets,” Appl. Opt. 54, 6575–6583 (2015). 18. E. W. Weisstein, “Legendre Polynomial”, From MathWorld. A Wolfram Web Resource. http://mathworld.wolfram.com/LegendrePolynomial.html. 19. E. W. Weisstein, “Spherical Harmonic”, From MathWorld. A Wolfram Web Resource. http://mathworld.wolfram.com/SphericalHarmonic.html. 20. E. W. Weisstein, “Associated Legendre Polynomial”, From MathWorld. A Wolfram Web Resource. http://mathworld.wolfram.com/AssociatedLegendrePolynomial.html. 1. Introduction The number and relevance of applications of aspheric and freeform optics is continuously increasing, ranging from astronomy [1], industry [2], solar energy [3], biomedical optics [4], or physiological optics [5], among others. The high complexity of optical surfaces found in biological systems such as the human eye [6], or the new advances in fabrication and testing of freeform surfaces [7], are demanding precise, robust and efficient methods of specifying these surfaces. Ideally, the shape specification should be physically meaningful and invariant for the different stages of design, fabrication, testing or application. In optics, it is common to represent the surface sag zas a function of the coordinates z=e f(x,y). Often the configuration is nearly rotationally symmetric and hence it is better to work in cylindrical coordinates z=f(r, θ ). The variety of systems of representations range from the pure sampling grid of points, localized splines, or global or modal representations given by combinations of functions such as spheres, conicoids, monomials, polynomials, etc. Specific methods of representation tailored for specific applications were also proposed, such as generalized Cartesian ovals [8] or solutions of specific differential equations [9], among others. Due to the high relevance of spheres, the most widely used characterizations of optical surfaces is the sum of a sphere (or conicoidC) plus an aspherical part Ausually given as a linear combination of terms z=C+A. In what follows we will talk of conicoidsCwhich include the sphere as a particular case. Typically the terms specifying Aare either monomials or polynomials. Historically, monomials were used first due to their apparent simplicity, but as Forbes pointed out referring to monomials [10], “the most widely used characterization of surface shape is numerically deficient”, mainly due to their lack of orthogonality. Orthogonal systems of polynomials, such as Zernike polynomials [11], Forbes polynomials [10,12–15], etc., permit to overcome a series of key issues ranging from numerical instabilities to effective tolerance specifications. Furthermore, basic linear algebra tells us that the two crucial properties of a good system of representation (sets of basis functions) are orthogonalityand completeness. An additional, but less crucial property is normality (norm unity for all basis functions). Orthogonality, that implies the linear independencebetween the basis functions, implies also good numerical behavior, avoids redundancy and ensures uniqueness of the representation, among other highly important properties. In this context completeness is even more crucial as it means that the system can represent all possible surface shapes, that is to insure that we have a real freeform system. In this sense the most widely used methods of optical surface representation in the form of z=C+Aare essentially non orthogonal,even when theyuse Zernike polynomials,Forbes polynomials or orthogonal systems to represent the departure from the sphere (or conicoid), simply because the conicoid itself is not orthogonal to A. Here our goal was to solve this problem to obtain a system of representation in which Cis orthogonal to A(of course the basis functions of Aare orthogonal as well). This implies that Cis one of the basis functions of the system. #249995 Received 16 Sep 2015; revised 18 Nov 2015; accepted 1 Dec 2015; published 3 Mar 2016 (C) 2016 OSA 7 Mar 2016 | Vol. 24, No. 5 | DOI:10.1364/OE.24.005448 | OPTICS EXPRESS 5449 To this end, we divided the main goal into the following specific objectives: (1) to develop ageneral theoretical framework to obtain this type of systems, initially restricted to rotationally symmetric surfaces z=f(r); (2) to obtain and implement a complete orthogonal system, in which the first basis function is a conicoid;(3) to generalize the aboveresults to non-rotationally symmetric surfaceswhich is essential to obtain true freeform systems; and (4) to test numerically our new systems and perform direct comparisons with previous methods. The next Sections are organized accordingly. 2. Basis for rotationally symmetric surfaces In this section we introduce the general framework of our theory, restricted to rotationally symmetric surfaces defined by an equation of the form z=f(r),r∈[0,1], where rand zare cylindrical coordinates. We design an orthogonal system for L2 ν [0,1]with measure d ν =rdr, in which the first element of the system is a specified conicoidCthat, in the following, we denote by q0(r)for convenience. The remaining elements of the system, the elements of the set A, are denoted by qn(r),n=1,2,3,... The functions qn(r),n=1,2,3,..., are constructed using three essential ingredients: (i) an arbitrary orthonormal system {pn(x)}n=0,1,2,..., with respect to a certain measure d µ = ρ (x)dx in an interval [c,d], (ii) the selected conicoid q0(r)and (iii) a convenient change of variable x= ϕ (r), ϕ :[0,1]→[c,d]. A similar method based on a change of variables was successfully applied before to obtain orthogonal Zernike-like sytems on noncircular apertures [16], polygons and polygonal facets [17]. The resulting orthogonal system consists of functions {q0(r),q1(r),q2(r),...}defined in the interval [0,1]that are orthogonal with respect to the measure d ν =rdr. Moreover, the functions q1(r),q2(r),... have also norm unity. Rougly speaking, the idea is the following: we use ϕ (r)to replace the first element p0 of the system {pn(x)}n=0,1,2,... by q0(r). To preserve the orthogonality of the new system, we must choose ϕ (r)appropriately. In the remaining of this section we develop this idea and give an important example. Let {pn(x)}n=0,1,2,... be an orthonormal basis of L2 µ [c,d]with p0(x) = p0constant and measure d µ = ρ (x)dx. This means that δ m,n=Zd cpn(x)pm(x) ρ (x)dx,n,m=0,1,2,... (1) After a (at this moment unknown)change of variable ϕ :[0,1]→[c,d];x= ϕ (r), with ϕ (0) = c, ϕ (1) = dand ϕ ′(r)>0 in (0,1), we find δ m,n=Z1 0pn( ϕ (r))pm( ϕ (r)) ρ ( ϕ (r)) ϕ ′(r)dr,n,m=0,1,2,... (2) We observe that, when we define qn(r):=Cnpn( ϕ (r))w(r),w(r):=r ρ ( ϕ (r)) ϕ ′(r) r,(3) withCn=1 for n=1,2,3,..., andC0arbitrary at this moment; we find that the functions qn(r), n=1,2,3,... are orthonormal in [0,1]with respect to the measure d ν =rdr. It is worth to note that the variable rin the denominator of w(r)is not dangerous as the numerator behaves as rwhen r→0, as we see in the first line of (4). To complete our basis, we need to introduce a first element q0(r), the arbitrary conicoid, assuring that it is orhogonal to all the elements qn(r),n=1,2,3,... This is achieved by choosing the function ϕ (r)as the unique solution of #249995 Received 16 Sep 2015; revised 18 Nov 2015; accepted 1 Dec 2015; published 3 Mar 2016 (C) 2016 OSA 7 Mar 2016 | Vol. 24, No. 5 | DOI:10.1364/OE.24.005448 | OPTICS EXPRESS 5450 the boundary value problem:    ρ ( ϕ (r)) ϕ ′(r) = 1 C2 0p2 0 rq2 0(r), ϕ (0) = c, ϕ (1) = d. (4) Since the first-order differential equation in Eq. (4) can be directly solved by integration, the unique solution x= ϕ (r)of Eq. (4) is implicitly defined by the equation Zx c ρ (t)dt =1 C2 0p2 0Zr 0sq2 0(s)ds,(5) when we take C2 0=Z1 0sq2 0(s)dsp2 0Zd c ρ (t)dt.(6) It is obvious that the left hand side of Eq. (5) is an increasing function of xand the right hand side of Eq. (5) is an increasing function of r. Then, ϕ (r)is a monotonicfunction with ϕ ′(r)>0. Thus, we have that the set {qn(r)}n=0,1,2,... is a quasi-orthonormalbasis of L2 ν [0,1](orthonormal except for the fact that ||q0||2 r=C2 0) with qn(r) = q0(r) C0p0Cnpn( ϕ (r)),n=0,1,2,... (7) Moreover, {qn(r)}n=0,1,2,... is complete in L2 ν [0,1]. For any function F(r)∈L2 ν [0,1], we define f(x):=F( ϕ −1(x)) w( ϕ −1(x)),(8) that belongs to L2 µ [c,d]: ||f||2 ρ =Zb a|f(x)|2 ρ (x)dx =Z1 0|f( ϕ (r))|2 ρ ( ϕ (r)) ϕ ′(r)dr =Z1 0|F(r)|2rdr =||F||2 r.(9) As {pn(x)}n=0,1,2,... is complete in L2 µ [c,d], we have that f(x) = ∞ ∑ n=0cnpn(x),almost everywhere in [c,d],(10) with cn:=Zd cpn(x)f(x) ρ (x)dx =1 CnZ1 0qn(r)F(r)rdr,n=0,1,2,3,... (11) Then, {qn(r)}n=0,1,2,... is a complete system in L2 ν [0,1], since for any function F(r)∈L2 ν [0,1], we have F(r) = w(r)f( ϕ (r)) = ∞ ∑ n=0cnw(r)pn( ϕ (r)) = c0 C0q0(r)+ ∞ ∑ n=1cnqn(r).(12) #249995 Received 16 Sep 2015; revised 18 Nov 2015; accepted 1 Dec 2015; published 3 Mar 2016 (C) 2016 OSA 7 Mar 2016 | Vol. 24, No. 5 | DOI:10.1364/OE.24.005448 | OPTICS EXPRESS 5451 Solution for normalized Legendre polynomials The normalized Legendre polynomials [18] pn(x) = r2n+1 2 1 2n n ∑ k=0n k2 (x−1)n−k(x+1)k,p0(x) = 1 √2,(13) are an orthonormalbasis of L2[−1,1]with respect to the weight function ρ (x) = 1. We take the following conicoid: q0(r) = br1−sL2r2 a2,(14) with s=±1. If s=1 and b>0, q0is the portion of an ellipse with semiaxes aand bin the upper half-plane between the angles arctan(b√a2−L2/a)and π /2, and with 0 <L<a. If s=1 and b<0, q0is the portion of an ellipse with semiaxes aand −bin the lower halfplane between the angles − π /2 and −arctan(b√a2−L2/a),and with 0 <L<a. If s=−1 and b>0, q0is the portion of a hyperbola with semiaxes aand bin the upper half-plane between the angles arctan(b√a2+L2/a)and π /2, and if s=−1 and b<0, q0is the portion of a hyperbola with semiaxes aand −bin the lower half-plane between the angles − π /2 and −arctan(b√a2+L2/a).In any case, from Eq. (5), x+1=Zx −1dt =2 C2 0Zr 0tb2−sb2 a2L2t2dt=b2r2 C2 01−sL2 a2 r2 2.(15) We obtain the value ofC0from Eq. (6), C0=1 2r2b2−sb2 a2L2.(16) Thus, x= ϕ (r) = 2r2 2a2−sL22a2−sL2r2−1.(17) Therefore, we have that the set qn(r) = 2Cnsign(b)s2a2−2sL2r2 2a2−sL2pn2r2 2a2−sL22a2−sL2r2−1,n=0,1,2,..., (18) is a quasi-orthonormal basis of L2 ν [0,1]with d ν =rdr and any function F(r)∈L2 ν [0,1]can be written as F(r) = c0 C0br1−sL2r2 a2+ ∞ ∑ n=1 cnqn(r),(19) with cn,C0and qn(r)given in Eqs. (11), (16) and (18) respectively. In Table 1 we can find the first five functions q0(r),q1(r),...,q4(r). The graphs of these functions (up to n=4) are illustrated in Fig. 1 for a elliptical cap, r∈[0,1],s=1, b=1 and a=L=3/4. Observation 1. In optics, it is standard to express rotationally symmetric surfaces in terms of their deviation from the sagittal representation. If we consider as first term q0(r) = cL2r2 1+√1− ε c2L2r2,(20) #249995 Received 16 Sep 2015; revised 18 Nov 2015; accepted 1 Dec 2015; published 3 Mar 2016 (C) 2016 OSA 7 Mar 2016 | Vol. 24, No. 5 | DOI:10.1364/OE.24.005448 | OPTICS EXPRESS 5452 Table 1. First five functions of the new quasi-orthonormal basis {qn(r)}n=0,1,2,... (see Eq. (18)) obtained from the normalized Legendre polynomials and q0(r) = bq1−sL2r2 a2. n qn(r) 0br1−sL2r2 a2 1−2√3sign(b)√a2−sL2r2 (2a2−sL2)3/22sL2r4−4a2r2+2a2−sL2 2 2√5sign(b)√a2−sL2r2 (2a2−sL2)5/2 ×6s2L4r8−24sL2a2r6−6s2L4−2sL2a2−4a4r4+12a2sL2−2a2r2+sL2−2a22 3 −2√7sign(b)√a2−sL2r2 (2a2−sL2)7/2 ×20s3L6r12 −120s2L4a2r10 −30sL2s2L4−2sL2a2−8a4r8+40a23s2L4−6sL2a2−4a4r6 +12s3L6−4s2L4a2−6sL2a4+20a6r4−24a2sL2−2a22r2−sL2−2a23 4 6sign(b)√a2−sL2r2 (2a2−sL2)9/2 ×70s4L8r16 −560s3L6a2r14 −140s2L4(s2L4−2sL2a2−12a4)r12 +280sL2a2(3s2L4−6sL2a2−8a4)r10 +10(9s4L8−36s3L6a2−132s2L4a4+336sL2a6+112a8)r8−40a2(9s3L6−36s2L4a2+8sL2a4+56a6)r6 −20(sL2−2a2)2(s2L4−2sL2a2−18a4)r4+40a2(sL2−2a2)3r2+(sL2−2a2)4 with 0 <L2≤1/( ε c2)if ε >0, and as initial orthonormal basis the normalized Legendre polynomials given in Eq. (13), we obtain a new quasi-orthonormal basis {qn(r)}n=0,1,2,... of L2 ν [0,1]with d ν =rdr given by qn(r) = √2q0(r) C0Cnpn( ϕ (r)),n=0,1,2,..., (21) with C2 0=8(1− ε c2L2)3/2−1+3 ε c2L2(4− ε c2L2) 12 ε 3c4L2,Cn=1,n=1,2,3,... (22) and ϕ (r) = 28(1− ε c2L2r2)3/2−1+3 ε c2L2r2(4− ε c2L2r2) 8(1− ε c2L2)3/2−1+3 ε c2L2(4− ε c2L2)−1,(23) #249995 Received 16 Sep 2015; revised 18 Nov 2015; accepted 1 Dec 2015; published 3 Mar 2016 (C) 2016 OSA 7 Mar 2016 | Vol. 24, No. 5 | DOI:10.1364/OE.24.005448 | OPTICS EXPRESS 5453 0.0 0.2 0.4 0.6 0.8 1.0 -6 -4 -2 0 2 4 6 r z Fig. 1. Graphs of the first five functions of the new quasi-orthonormal basis {qn(r)}n=0,1,2,... (see Eq. (18)) obtained from the normalized Legendre polynomials and q0(r) = bq1−sL2r2 a2,with s=1, b=1 and a=L=3/4 using different scale: q0(orange), q1(red), q2(blue), q3(green), q4(brown). that is, qn(r) = 2√6Cnc3L3r2 1+√1− ε c2L2r2s ε 3 8(1− ε c2L2)3/2−1+3 ε c2L2(4− ε c2L2) ×pn 28(1− ε c2L2r2)3/2−1+3 ε c2L2r2(4− ε c2L2r2) 8(1− ε c2L2)3/2−1+3 ε c2L2(4− ε c2L2)−1!,n=0,1,2,... (24) This is a significantly less compact expression as compared to Eq. (18). The theorydeveloped in thissection only applies to rotationallysymmetric surfacesspecified by an equation of the form z=f(r), with r∈[0,1]. In the following section we generalize the theory to arbitrary surfaces defined in cylindrical coordinates (r, θ ,z), specified by an equation of the form z=f(r, θ ). 3. Basis for freeform surfaces In this section we formulate a more general theory to approximate arbitrary surfaces z=f(r, θ ) defined over the unit disk (rcos θ ,rsin θ )∈D. We design an orthogonal system for L2 ν (D)with measure d ν =rdrd θ in which the first element of the system is a specified rotationally symmetric surface q0 0(r). The remaining elements of the system qm n(r, θ ),n=1,2,3,..., are constructed using again the three essential ingredients used in the previous section: (i) an arbitrary orthogonal system pm n(x, θ ),n,m(n) = 0,1,2,..., of L2 µ ([c,d]×[0,2 π ]) with measure d µ = ρ (x)dxd θ , (ii) the surface q0 0(r)and (iii) a convenient change of variable x= ϕ (r), ϕ :[0,1]→[c,d]. Then, the resulting orthogonal system consists of functions {q0 0(r),qn m(r, θ ),...},n,m(n) = 1,2,..., defined in the unit disk Dthat are orthogonal with respect to the measure d ν =rdrd θ . Moreover, the functions qn m(r, θ ),...,n,m(n) = 1,2,...are also orthonormal.In the remaining of this section we accomplish this task and give a particular solution. #249995 Received 16 Sep 2015; revised 18 Nov 2015; accepted 1 Dec 2015; published 3 Mar 2016 (C) 2016 OSA 7 Mar 2016 | Vol. 24, No. 5 | DOI:10.1364/OE.24.005448 | OPTICS EXPRESS 5454 Let {pm n(x, θ )}n,m(n)=0,1,2,... be an orthonormal basis of L2 µ ([c,d]×[0,2 π ]) with p0 0(x, θ ) = p0 0constant and measure d µ = ρ (x)dxd θ . We want to find a quasi-orthonormal basis {qm n(r, θ )}n,m(n)=0,1,2,... of L2 ν (D),d ν =rdrd θ , with q0 0(r)predetermined. We have δ n,n′ δ m,m′=Zd c ρ (x)dxZ2 π 0d θ pm n(x, θ )pm′ n′(x, θ ),n,m(n) = 0,1,2,... (25) After a (at this moment unknown) change of variable x= ϕ (r)with ϕ (0) = c, ϕ (1) = dand ϕ ′(r)>0 in (0,1), we find δ n,n′ δ m,m′=Z1 0 ρ ( ϕ (r)) ϕ ′(r)drZ2 π 0d θ pm n( ϕ (r), θ )pm′ n′( ϕ (r), θ ),n,m(n) = 0,1,2,... (26) We observe that, when we define qm n(r, θ ):=Cm npm n( ϕ (r), θ )w(r),w(r):=r ρ ( ϕ (r)) ϕ ′(r) r,(27) with Cm n=1 for (n,m)6= (0,0)and C0 0arbitrary at this moment, we find that the functions qm n(r, θ ),n,m(n) = 0,1,2,..., are orthonormalin Dwith respect to the measure d ν =rdrd θ . To complete our basis, we need to introduce a first element q0 0(r)assuring that it is orthogonalto all the other elements qm n(r, θ ),n,m(n) = 0,1,2,...,(n,m)6= (0,0). This is achieved by choosing the function ϕ (r)the unique solution of the boundary value problem Eq. (4) given by Eq. (5). Then, we have that the set {qm n(r, θ )}n,m(n)=0,1,2,... is a quasi-orthonormal system of L2 ν (D) with qm n(r, θ ) = Cm nw(r)pm n( ϕ (r), θ ),(28) q0 0(r)predetermined and (C0 0)2=Z1 0s(q0 0(s))2ds(p0 0)2Zd c ρ (t)dt.(29) The system {qm n(r, θ )}n,m(n)=0,1,2,... is complete in L2 ν (D). The proof is similar to the proof of the one dimensional case given in Section 2. Therefore, for any F(r, θ )∈L2 ν (D), we have that F(r, θ ) = c0 0 C0 0 q0 0(r)+ ∞ ∑ n,m(n)=0 (n,m)6=(0,0) cm nqm n(r, θ ),(30) with cm n:=1 Cm nZZDqm n(r, θ )F(r, θ )rdrd θ ,n,m(n) = 0,1,2,3,... (31) Solution for spherical harmonics For n=0,1,2,..., consider the spherical harmonic functions [19] pm n(x, θ ) = s(2− δ m,0)(2n+1)(n−m)! 4 π (n+m)!(Pm n(x)cos(m θ ),0≤m≤n, Pm n(x)sin(m θ ),−n≤m<0,(32) where Pn n(x)are the associated Legendre polynomials [20] Pm n(x) = (−1)m 2nn!(1−x2)m/2dn+m dxn+m(x2−1)n,p0 0(x, θ ) = 1 2√ π .(33) #249995 Received 16 Sep 2015; revised 18 Nov 2015; accepted 1 Dec 2015; published 3 Mar 2016 (C) 2016 OSA 7 Mar 2016 | Vol. 24, No. 5 | DOI:10.1364/OE.24.005448 | OPTICS EXPRESS 5455 They are an orthonormal basis of L2 µ ([−1,1]×[0,2 π ]) with measure d µ =dxd θ . We choose the conicoid q0 0(r)given in Eq. (14) as first approximation of the surface. Then, from equation Eq. (5), and using the value of C0 0given in Eq. (29), we have ϕ (r)given in Eq. (17). Therefore, the set {qm n(r, θ )}m=−n,...,n n=0,1,2,... is a quasi-orthonormal basis of L2 ν (D)with d ν =rdrd θ , qm n(r, θ ) = 2Cnsign(b)s2a2−2sL2r2 2a2−sL2pm n2r2 2a2−sL22a2−sL2r2−1, θ (34) and, in particular, q0 0(r) = bp1−sL2r2/a2. Figure 2 shows the first functions (up to n=4, and m≥0) for r∈[0,1], θ ∈[0,2 π ],s=1, a=b=1 and L=1/2. Fig. 2. First functions qm n(r, θ )(see Eq. (34)) for the case of the spherical harmonics and q0 0(r) = p1−r2/4. The rows represent the ascending order from n=0 to n=4, the columns are the positive values of mfrom m=0 to m=n. 4. Implementation and examples For the numerical implementation and testing of the new basis proposed in Sections 2 and 3, we consider a Gaussian surface, as it is expected to require higher order expansions to obtain reasonable accuracies. In the first test, we use a rotationally symmetric Gaussian surface to compare with Forbes polynomials for the 1D case. The second test considers the same symmetric Gaussian surface to establish a comparison with our new basis in 2D, and the basis in 1D and Zernike polynomials.Finally, in the third test we use a non-symmetric elliptic Gaussian surface to compare our 2D system with Forbes and Zernike polynomials. In all the examples, we use the least square approximation for computing the coefficients. #249995 Received 16 Sep 2015; revised 18 Nov 2015; accepted 1 Dec 2015; published 3 Mar 2016 (C) 2016 OSA 7 Mar 2016 | Vol. 24, No. 5 | DOI:10.1364/OE.24.005448 | OPTICS EXPRESS 5456