# Patent

## Title
Simulation of aerial images

## Abstract

A method for generating a simulated aerial image of a mask projected by an optical system includes determining a coherence characteristic of the optical system. A coherent decomposition of the optical system is computed based on the coherence characteristic. The decomposition includes a series of expansion functions having angular and radial components that are expressed as explicit functions. The expansion functions are convolved with a transmission function of the mask in order to generate the simulated aerial image.

## Background
CROSS-REFERENCE TO RELATED APPLICATION
This application is related to another U.S. patent application, filed on even date, entitled “System and Method for Simulating an Aerial Image,” which is assigned to the assignee of the present patent application and whose disclosure is incorporated herein by reference.
FIELD OF THE INVENTION
The present invention relates generally to photolithography, and specifically to simulation of aerial images produced by projecting a mask onto a target surface.
BACKGROUND OF THE INVENTION
Photolithography is an essential tool in reproduction of fine patterns on a substrate, and is very widely used in production of microelectronic devices. As the design rules used in such devices become ever finer, mask designers must increasingly resort to reticle enhancement technologies, such as the use of serifs, assist lines and phase shift masks, in order to project the desired pattern onto the device substrate. The aerial image that is actually formed on the substrate is a complex function of the characteristics of the illumination source and optics that are used in the lithographic process and of diffraction and interference effects caused by the structures on the mask itself. Mask designers need simulation systems that model these effects in order to predict the pattern that will be formed on the substrate by particular arrangements of mask features.
Simulation of the aerial image is complicated by the fact that practical lithography systems use partially-coherent illumination. For optical systems that are nearly paraxial, the intensity of the aerial image at the image plane with partially-coherent illumination of the mask is given by the well-known Hopkins formula:




  
    
      
        
          I
          ⁡
          
            (
            
              x
              →
            
            )
          
        
        =
        
          
            
              ∫
              S
            
            ⁢
            
              
                
                  T
                  ⁡
                  
                    (
                    
                      η
                      →
                    
                    )
                  
                
                ·
                
                  
                    T
                    *
                  
                  ⁡
                  
                    (
                    
                      i
                      →
                    
                    )
                  
                
                ·
                
                  J
                  ⁡
                  
                    (
                    
                      
                        η
                        →
                      
                      -
                      
                        i
                        →
                      
                    
                    )
                  
                
                ·
                
                  A
                  ⁡
                  
                    (
                    
                      
                        η
                        →
                      
                      -
                      
                        x
                        →
                      
                    
                    )
                  
                
                ·
                
                  
                    A
                    *
                  
                  (
                   
                
              
              ⁢
              
                i
                →
              
            
          
          -
          
            
              x
              →
            
            ⁢
            
               
              )
            
            ⁢
            
              d
              
                η
                →
              
            
            ⁢
            
              d
              
                i
                →
              
            
          
        
      
    
    
      
        (
        1
        )
      
    
  




Here T is the transmission function of the mask; J is the mutual coherence function of the illumination source (typically the Fourier transform of the condenser aperture function); and A is the point spread function (PSF) of the projection system. Formula (1) is a quadruple integral, taken over coordinates {right arrow over (ι)}=(ι1, ι2) and {right arrow over (η)}=(η1, η2) in the mask plane. Although direct computation of this integral is possible, it becomes intractable for large-scale masks.

In order to reduce the complexity of aerial image simulation, a number of authors have suggested using optimal coherent decomposition (OCD) to approximate the optical properties of the partially-coherent imaging system as an incoherent sum of a finite number of coherent imaging systems. The aerial images that would be formed by each of the coherent imaging systems are then computed and summed together to give the total, simulated aerial image. Pati et al. provide a useful overview of OCD methods in “Exploiting Structure in Fast Aerial Image Computation for Integrated Circuit Patterns,” IEEE Transactions on Semiconductor Manufacturing 10:1 (February, 1997), pages 62-73, which is incorporated herein by reference. This article describes the use of “basis” (or building block) images, which correspond to certain types of integrated circuit patterns, in order to compute aerial images by OCD.
Von Bunau et al. describe a related method of OCD in “Optimal Coherent Decompositions for Radially Symmetric Optical Systems,” Journal of Vacuum Science and Technology B15:6 (November/December, 1997), pages 2412-2416, which is incorporated herein by reference. The authors show that for optical systems that are radially symmetrical, the point spread functions and pupil functions corresponding to each term in the OCD expansion are separable in polar coordinates. They derive analytical expressions for the angular dependence of these terms and an integral equation for the radial dependence.
A number of methods for aerial image simulation have been described in the patent literature. For example, U.S. Pat. No. 6,223,139, whose disclosure is incorporated herein by reference, describes kernel-based fast aerial image computation for a large-scale design of integrated circuit patterns. The method is based on determining an appropriate sampling range and sampling interval for use in generating simulated aerial images of a mask pattern, so as to enhance computation speed without sacrificing accuracy. U.S. Patent Application Publication 2002/0062206, whose disclosure is also incorporated herein by reference, describes a method for fast aerial image simulation, using a kernel that is calculated based on an orthogonal pupil projection of the parameters of the optical projection system onto a basis set. A vector is calculated based on an orthogonal mask projection of the parameters of the mask onto the basis set, and the field intensity distribution in the image plane is then calculated using the kernel and the vector.
SUMMARY OF THE INVENTION
Embodiments of the present invention provide improved methods and systems for computing a coherent decomposition of a partially-coherent optical system. The decomposition uses expansion functions, including both radial and angular components, which are expressed in explicit form, thus providing greater ease and speed of computation than OCD methods known in the art. The methods of OCD taught by the present invention are particularly useful in simulating aerial images produced by a projection system, such as the aerial image projected by a photolithographic mask.
In some embodiments of the present invention, the radial components of the expansion functions comprise Bessel functions. These functions typically depend, inter alia, on the degree of coherence of the optical system, σ, which is expressed as a ratio of the numerical aperture (NA) of the illumination optics to the NA of the projection optics. Additionally or alternatively, the expansion functions may contain polynomial functions, such as Zernike polynomials, in order to account for the effect of aberrations in the optical system.
In some embodiments of the present invention, OCD is applied to simulate aerial images that are produced by a mask under inspection in a mask inspection system. The system reads the mask transmission function from a design database, and computes a simulated aerial image based on the transmission function and on the optical characteristics of the mask inspection system. An imaging device, such as an electronic imaging camera, captures the actual aerial image that is formed by the mask in the inspection system, and an image processor compares the actual image to the simulated image. When the processor finds a significant deviation between the actual and simulated aerial images, it notes the corresponding location on the mask as a potential defect site. This approach permits detection of defects, such as phase defects, that are not visible under direct inspection.
In other embodiments of the present invention, OCD is used to measure the aberrations of an optical projection system, by comparing a simulated aerial image to an actual aerial image of a known reference pattern. In these embodiments, the expansion functions are used to generate the simulated image assuming small aberrations of variable magnitude. The magnitude of the aberrations is then adjusted so as to fit the simulated image to the actual image. The optimal fit parameters indicate the magnitudes of the actual aberrations.
There is therefore provided, in accordance with an embodiment of the present invention, a method for generating a simulated aerial image of a mask projected by an optical system, including:
determining a coherence characteristic of the optical system;
computing a coherent decomposition of the optical system based on the coherence characteristic, the decomposition including a series of expansion functions having angular and radial components that are expressed as explicit functions; and
convolving the expansion functions with a transmission function of the mask in order to generate the simulated aerial image.
Typically, determining the coherence characteristic includes calculating a coherence ratio of the optical system. In a disclosed embodiment, the expansion functions are components of eigenfunctions of a kernel function representing characteristics of the optical system, and computing the coherent decomposition includes determining the expansion functions without computing eigenvalues of the kernel function.
In some embodiments, computing the coherent decomposition includes determining one or more aberrations of the optical system, and computing the expansion functions responsively to the aberrations. Typically, determining the one or more aberrations includes representing a point spread function (PSF) of the optical system as a series of aberration terms having respective coefficients, and computing the expansion functions includes calculating the expansion functions responsively to the respective coefficients of the aberration terms. In one embodiment, calculating the expansion functions includes expressing the PSF as a Taylor series in terms of the coefficients of the aberration terms. Additionally or alternatively, computing the expansion functions includes calculating the expansion functions responsively to a defocus of the optical system.
There is also provided, in accordance with an embodiment of the present invention, a method for generating a simulated aerial image of a mask projected by an optical system, including:
defining a kernel function representing characteristics of the optical system;
computing a coherent decomposition of the optical system into a series of expansion functions, which are components of eigenfunctions of the kernel function, without computing eigenvalues of the kernel function; and
convolving the expansion functions with a transmission function of the mask in order to generate the simulated aerial image.
There is additionally provided, in accordance with an embodiment of the present invention, a method for inspecting a mask, including:
projecting radiation through the mask using an optical system so as to form an actual aerial image;
deriving a transmission function from a design of the mask;
generating a simulated aerial image by convolving a mathematical model of the optical system with the transmission function; and
comparing the simulated aerial image to the actual aerial image in order to identify a defect in the mask.
There is further provided, in accordance with an embodiment of the present invention, a method for determining characteristics of an optical system, including:
projecting radiation through a mask using the optical system so as to form a reference aerial image;
generating a simulated aerial image by convolving a transmission function of the mask with a mathematical model of the optical system, the model including a variable parameter representative of a magnitude of an aberration of the optical system; and
comparing the simulated aerial image to the reference aerial image in order to determine the magnitude of the aberration.
In some embodiments, comparing the simulated aerial image to the reference aerial image includes defining an error function responsively to a difference between the simulated aerial image to the reference aerial image, and varying the parameter so as to minimize the error function. Typically, generating the simulated aerial image includes representing a point spread function (PSF) of the optical system as a series of aberration terms having respective coefficients, and varying the parameter includes adjusting the respective coefficients of the aberration terms. In one embodiment, representing the PSF includes expressing the PSF as a Taylor series in terms of the coefficients of the aberration terms.
In another embodiment, generating the simulated aerial image includes representing a point spread function (PSF) of the optical system in terms of a defocus of the optical system, and varying the parameter includes determining a magnitude of the defocus. Typically, representing he PSF includes expressing the PSF as a product of a first series of first terms representing the defocus by a second series of second terms representing the aberration.
In a disclosed embodiment, generating the simulated aerial image includes determining a coherence characteristic of the optical system, and creating the mathematical model as a coherent decomposition of the optical system based on the coherence characteristic, the decomposition including a series of expansion functions having angular and radial components that are expressed as explicit functions. Additionally or alternatively, generating the simulated aerial image includes defining a kernel function representing characteristics of the optical system, an creating the mathematical model as a coherent decomposition of the optical system into a series of expansion functions, which are components of eigenfunctions of the kernel function, without computing eigenvalues of the kernel function.
There is moreover provided, in accordance with an embodiment of the present invention, apparatus for generating a simulated aerial image of a mask projected by an optical system, including:
a memory, which is arranged to store a transmission function of a mask; and
an image processor, which is adapted to compute a coherent decomposition of the optical system based on a coherence characteristic of the optical system, the decomposition including a series of expansion functions having angular and radial components that are expressed as explicit functions, to read the transmission function from the memory, and to convolve the expansion functions with the transmission function in order to generate the simulated aerial image.
There is furthermore provided, in accordance with an embodiment of the present invention, apparatus for generating a simulated aerial image of a mask projected by an optical system, including:
a memory, which is arranged to store a transmission function of a mask; and
an image processor, which is adapted to receive a definition of a kernel function representing characteristics of the optical system, and to compute a coherent decomposition of the optical system into a series of expansion functions, which are components of eigenfunctions of the kernel function, without computing eigenvalues of the kernel function, and to read the transmission from the memory and convolve the expansion functions with the transmission function in order to generate the simulated aerial image.
There is also provided, in accordance with an embodiment of the present invention, apparatus for inspecting a mask, including:
an optical system, which is adapted to project radiation through the mask so as to form an actual aerial image; and
an image processor, which is coupled to receive the actual aerial image and is adapted, responsively to a transmission function derived from a design of the mask, to generate a simulated aerial image by convolving a mathematical model of the optical system with the transmission function, and to compare the simulated aerial image to the actual aerial image in order to identify a defect in the mask.
There is additionally provided, in accordance with an embodiment of the present invention, apparatus for determining characteristics of an optical system, including:
an imaging device, which is arranged capture a reference aerial image formed by projecting radiation through a mask using the optical system; and
an image processor, which is adapted to generate a simulated aerial image by convolving a transmission function of the mask with a mathematical model of the optical system, the model including a variable parameter representative of a magnitude of an aberration of the optical system, and to compare the simulated aerial image to the reference aerial image in order to determine the magnitude of the aberration.
There is further provided, in accordance with an embodiment of the present invention, a computer software product for generating a simulated aerial image of a mask projected by an optical system, the product including a computer-readable medium in which program instructions are stored, which instructions, when read by a computer, cause the computer to compute a coherent decomposition of the optical system based on a coherence characteristic of the optical system, the decomposition including a series of expansion functions having angular and radial components that are expressed as explicit functions, and to convolve the expansion functions with a transmission function of the mask in order to generate the simulated aerial image.
There is moreover provided, in accordance with an embodiment of the present invention, a computer software product for generating a simulated aerial image of a mask projected by an optical system, the product including a computer-readable medium in which program instructions are stored, which instructions, when read by a computer, cause the computer to compute a coherent decomposition of the optical system into a series of expansion functions, which are components of eigenfunctions of a kernel function representing characteristics of the optical system, without computing eigenvalues of the kernel function, and to convolve the expansion functions with a transmission function of the mask in order to generate the simulated aerial image.
There is furthermore provided, in accordance with an embodiment of the present invention, a computer software product for use in inspection of a mask, the product including a computer-readable medium in which program instructions are stored, which instructions, when read by a computer, cause the computer to receive an actual aerial image of the mask projected by an optical system, and responsively to a transmission function derived from a design of the mask, to generate a simulated aerial image by convolving a mathematical model of the optical system with the transmission function, and to compare the simulated aerial image to the actual aerial image in order to identify a defect in the mask.
There is also provided, in accordance with an embodiment of the present invention, a computer software product for determining characteristics of an optical system, the product including a computer-readable medium in which program instructions are stored, which instructions, when read by a computer, cause the computer to receive a reference aerial image formed by projecting radiation through a mask using the optical system, and to generate a simulated aerial image by convolving a transmission function of the mask with a mathematical model of the optical system, the model including a variable parameter representative of a magnitude of an aberration of the optical system, and to compare the simulated aerial image to the reference aerial image in order to determine the magnitude of the aberration.
The present invention will be more fully understood from the following detailed description of the embodiments thereof, taken together with the drawings in which:



BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 is a schematic side view of a system for mask projection and inspection, in accordance with an embodiment of the present invention;
FIG. 2 is a flow chart that schematically illustrates a method for aerial image simulation, in accordance with an embodiment of the present invention;
FIG. 3 is a plot showing eigenvalues of an OCD expansion, in accordance with an embodiment of the present invention;
FIGS. 4A-4D are plots that schematically illustrate eigenfunctions found in an OCD expansion, in accordance with an embodiment of the present invention;
FIG. 5 is a flow chart that schematically illustrates a method for computing expansion functions for use in simulating an aerial image, in accordance with an embodiment of the present invention;
FIGS. 6A and 6B are plots of simulated aerial image intensity, in accordance with an embodiment of the present invention; and
FIG. 7 is a flow chart that schematically illustrates a method for measuring aberrations of an optical system, in accordance with an embodiment of the present invention.



DETAILED DESCRIPTION OF EMBODIMENTS
FIG. 1 is a schematic side view of a system 20 for projection of a mask 22 onto a target plane 24, in accordance with an embodiment of the present invention. Typically, mask 22 embodies a predetermined design for a thin film layer that is to be formed by photolithography on a substrate at plane 24, as is known in the art. The design is characterized by a complex transmission function T({right arrow over (x)}). Alternatively, system 20 may be used in projection of patterns of other types, and the term “mask” should be understood to comprise substantially any sort of object carrying a pattern that can be projected in this manner onto a target plane. Furthermore, the principles of the present invention may also be applied in projection systems that are based on reflection of radiation from mask 22, as well as other types of systems that use optical projection and/or microscopy.
An illumination source 26 emits radiation, which typically comprises visible, ultraviolet or infrared radiation. A condenser lens 28, having an aperture 30, focuses the light from source 26 through mask 22. A projection lens 32, having an aperture 34, focuses an aerial image of mask 22 onto plane 24. Typically, lenses 28 and 32 comprise complex, multi-element lenses. The respective apertures 30 and 34 and respective distances of lenses 28 and 32 from mask 22 define respective numerical apertures, NAillumuination and NAaperture, as is known in the art. The coherence ratio of system 20 is then given by:




  
    
      
        σ
        =
        
          
            NA
            illumination
          
          
            NA
            projection
          
        
      
    
    
      
        (
        2
        )
      
    
  




More generally, the term NAaperture may be replaced by the numerical aperture of the collection optics, NAcollection. Typically, the higher the coherence of the illumination, the lower will be the value of σ.

System 20 may be used, as well, for inspection of mask 22, typically for purposes of detecting mask defects. In this case, an electronic imaging device, such as a video camera 36, captures the actual aerial image formed at plane 24 with high resolution. An image processor 37 generates a simulated aerial image, based on the known design of mask 22, which is stored in a design database 38. The mask design determines the transmission function T({right arrow over (x)}). The simulated aerial image is computed, using novel techniques that are described hereinbelow, based on T({right arrow over (x)}) and on the optical characteristics of system 20. Image processor 37 compares the actual aerial image to the simulated aerial image, in order to detect discrepancies between the two, which may be indicative of defects in mask 22. Generally speaking, the image processor marks the locations of these defects for further inspection, cleaning or repair, as appropriate.
Image processor 37 typically comprises a general-purpose computer, which performs the functions described in the present patent application under the control of suitable software. The software may be downloaded to the computer in electronic form, over a network, for example, or it may alternatively be provided on tangible media, such as optical, magnetic or non-volatile electronic storage media. Alternatively or additionally, at least some of the functions of the image processor may be performed by dedicated or programmable hardware components, such as a digital signal processor.
FIG. 2 is a flow chart that schematically illustrates a method for aerial image simulation, in accordance with an embodiment of the present invention. The simulated aerial image that is determined in this fashion may be used for finding defects in mask 22, as described above. Alternatively, the simulated aerial image may be used for other purposes, such as testing the expected performance of mask 22 during the design stage to verify that the mask will create the precise, desired features by photolithography on a semiconductor wafer. Further alternatively or additionally, the simulated aerial image may be used in measuring optical aberrations in system 20, as described hereinbelow with reference to FIG. 7. Other applications of these simulated aerial images will be apparent to those skilled in the art.
As a preliminary step, processor 37 reads data defining the design of mask 22 from database 38, at a mask transmission input step 40. The data may include the actual transmission function T({right arrow over (x)}) of the mask. Alternatively, the processor may compute the transmission function in a straightforward manner based on the layout of opaque and phase-shifting elements in the mask design. Processor 37 also reads in or determines calibration data regarding projection system 20, at a system parameter input step 42. These data enable the processor to calculate the coherence ratio of the system, as given by equation (2). In addition, to the extent that known aberrations in projection lens 32 are to be taken into account, as described hereinbelow with reference to FIG. 5, the calibration data may include a model of the aberrations.
Based on the optical characteristics of system 20, processor 37 computes a set of expansion functions for use in modeling aerial images produced by the system, at an expansion step 44. The derivation of these expansion functions is described in detail in Appendix A. Briefly, in an ideal, cylindrically-symmetrical system, without aberrations, the functions and coordinates appearing in the Hopkins formula (equation (1)) may be expressed in polar coordinates as follows:




  
    
      
        
          
            
              
                A
                ⁡
                
                  (
                  
                    η
                    ⇀
                  
                  )
                
              
              =
              
                
                  
                    J
                    1
                  
                  ⁡
                  
                    (
                    
                      ρ
                      1
                    
                    )
                  
                
                
                  ρ
                  1
                
              
            
            ;
            
              
                A
                ⁡
                
                  (
                  
                    ι
                    ⇀
                  
                  )
                
              
              =
              
                
                  
                    J
                    1
                  
                  ⁡
                  
                    (
                    
                      ρ
                      2
                    
                    )
                  
                
                
                  ρ
                  2
                
              
            
            ;
          
          ⁢
          
            

          
          ⁢
          
            
              
                J
                ⁡
                
                  (
                  
                    
                    
                      
                        η
                        ⇀
                      
                      -
                      
                        ι
                        ⇀
                      
                    
                    
                  
                  )
                
              
              =
              
                
                  
                    J
                    1
                  
                  ⁡
                  
                    (
                    
                      σ
                      ⁢
                      
                        
                          
                            ρ
                            1
                          
                          +
                          
                            ρ
                            2
                          
                          -
                          
                            2
                            ⁢
                            
                              
                            
                            ⁢
                            
                              ρ
                              1
                            
                            ⁢
                            
                              ρ
                              2
                            
                            ⁢
                            
                              
                            
                            ⁢
                            
                              cos
                              ⁡
                              
                                (
                                θ
                                )
                              
                            
                          
                        
                      
                    
                    )
                  
                
                
                  σ
                  ⁢
                  
                    
                      
                        ρ
                        1
                      
                      +
                      
                        ρ
                        2
                      
                      -
                      
                        2
                        ⁢
                        
                          
                        
                        ⁢
                        
                          ρ
                          1
                        
                        ⁢
                        
                          ρ
                          2
                        
                        ⁢
                        
                          
                        
                        ⁢
                        
                          cos
                          ⁡
                          
                            (
                            θ
                            )
                          
                        
                      
                    
                  
                
              
            
            ;
          
          ⁢
          
            

          
          ⁢
          
            
              η
              x
            
            =
            
              
                ρ
                1
              
              ⁢
              
                
              
              ⁢
              
                cos
                ⁡
                
                  (
                  
                    θ
                    1
                  
                  )
                
              
            
          
          ;
          
            
              η
              y
            
            =
            
              
                ρ
                1
              
              ⁢
              
                
              
              ⁢
              
                sin
                ⁡
                
                  (
                  
                    θ
                    1
                  
                  )
                
              
            
          
          ;
        
        ⁢
        
          

        
        ⁢
        
          
            
              ι
              x
            
            =
            
              
                ρ
                2
              
              ⁢
              
                
              
              ⁢
              
                cos
                ⁡
                
                  (
                  
                    θ
                    2
                  
                  )
                
              
            
          
          ;
          
            
              ι
              y
            
            =
            
              
                ρ
                2
              
              ⁢
              
                
              
              ⁢
              
                sin
                ⁡
                
                  (
                  
                    θ
                    2
                  
                  )
                
              
            
          
          ;
        
        ⁢
        
          

        
        ⁢
        
          
            θ
            =
            
              
                θ
                1
              
              -
              
                θ
                2
              
            
          
          ;
        
      
    
    
      
        (
        3
        )
      
    
  




In these equations, J1 is the first-order Bessel function, and ρ is a normalized radial coordinate given by:





  
    
      
        ρ
        =
        
          
            
              2
              ⁢
              π
            
            λ
          
          ⁢
          
            
              NA
              projection
            
            ·
            
              
                (
                
                  
                    x
                    2
                  
                  +
                  
                    y
                    2
                  
                
                )
              
            
          
        
      
    
    
      
        (
        4
        )
      
    
  




The transmission function T may similarly be converted to polar coordinates.

The part of the Hopkins formula that is dependent on the optical system can be expressed in terms of an optimal coherent decomposition (OCD) of a kernel K into a truncated series of eigenfunctions φi:




  
    
      
        
          
            
              
                K
                ⁡
                
                  (
                  
                    
                      ρ
                      1
                    
                    ,
                    
                      ρ
                      2
                    
                    ,
                    
                      θ
                      1
                    
                    ,
                    
                      θ
                      2
                    
                  
                  )
                
              
              =
              
                
                  A
                  ⁡
                  
                    (
                    
                      η
                      ⇀
                    
                    )
                  
                
                ·
                
                  
                    A
                    *
                  
                  ⁡
                  
                    (
                    
                      ι
                      ⇀
                    
                    )
                  
                
                ·
                
                  J
                  ⁡
                  
                    (
                    
                      
                      
                        
                          η
                          ⇀
                        
                        -
                        
                          ι
                          ⇀
                        
                      
                      
                    
                    )
                  
                
              
            
          
        
        
          
            
              =
              
                
                  ∑
                  
                    i
                    =
                    1
                  
                  n
                
                ⁢
                
                  
                
                ⁢
                
                  
                    λ
                    i
                  
                  ·
                  
                    
                      φ
                      i
                    
                    ⁡
                    
                      (
                      
                        
                          ρ
                          1
                        
                        ,
                        
                          θ
                          1
                        
                      
                      )
                    
                  
                  ·
                  
                    
                      φ
                      i
                    
                    ⁡
                    
                      (
                      
                        
                          ρ
                          2
                        
                        ,
                        
                          θ
                          2
                        
                      
                      )
                    
                  
                
              
            
          
        
      
    
    
      
        (
        5
        )
      
    
  




The eigenvalues λi and eigenfunctions φi in equation (5) are solutions of the inhomogeneous Fredholm equation:





  
    
      
        
          
            ∫
            0
            ∞
          
          ⁢
          
            
              ∫
              0
              
                2
                ⁢
                π
              
            
            ⁢
            
              
                K
                ⁡
                
                  (
                  
                    
                      ρ
                      1
                    
                    ,
                    
                      ρ
                      2
                    
                    ,
                    
                      θ
                      1
                    
                    ,
                    
                      θ
                      2
                    
                  
                  )
                
              
              ⁢
              
                ρ
                2
              
              ⁢
              
                φ
                ⁡
                
                  (
                  
                    
                      ρ
                      2
                    
                    ,
                    
                      θ
                      2
                    
                  
                  )
                
              
              ⁢
              
                
              
              ⁢
              
                d
                
                  ρ
                  2
                
              
              ⁢
              
                
              
              ⁢
              
                d
                
                  θ
                  2
                
              
            
          
        
        =
        
          λφ
          ⁡
          
            (
            
              
                ρ
                1
              
              ,
              
                θ
                1
              
            
            )
          
        
      
    
    
      
        (
        6
        )
      
    
  




As shown in Appendix A, equation (6) can be solved explicitly, using the coherence ratio σ and equations (3), to give the following set of eigenfunctions:





  
    
      
        
          
            
              φ
              i
              m
              
                
                c
            
            ⁡
            
              (
              
                ρ
                ,
                θ
              
              )
            
          
          =
          
            
              2
            
            ⁢
            
              
                ∑
                
                  k
                  =
                  m
                
                M
              
              ⁢
              
                
              
              ⁢
              
                
                  B
                  k
                  
                    m
                    ,
                    i
                  
                
                ⁢
                
                  
                    (
                    
                      1
                      +
                      k
                    
                    )
                  
                
                ⁢
                
                  
                    
                      
                        J
                        1
                      
                      ⁡
                      
                        (
                        ρ
                        )
                      
                    
                    ρ
                  
                  ·
                  
                    
                      
                        J
                        
                          1
                          +
                          k
                        
                      
                      ⁡
                      
                        (
                        σρ
                        )
                      
                    
                    σρ
                  
                
                ⁢
                
                  cos
                  ⁡
                  
                    (
                    
                      m
                      ⁢
                      
                        
                      
                      ⁢
                      θ
                    
                    )
                  
                
              
            
          
        
        ⁢
        
          

        
        ⁢
        
          
            
              φ
              i
              m
              
                
                s
            
            ⁡
            
              (
              
                ρ
                ,
                θ
              
              )
            
          
          =
          
            
              2
            
            ⁢
            
              
                ∑
                
                  k
                  =
                  m
                
                M
              
              ⁢
              
                
              
              ⁢
              
                
                  B
                  k
                  
                    m
                    ,
                    i
                  
                
                ⁢
                
                  
                    (
                    
                      1
                      +
                      k
                    
                    )
                  
                
                ⁢
                
                  
                    
                      
                        J
                        1
                      
                      ⁡
                      
                        (
                        ρ
                        )
                      
                    
                    ρ
                  
                  ·
                  
                    
                      
                        J
                        
                          1
                          +
                          k
                        
                      
                      ⁡
                      
                        (
                        σρ
                        )
                      
                    
                    σρ
                  
                
                ⁢
                
                  sin
                  ⁡
                  
                    (
                    
                      m
                      ⁢
                      
                        
                      
                      ⁢
                      θ
                    
                    )
                  
                
              
            
          
        
      
    
    
      
        (
        7
        )
      
    
  




Here Jn(ρ) is the nth-order Bessel function, m≧0 is an angular index, and the terms Bkm,i are eigenvectors, whose derivation is described in detail below in Appendix A. The upper bound M is chosen heuristically so that the residual error in computation of the eigenfunctions is within a desired limit.

Reference is now made to FIGS. 3 and 4A-D, which illustrate an exemplary solution to equation (6) for a σ=0.5, in accordance with an embodiment of the present invention. FIG. 3 shows the set of eigenvalues λi, arranged as a function of the angular index m. FIGS. 4A-D show the spatial Fourier transforms of the first four eigenfunctions, i.e., the eigenfunctions that correspond to the four greatest eigenvalues, as given by equation (7). The spatial frequency ν in FIGS. 4A-D is normalized in terms of the cutoff frequency




  
    ν
    cutoff
  
  =
  
    
      
        
          NA
          projection
        
        λ
      
      ⁡
      
        [
        
          lp
          mm
        
        ]
      
    
    .
  




It can be shown that the frequency spectra of the eigenfunctions contain no components whose frequency is greater than νmax=(1+σ)νcutoff.

It will be observed that the eigenvalues shown in FIG. 3 drop rapidly with increasing order. The error incurred by truncating the OCD series of equation (5) after n terms is bounded by




  ɛ
  =
  
    
      ∑
      
        i
        =
        
          n
          +
          1
        
      
      ∞
    
    ⁢
    
      
    
    ⁢
    
      
        λ
        i
        2
      
      .
    
  




The value of n can thus be chosen based on the desired error bound in the simulated aerial image. The inventor has found that for low values of σ (about 0.3 or less), 5-10 terms are sufficient to give an error bound of 1/256, while higher values of σ require more terms, typically as many as 50 terms for a σ=0.8, for example. Furthermore, it can be shown that if m1>m2, then the first eigenvalue corresponding to angular index m1 will always be greater than the first eigenvalue corresponding to angular index m2. Therefore, it is sufficient to compute the eigenfunctions of equation (7) out to angular index n in order to be assured of including at least the first n eigenfunctions (in order of magnitude of the corresponding eigenvalues).

This result is used in determining the number of expansion functions that must be computed at step 44. The expansion functions Θm,k are defined as follows:




  
    
      
        
          
            
              φ
              i
              m
              
                
                c
            
            ⁡
            
              (
              
                ρ
                ,
                θ
              
              )
            
          
          =
          
            
              ∑
              
                k
                =
                m
              
              M
            
            ⁢
            
              
            
            ⁢
            
              
                B
                k
                
                  m
                  ,
                  i
                
              
              ⁢
              
                
                  Θ
                  
                    m
                    ,
                    k
                  
                  c
                
                ⁡
                
                  (
                  
                    ρ
                    ,
                    θ
                  
                  )
                
              
              ⁢
              
                cos
                ⁡
                
                  (
                  
                    m
                    ⁢
                    
                      
                    
                    ⁢
                    θ
                  
                  )
                
              
            
          
        
        ⁢
        
          

        
        ⁢
        
          
            
              φ
              i
              m
              
                
                s
            
            ⁡
            
              (
              
                ρ
                ,
                θ
              
              )
            
          
          =
          
            
              ∑
              
                k
                =
                m
              
              M
            
            ⁢
            
              
            
            ⁢
            
              
                B
                k
                
                  m
                  ,
                  i
                
              
              ⁢
              
                
                  Θ
                  
                    m
                    ,
                    k
                  
                  s
                
                ⁡
                
                  (
                  
                    ρ
                    ,
                    θ
                  
                  )
                
              
              ⁢
              
                sin
                ⁡
                
                  (
                  
                    m
                    ⁢
                    
                      
                    
                    ⁢
                    θ
                  
                  )
                
              
            
          
        
      
    
    
      
        (
        8
        )
      
    
  




So that:





  
    
      
        
          
            
              Θ
              
                m
                ,
                k
              
              c
            
            ⁡
            
              (
              
                ρ
                ,
                θ
              
              )
            
          
          ≡
          
            
              
                (
                
                  1
                  +
                  k
                
                )
              
            
            ⁢
            
              
                
                  
                    J
                    1
                  
                  ⁡
                  
                    (
                    ρ
                    )
                  
                
                ρ
              
              ·
              
                
                  
                    J
                    
                      1
                      +
                      k
                    
                  
                  ⁡
                  
                    (
                    σρ
                    )
                  
                
                σρ
              
            
            ⁢
            
              cos
              ⁡
              
                (
                
                  m
                  ⁢
                  
                    
                  
                  ⁢
                  θ
                
                )
              
            
          
        
        ⁢
        
          

        
        ⁢
        
          
            
              Θ
              
                m
                ,
                k
              
              s
            
            ⁡
            
              (
              
                ρ
                ,
                θ
              
              )
            
          
          ≡
          
            
              
                (
                
                  1
                  +
                  k
                
                )
              
            
            ⁢
            
              
                
                  
                    J
                    1
                  
                  ⁡
                  
                    (
                    ρ
                    )
                  
                
                ρ
              
              ·
              
                
                  
                    J
                    
                      1
                      +
                      k
                    
                  
                  ⁡
                  
                    (
                    σρ
                    )
                  
                
                σρ
              
            
            ⁢
            
              sin
              ⁡
              
                (
                
                  m
                  ⁢
                  
                    
                  
                  ⁢
                  θ
                
                )
              
            
          
        
      
    
    
      
        (
        9
        )
      
    
  




In other words, the expansion functions are determined independently of the eigenvectors of equation (5). Alternatively, the eigenfunctions themselves, as given by equation (7), for example, may be used as the expansion functions.

Returning to equations (1) and (5), the aerial image intensity at each point in target plane 24 is given by:




  
    
      
        
          
            
              
                I
                ⁡
                
                  (
                  
                    x
                    ⇀
                  
                  )
                
              
              =
              
                T
                ⊗
                K
              
            
          
        
        
          
            
              =
              
                
                  ∑
                  
                    m
                    =
                    0
                  
                  M
                
                ⁢
                
                  
                
                ⁢
                
                  
                    ∑
                    
                      i
                      =
                      1
                    
                    n
                  
                  ⁢
                  
                    
                  
                  ⁢
                  
                    
                      λ
                      i
                    
                    ⁢
                    
                      {
                      
                        
                          
                            
                            
                              T
                              ⊗
                              
                                φ
                                i
                                m
                                
                                  
                                  C
                              
                            
                            
                          
                          2
                        
                        +
                        
                          
                            
                            
                              T
                              ⊗
                              
                                φ
                                i
                                m
                                
                                  
                                  S
                              
                            
                            
                          
                          2
                        
                      
                      }
                    
                  
                
              
            
          
        
      
    
    
      
        (
        10
        )
      
    
  




wherein the symbol {circle around (×)} represents convolution. In order to carry out this computation without having to compute the actual eigenvalues, processor 37 convolves the transmission function of mask 22 with the expansion functions of the optical system, at a convolution step 46, giving the convolution components:

ψm,iC(ρ,θ)≡Θm,kc(ρ,θ){circle around (×)}T(ρ,θ)

ψm,iS(ρ,θ)≡Θm,ks(ρ,θ){circle around (×)}T(ρ,θ)  (11)

wherein i=k−m. Due to the orthogonality of the eigenvectors, substitution of the expansion functions into equation (10) in place of the eigenfunctions permits the equation to be rewritten in terms of the convolution components:





  
    
      
        
          I
          ⁡
          
            (
            
              x
              ⇀
            
            )
          
        
        =
        
          
            
              ∑
              
                m
                =
                0
              
              M
            
            ⁢
            
              
            
            ⁢
            
              
                ∑
                
                  i
                  =
                  1
                
                n
              
              ⁢
              
                
              
              ⁢
              
                
                  
                  
                    ψ
                    
                      m
                      ,
                      i
                    
                    c
                  
                  
                
                2
              
            
          
          +
          
            
              
              
                ψ
                
                  m
                  ,
                  i
                
                s
              
              
            
            2
          
        
      
    
    
      
        (
        12
        )
      
    
  




Thus, the aerial image intensity may be computed explicitly, to arbitrary precision, based on the expansion functions Θm,k and the known mask transmission function T.

FIG. 5 is a flow chart that schematically illustrates a method for computing the expansion functions (at step 44 in FIG. 2) to take into account aberrations in system 20, in accordance with an embodiment of the present invention. In the derivation above, ideal optics were assumed in equations (3), so that the point spread function (PSF) of the projection system could be expressed as




  
    
      A
      ⁡
      
        (
        
          ρ
          ,
          θ
        
        )
      
    
    =
    
      
        
          J
          1
        
        ⁡
        
          (
          ρ
          )
        
      
      ρ
    
  
  ,




leading to the form of the eigenfunctions that is given above in equations (7). Alternatively, however, the full polar form of the PSF may be carried through the derivation, leading to the more general form of the eigenfunctions:





  
    
      
        
          
            
              φ
              i
              m
              
                
                c
            
            ⁡
            
              (
              
                ρ
                ,
                θ
              
              )
            
          
          =
          
            
              2
            
            ⁢
            
              
                ∑
                
                  k
                  =
                  1
                
                M
              
              ⁢
              
                
              
              ⁢
              
                
                  B
                  k
                  
                    m
                    ,
                    i
                  
                
                ⁢
                
                  
                    
                      (
                      
                        1
                        +
                        k
                      
                      )
                    
                  
                  ·
                  
                    A
                    ⁡
                    
                      (
                      
                        ρ
                        ,
                        θ
                      
                      )
                    
                  
                
                ⁢
                
                  
                    
                      J
                      
                        1
                        +
                        k
                      
                    
                    ⁡
                    
                      (
                      σρ
                      )
                    
                  
                  σρ
                
                ⁢
                
                  cos
                  ⁡
                  
                    (
                    
                      
                        (
                        
                          k
                          -
                          
                            2
                            ⁢
                            
                              
                            
                            ⁢
                            m
                          
                        
                        )
                      
                      ⁢
                      θ
                    
                    )
                  
                
              
            
          
        
        ⁢
        
          

        
        ⁢
        
          
            
              φ
              i
              m
              
                
                s
            
            ⁡
            
              (
              
                ρ
                ,
                θ
              
              )
            
          
          =
          
            
              2
            
            ⁢
            
              
                ∑
                
                  k
                  =
                  1
                
                M
              
              ⁢
              
                
              
              ⁢
              
                
                  B
                  k
                  
                    m
                    ,
                    i
                  
                
                ⁢
                
                  
                    
                      (
                      
                        1
                        +
                        k
                      
                      )
                    
                  
                  ·
                  
                    A
                    ⁡
                    
                      (
                      
                        ρ
                        ,
                        θ
                      
                      )
                    
                  
                
                ⁢
                
                  
                    
                      J
                      
                        1
                        +
                        k
                      
                    
                    ⁡
                    
                      (
                      σρ
                      )
                    
                  
                  σρ
                
                ⁢
                
                  sin
                  ⁡
                  
                    (
                    
                      
                        (
                        
                          k
                          -
                          
                            2
                            ⁢
                            
                              
                            
                            ⁢
                            m
                          
                        
                        )
                      
                      ⁢
                      θ
                    
                    )
                  
                
              
            
          
        
      
    
    
      
        [
        
          equation
          ⁢
          
            
          
          ⁢
          
            (
            13
            )
          
        
        ]
      
    
  




Thus, in the embodiment shown in FIG. 5, in order to compute the expansion functions, processor 37 receives a definition of the optical aberrations of system 20, at an aberration definition step 50. Based on these aberrations, the processor calculates the PSF of the system, A(ρ,θ), at a PSF determination step 52. For small aberrations, the PSF may be expressed as a combination of Bessel functions representing the aberrations that are present in the system:




  
    
      
        
          
            A
            astigmatic
          
          ≈
          
            
              
                2
                ⁢
                
                  
                
                ⁢
                
                  
                    J
                    1
                  
                  ⁡
                  
                    (
                    ρ
                    )
                  
                
              
              ρ
            
            -
            
              i
              ⁢
              
                
              
              ⁢
              
                α
                astig
              
              ⁢
              
                
                  2
                  ⁢
                  
                    
                  
                  ⁢
                  
                    
                      J
                      3
                    
                    ⁡
                    
                      (
                      ρ
                      )
                    
                  
                
                ρ
              
              ⁢
              
                cos
                ⁡
                
                  (
                  
                    2
                    ⁢
                    
                      
                    
                    ⁢
                    θ
                  
                  )
                
              
            
          
        
        ⁢
        
          

        
        ⁢
        
          
            A
            coma
          
          ≈
          
            
              
                2
                ⁢
                
                  
                
                ⁢
                
                  
                    J
                    1
                  
                  ⁡
                  
                    (
                    ρ
                    )
                  
                
              
              ρ
            
            -
            
              
                α
                coma
              
              ⁢
              
                
                  2
                  ⁢
                  
                    
                  
                  ⁢
                  
                    
                      J
                      4
                    
                    ⁡
                    
                      (
                      ρ
                      )
                    
                  
                
                ρ
              
              ⁢
              cos
              ⁢
              
                
              
              ⁢
              θ
            
          
        
        ⁢
        
          

        
        ⁢
        
          
            A
            spherical
          
          ≈
          
            
              
                2
                ⁢
                
                  
                
                ⁢
                
                  
                    J
                    1
                  
                  ⁡
                  
                    (
                    ρ
                    )
                  
                
              
              ρ
            
            +
            
              i
              ⁢
              
                
              
              ⁢
              
                α
                spherical
              
              ⁢
              
                
                  2
                  ⁢
                  
                    
                  
                  ⁢
                  
                    
                      J
                      5
                    
                    ⁡
                    
                      (
                      ρ
                      )
                    
                  
                
                ρ
              
            
          
        
      
    
    
      
        (
        14
        )
      
    
  




In each of these equations, α represents the magnitude of the corresponding aberration. Based on these equations, it is possible to use expressions for the eigenfunctions φ or expansion functions Θ in calculating the simulated aerial image.

Alternatively, the PSF of system 20 may be expressed as the truncated Fourier transform (limited to the radial range from 0 to 1) of the aperture function:




  
    
      
        
          A
          ⁡
          
            (
            
              ρ
              ,
              θ
            
            )
          
        
        =
        
          
            i
            λ
          
          ⁢
          
            E
            ·
            
              NA
              2
            
          
          ⁢
          
            e
            
              
                i
                ·
                
                  NA
                  2
                
              
              ⁢
              u
            
          
          ⁢
          
            
              ∫
              0
              1
            
            ⁢
            
              
                ∫
                0
                
                  2
                  ⁢
                  π
                
              
              ⁢
              
                η
                ·
                
                  
                
                ⁢
                
                  d
                  η
                
                ·
                
                  
                
                ⁢
                
                  d
                  φ
                
                ·
                
                  e
                  
                    i
                    ⁡
                    
                      [
                      
                        
                          
                            -
                            ηρ
                          
                          ⁢
                          
                            
                          
                          ⁢
                          
                            cos
                            ⁡
                            
                              (
                              
                                θ
                                -
                                φ
                              
                              )
                            
                          
                        
                        +
                        
                          k
                          ⁢
                          
                            
                          
                          ⁢
                          
                            Φ
                            ⁡
                            
                              (
                              
                                
                                  Y
                                  *
                                
                                ,
                                φ
                                ,
                                η
                              
                              )
                            
                          
                        
                        -
                        
                          
                            1
                            2
                          
                          ⁢
                          u
                          ⁢
                          
                            
                          
                          ⁢
                          
                            η
                            2
                          
                        
                      
                      ]
                    
                  
                
              
            
          
        
      
    
    
      
        [
        
          equation
          ⁢
          
            
          
          ⁢
          
            (
            15
            )
          
        
        ]
      
    
  




In this equation:

    E is the field amplitude.
    k is the wave number, i.e.






  k
  =
  
    
      
        2
        ⁢
        π
      
      λ
    
    .
  




    u is the normalized defocus, i.e. u=k·NA2·z, wherein z is the actual defocus distance.
    Φ is the phase aberration function.
    Y* is the coordinate of the object point

Equation (15) may be integrated, using a suitable representation for Φ, in order to determine A(ρ,θ) completely.



For sufficiently small enough object area, it can generally be assumed that Φ does not depend on Y*. In this case, Φ(ρ,θ) can be expanded in a series of Zernike polynomials Rnm, as described, for example, by Born & Wolf in Principles of Optics, 4th edition (Pergamon Press, 1970), in section 9.2, pages 464-467, which is incorporated herein by reference. Zernike representations of common aberrations include:







TABLE I





ZERNIKE POLYNOMIALS
















Spherical aberration




  
    
      1
      
        2
      
    
    ⁢
    
      A
      040
    
    ⁢
    
      
        R
        4
        0
      
      ⁡
      
        (
        ρ
        )
      
    
  
  =
  
    
      1
      
        2
      
    
    ⁢
    
      
        A
        040
      
      ⁡
      
        (
        
          
            6
            ⁢
            
              ρ
              4
            
          
          -
          
            6
            ⁢
            
              ρ
              2
            
          
          +
          1
        
        )
      
    
  






 


Coma




  
    
      A
      031
    
    ⁢
    
      
        R
        3
        1
      
      ⁡
      
        (
        ρ
        )
      
    
    ⁢
    
      cos
      ⁡
      
        (
        θ
        )
      
    
  
  =
  
    
      
        A
        031
      
      ⁡
      
        (
        
          
            3
            ⁢
            
              ρ
              3
            
          
          -
          
            2
            ⁢
            ρ
          
        
        )
      
    
    ⁢
    cos
    ⁢
    
      
    
    ⁢
    
      (
      θ
      )
    
  






 


Astigmatism




  
    
      A
      022
    
    ⁢
    
      
        R
        2
        2
      
      ⁡
      
        (
        ρ
        )
      
    
    ⁢
    
      cos
      ⁡
      
        (
        
          2
          ⁢
          θ
        
        )
      
    
  
  =
  
    
      A
      022
    
    ⁢
    
      ρ
      2
    
    ⁢
    
      cos
      ⁡
      
        (
        
          2
          ⁢
          θ
        
        )
      
    
  













The magnitudes of the aberrations are represented by the corresponding Zernike polynomial coefficients Ala. Standard software packages for optical design are capable of computing these coefficients for substantially any design that they generate.

The actual PSF determined at step 52, including aberrations, is then used in computing the expansion functions Θm,k that are applicable to the actual system 20, at an expansion step 54:




  
    
      
        
          
            
              Θ
              
                m
                ,
                k
              
              c
            
            ⁡
            
              (
              
                ρ
                ,
                θ
              
              )
            
          
          ≡
          
            
              
                (
                
                  1
                  +
                  k
                
                )
              
            
            ⁢
            
              
                A
                ⁡
                
                  (
                  
                    ρ
                    ,
                    θ
                  
                  )
                
              
              ·
              
                
                  
                    J
                    
                      1
                      +
                      k
                    
                  
                  ⁡
                  
                    (
                    σρ
                    )
                  
                
                σρ
              
            
            ⁢
            
              cos
              ⁡
              
                [
                
                  
                    (
                    
                      k
                      -
                      
                        2
                        ⁢
                        
                          
                        
                        ⁢
                        m
                      
                    
                    )
                  
                  ⁢
                  θ
                
                ]
              
            
          
        
        ⁢
        
          

        
        ⁢
        
          
            
              Θ
              
                m
                ,
                k
              
              s
            
            ⁡
            
              (
              
                ρ
                ,
                θ
              
              )
            
          
          ≡
          
            
              
                (
                
                  1
                  +
                  k
                
                )
              
            
            ⁢
            
              
                A
                ⁡
                
                  (
                  
                    ρ
                    ,
                    θ
                  
                  )
                
              
              ·
              
                
                  
                    J
                    
                      1
                      +
                      k
                    
                  
                  ⁡
                  
                    (
                    σρ
                    )
                  
                
                σρ
              
            
            ⁢
            
              sin
              ⁡
              
                [
                
                  
                    (
                    
                      k
                      -
                      
                        2
                        ⁢
                        
                          
                        
                        ⁢
                        m
                      
                    
                    )
                  
                  ⁢
                  θ
                
                ]
              
            
          
        
      
    
    
      
        (
        16
        )
      
    
  




These expansion functions are a generalized form of the expansion functions for a perfect optical system shown in equation (9). They are convolved with the transmission function T(ρ,θ) at step 46, in order to determine the aerial image intensity I, as given by equations (11) and (12).

FIGS. 6A and 6B are plots that schematically illustrate simulated aerial image intensity calculated using the method described above, in accordance with an embodiment of the present invention. FIG. 6B is an enlarged detail of a small portion of FIG. 6A. The plots show the variation of intensity along a cross-section through a pattern of 0.5 μm lines with a pitch of 1 μm. In this example, λ=193 nm, NA=0.175 and the defocus (z) is 4 μm. The plots compare the “fast OCD” simulated image intensity, calculated using equations (11), (12) and (16), to a full “baseline” calculation computed by numerical integration of equation (1). The difference in the results of the two computations are insignificant, even though the defocus assumed in this case is substantially larger than what is normally encountered in practical photolithography and mask inspection systems. Similar results are obtained in simulation of other aberrations, such as astigmatism and coma.
FIG. 7 is a flow chart that schematically illustrates a method for determining the aberrations in an optical system, such as system 20, in accordance with an embodiment of the present invention. The method uses the expansion functions given by equation (16) in a converse manner to that described above: Whereas in the method of FIG. 5, the expansion functions are determined based on known aberrations of the optical system, in the method of FIG. 7, the expansion functions are used, together with an actual aerial image, to estimate aberrations that are not exactly known. This method may thus be used, for example, to calibrate an optical system used in mask inspection or lithography.
To estimate the aberrations in system 20, a reference aerial image Ireference is acquired by camera 36, at an image acquisition step 60. This image is acquired using mask 22 with a known reference pattern, giving a transmission function Treference. An aberration vector is defined, based on the magnitudes of the aberrations that are expected to be present in system 20, for example:

 α=(udefocus, αcoma, αspherical)  (17)

Although for the sake of simplicity, this vector includes only defocus, coma and spherical aberration components, α may be expanded to include other aberrations, as well. The PSF of system 20 may then be expressed as A(ρ,θ, α), which can be expanded in terms of the aberrations, as shown above in equation (14), for example. Other, more precise parametric representations of the PSF are described hereinbelow. The expanded form of the PSF is inserted into equation (16), so that the expansion functions Θm,k explicitly contain the magnitudes of the aberration components as variable parameters. The expansion functions are then inserted into equations (11) and (12) in order to compute a simulated aerial image Isimulated({right arrow over (x)}, α), at a simulation step 62.

The simulated aerial image, like the expansion functions on which it is based, contains the components of α as parameters. In order to determine the values of these parameters in system 20, an error function is defined, based on the actual, reference image captured at step 60:




  
    
      
        
          ɛ
          ⁡
          
            (
            
              α
              _
            
            )
          
        
        =
        
          
            ∫
            S
          
          ⁢
          
            ∫
            
              
                
                  [
                  
                    
                      
                        I
                        measured
                      
                      ⁡
                      
                        (
                        
                          x
                          ⇀
                        
                        )
                      
                    
                    -
                    
                      
                        I
                        simulated
                      
                      ⁡
                      
                        (
                        
                          
                            x
                            ⇀
                          
                          ,
                          
                            α
                            ⇀
                          
                        
                        )
                      
                    
                  
                  ]
                
                2
              
              ⁢
              
                
              
              ⁢
              
                d
                
                  x
                  ⇀
                
              
            
          
        
      
    
    
      
        (
        18
        )
      
    
  




Here the integral is taken over target plane 24. Methods of optimization known in the art may then be used to find the vector α that minimizes the error function ε, at an optimization step 64. The components of α (udefocus, αcoma, αspherical) that are found in this manner give the magnitudes of the actual aberrations in system 20.

Various methods may be used to expand the PSF A(ρ,θ, α) in terms of the aberration vector components. One method is a Taylor series:




  
    
      
        
          A
          ⁡
          
            (
            
              ρ
              ,
              θ
              ,
              
                α
                _
              
            
            )
          
        
        =
        
          
            
              A
              ⁡
              
                (
                
                  ρ
                  ,
                  θ
                
                )
              
            
            ⁢
            
              
                
              
              
                
                  α
                  _
                
                =
                0
              
            
          
          +
          
            
              
                ∇
                α
              
              ⁢
              A
            
            ⁢
            
              
                
                  
                
                
                  
                    α
                    _
                  
                  =
                  0
                
              
              ·
              Δ
            
            ⁢
            
              α
              _
            
          
          +
          
            
              1
              2
            
            ⁢
            
              
                ∇
                α
              
              ⁢
              
                
                  ∇
                  α
                
                ⁢
                A
              
            
            ⁢
            
              
                
                
                  
                    α
                    _
                  
                  =
                  0
                
              
              ⁢
              
                
                  
                    ·
                    Δ
                  
                  ⁢
                  
                    
                      α
                      _
                    
                    2
                  
                
                +
                ⋯
              
            
          
        
      
    
    
      
        (
        19
        )
      
    
  




Here the gradient ∇α is made up of the partial derivatives of A with respect to each of the components of α, and the terms of ∇α∇αA include cross derivatives, as well. Aberration-based convolution components (in place of the generalized convolution components of equation (11)), may then be defined as follows:





  
    
      
        
          
            
              
                ψ
                
                  m
                  ,
                  n
                
                
                  C
                  ,
                  0
                
              
              ⁡
              
                (
                
                  ρ
                  ,
                  θ
                  ,
                  σ
                
                )
              
            
            ≡
            
              
                
                  1
                  +
                  m
                
              
              ·
              
                
                  T
                  ⁡
                  
                    (
                    
                      ρ
                      ,
                      θ
                    
                    )
                  
                
                ⊗
                
                  {
                  
                    
                      
                        
                          
                            J
                            1
                          
                          ⁡
                          
                            (
                            ρ
                            )
                          
                        
                        ρ
                      
                      ·
                      
                        
                          
                            J
                            
                              1
                              +
                              k
                            
                          
                          ⁡
                          
                            (
                            σρ
                            )
                          
                        
                        σρ
                      
                    
                    ⁢
                    
                      cos
                      ⁡
                      
                        [
                        
                          
                            (
                            
                              k
                              -
                              
                                2
                                ⁢
                                
                                  
                                
                                ⁢
                                m
                              
                            
                            )
                          
                          ⁢
                          θ
                        
                        ]
                      
                    
                  
                  }
                
              
            
          
          ⁢
          
            

          
          ⁢
          
            
              ψ
              
                m
                ,
                n
              
              
                C
                ,
                
                  α
                  _
                
              
            
            ⁡
            
              (
              
                ρ
                ,
                θ
                ,
                σ
              
              )
            
          
          ≡
          
            
              
                1
                +
                m
              
            
            ·
            
              
                T
                ⁡
                
                  (
                  
                    ρ
                    ,
                    θ
                  
                  )
                
              
              ⊗
              
                {
                
                  
                    
                      ∇
                      α
                    
                    ⁢
                    A
                  
                  ⁢
                  
                    
                      
                        
                      
                      
                        
                          α
                          _
                        
                        =
                        0
                      
                    
                    ·
                    
                      
                        
                          J
                          
                            1
                            +
                            k
                          
                        
                        ⁡
                        
                          (
                          σρ
                          )
                        
                      
                      σρ
                    
                  
                  ⁢
                  
                    cos
                    ⁡
                    
                      [
                      
                        
                          (
                          
                            k
                            -
                            
                              2
                              ⁢
                              
                                
                              
                              ⁢
                              m
                            
                          
                          )
                        
                        ⁢
                        θ
                      
                      ]
                    
                  
                
                }
              
            
          
        
        ⁢
        
          

        
        ⁢
        
          
            
              
                ψ
                
                  m
                  ,
                  n
                
                
                  C
                  ,
                  
                    
                      α
                      _
                    
                    ⁢
                    
                      α
                      _
                    
                  
                
              
              ⁡
              
                (
                
                  ρ
                  ,
                  θ
                  ,
                  σ
                
                )
              
            
            ≡
            
              
                
                  1
                  +
                  m
                
              
              ·
              
                
                  T
                  ⁡
                  
                    (
                    
                      ρ
                      ,
                      θ
                    
                    )
                  
                
                ⊗
                
                  {
                  
                    
                      
                        ∇
                        α
                      
                      ⁢
                      
                        
                          ∇
                          α
                        
                        ⁢
                        A
                      
                    
                    ⁢
                    
                      
                        
                          
                        
                        
                          
                            α
                            _
                          
                          =
                          0
                        
                      
                      ·
                      
                        
                          
                            J
                            
                              1
                              +
                              k
                            
                          
                          ⁡
                          
                            (
                            σρ
                            )
                          
                        
                        σρ
                      
                    
                    ⁢
                    
                      cos
                      ⁡
                      
                        [
                        
                          
                            (
                            
                              k
                              -
                              
                                2
                                ⁢
                                
                                  
                                
                                ⁢
                                m
                              
                            
                            )
                          
                          ⁢
                          θ
                        
                        ]
                      
                    
                  
                  }
                
              
            
          
          ;
          ...
        
      
    
    
      
        [
        
          equation
          ⁢
          
            
          
          ⁢
          
            (
            20
            )
          
        
        ]
      
    
  




This equation defines the cosine convolution components. The sine convolution components ψm,nS,0, ψm,nS, α(ρ,θ,σ), ψm,nS, α α(ρ,θ,σ), . . . are similarly defined. Note that for a given transmission function T, the convolution components may be precomputed offline.

The simulated aerial image may then be represented in terms of the convolution components, as follows:




  
    
      
        
          
            I
            simulated
          
          ⁡
          
            (
            
              
                x
                ⇀
              
              ,
              
                α
                _
              
            
            )
          
        
        =
        
          
            
              ∑
              m
            
            ⁢
            
              
            
            ⁢
            
              
                ∑
                n
              
              ⁢
              
                
              
              ⁢
              
                
                  
                  
                    
                      ψ
                      
                        m
                        ,
                        n
                      
                      
                        C
                        ,
                        0
                      
                    
                    +
                    
                      
                        ∑
                        
                          α
                          _
                        
                      
                      ⁢
                      
                        
                      
                      ⁢
                      
                        
                          α
                          _
                        
                        ·
                        
                          ψ
                          
                            m
                            ,
                            n
                          
                          
                            C
                            ,
                            
                              α
                              _
                            
                          
                        
                      
                    
                    +
                    
                      
                        1
                        2
                      
                      ⁢
                      
                        
                          ∑
                          
                            
                              α
                              _
                            
                            ,
                            
                              α
                              _
                            
                          
                        
                        ⁢
                        
                          
                        
                        ⁢
                        
                          
                            α
                            _
                          
                          ⁢
                          
                            
                              α
                              _
                            
                            ⁢
                            
                              
                            
                            ·
                            
                              ψ
                              
                                m
                                ,
                                n
                              
                              
                                C
                                ,
                                
                                  
                                    α
                                    _
                                  
                                  ⁢
                                  
                                    α
                                    _
                                  
                                
                              
                            
                          
                        
                      
                    
                  
                  
                
                2
              
            
          
          +
          
            
              
              
                sin
                ⁢
                
                  
                
                ⁢
                terms
              
              
            
            2
          
        
      
    
    
      
        [
        
          equation
          ⁢
          
            
          
          ⁢
          
            (
            21
            )
          
        
        ]
      
    
  




This expression is inserted into equation (18), which is then minimized over the components of α.

In order to simplify the computation of the PSF and its derivatives, it is convenient to separate the defocus u out of the aberration vector α, and to express the aberrations in the PSF in terms of the Zernike polynomials Rnm, as given above in Table I, for example:




  
    
      
        
          A
          ⁡
          
            (
            
              ρ
              ,
              θ
              ,
              u
              ,
              
                α
                _
              
            
            )
          
        
        =
        
          
            ∫
            0
            
              2
              ⁢
              π
            
          
          ⁢
          
            
              ∫
              0
              1
            
            ⁢
            
              
                exp
                ⁡
                
                  (
                  
                    
                      
                        -
                        i
                      
                      ⁢
                      
                        1
                        2
                      
                      ⁢
                      u
                      ⁢
                      
                        
                      
                      ⁢
                      
                        ξ
                        2
                      
                    
                    -
                    
                      i
                      ⁢
                      
                        
                      
                      ⁢
                      ρξ
                      ⁢
                      
                        
                      
                      ⁢
                      
                        cos
                        ⁡
                        
                          (
                          
                            θ
                            -
                            φ
                          
                          )
                        
                      
                    
                    +
                    
                      i
                      ⁢
                      
                        
                      
                      ⁢
                      k
                      ⁢
                      
                        
                          ∑
                          
                            n
                            ⁢
                            
                              
                            
                            ⁢
                            m
                          
                        
                        ⁢
                        
                          
                        
                        ⁢
                        
                          
                            α
                            
                              n
                              ⁢
                              
                                
                              
                              ⁢
                              m
                            
                          
                          ⁢
                          
                            
                              R
                              n
                              m
                            
                            ⁡
                            
                              (
                              ξ
                              )
                            
                          
                          ⁢
                          cos
                          ⁢
                          
                            
                          
                          ⁢
                          m
                          ⁢
                          
                            
                          
                          ⁢
                          φ
                        
                      
                    
                  
                  )
                
              
              ⁢
              
                
              
              ⁢
              
                d
                φ
              
              ⁢
              
                
              
              ⁢
              
                d
                ξ
              
            
          
        
      
    
    
      
        [
        
          equation
          ⁢
          
            
          
          ⁢
          
            (
            22
            )
          
        
        ]
      
    
  




Here the terms at αnm represent the relevant components of α, for example α40 for spherical aberration and α31 for coma. The defocus component in the PSF may conveniently be expressed in terms of the Bauer expansion:





  
    
      
        
          
            
              
                e
                
                  
                    -
                    i
                  
                  ⁢
                  
                    1
                    2
                  
                  ⁢
                  u
                  ⁢
                  
                    
                  
                  ⁢
                  
                    ξ
                    2
                  
                
              
              =
              
                
                  e
                  
                    
                      -
                      i
                    
                    ⁢
                    
                      u
                      4
                    
                  
                
                ⁢
                
                  
                    
                      2
                      ⁢
                      π
                    
                    u
                  
                
                ⁢
                
                  
                    ∑
                    
                      s
                      =
                      0
                    
                    ∞
                  
                  ⁢
                  
                    
                  
                  ⁢
                  
                    
                      
                        (
                        
                          -
                          i
                        
                        )
                      
                      s
                    
                    ⁢
                    
                      (
                      
                        
                          2
                          ⁢
                          s
                        
                        +
                        1
                      
                      )
                    
                    ⁢
                    
                      
                        J
                        
                          s
                          +
                          
                            1
                            2
                          
                        
                      
                      ⁡
                      
                        (
                        
                          u
                          4
                        
                        )
                      
                    
                    ⁢
                    
                      
                        R
                        
                          2
                          ⁢
                          s
                        
                        0
                      
                      ⁡
                      
                        (
                        ξ
                        )
                      
                    
                  
                
              
            
          
        
        
          
            
              =
              
                
                  e
                  
                    
                      -
                      i
                    
                    ⁢
                    
                      u
                      4
                    
                  
                
                ⁢
                
                  {
                  
                    
                      
                        
                          
                            [
                            
                              
                                2
                                ⁢
                                
                                  
                                
                                ⁢
                                
                                  cos
                                  ⁡
                                  
                                    (
                                    
                                      u
                                      4
                                    
                                    )
                                  
                                
                              
                              +
                              
                                
                                  
                                    u
                                    4
                                  
                                
                                ⁢
                                
                                  
                                    J
                                    
                                      3
                                      2
                                    
                                  
                                  ⁡
                                  
                                    (
                                    
                                      u
                                      4
                                    
                                    )
                                  
                                
                              
                            
                            ]
                          
                          +
                        
                      
                    
                    
                      
                        
                          
                            
                              -
                              i
                            
                            ⁢
                            
                              
                                
                                  
                                    π
                                    ⁢
                                    
                                      
                                    
                                    ⁢
                                    u
                                  
                                  2
                                
                              
                              ⁡
                              
                                [
                                
                                  
                                    
                                      J
                                      
                                        1
                                        2
                                      
                                    
                                    ⁡
                                    
                                      (
                                      
                                        u
                                        4
                                      
                                      )
                                    
                                  
                                  +
                                  
                                    
                                      J
                                      
                                        5
                                        2
                                      
                                    
                                    ⁡
                                    
                                      (
                                      
                                        u
                                        4
                                      
                                      )
                                    
                                  
                                
                                ]
                              
                            
                            ⁢
                            
                              (
                              
                                
                                  2
                                  ⁢
                                  
                                    ξ
                                    2
                                  
                                
                                -
                                1
                              
                              )
                            
                          
                          +
                          ...
                        
                      
                    
                  
                  }
                
              
            
          
        
      
    
    
      
        (
        23
        )
      
    
  




Inserting the terms of equation (23) into equation (22) allows the PSF to be expressed as the product of a series of defocus expansion terms Ds multiplied by a Taylor expansion of the focused PSF, based on the relevant Zernike polynomial coefficients αnm:




  
    
      
        
          A
          ⁡
          
            (
            
              ρ
              ,
              θ
              ,
              u
              ,
              
                α
                _
              
            
            )
          
        
        =
        
          
            ∑
            s
          
          ⁢
          
            
          
          ⁢
          
            
              
                D
                s
              
              ⁡
              
                (
                u
                )
              
            
            ·
            
              {
              
                
                  
                    
                      A
                      s
                    
                    ⁡
                    
                      (
                      
                        ρ
                        ,
                        θ
                      
                      )
                    
                  
                  ⁢
                  
                    
                      
                    
                    
                      
                        α
                        _
                      
                      =
                      0
                    
                  
                
                +
                
                  
                    ∑
                    
                      m
                      ,
                      n
                    
                  
                  ⁢
                  
                    
                      
                        ∂
                        
                          A
                          s
                        
                      
                      
                        ∂
                        
                          α
                          
                            n
                            ⁢
                            
                              
                            
                            ⁢
                            m
                          
                        
                      
                    
                    ⁢
                    
                      
                        
                          
                        
                        
                          
                            α
                            _
                          
                          =
                          0
                        
                      
                      ·
                      Δ
                    
                    ⁢
                    
                      α
                      _
                    
                  
                
                +
                
                  
                    1
                    2
                  
                  ⁢
                  
                    
                      ∑
                      
                        m
                        ,
                        n
                      
                    
                    ⁢
                    
                      
                    
                    ⁢
                    
                      
                        ∑
                        
                          
                            m
                            ′
                          
                          ,
                          
                            n
                            ′
                          
                        
                      
                      ⁢
                      
                        
                      
                      ⁢
                      
                        
                          
                            
                              ∂
                              2
                            
                            ⁢
                            
                              A
                              s
                            
                          
                          
                            
                              ∂
                              
                                α
                                
                                  n
                                  ⁢
                                  
                                    
                                  
                                  ⁢
                                  m
                                
                              
                            
                            ⁢
                            
                              ∂
                              
                                α
                                
                                  
                                    n
                                    ′
                                  
                                  ⁢
                                  
                                    m
                                    ′
                                  
                                
                              
                            
                          
                        
                        ⁢
                        
                          
                        
                        ⁢
                        
                          
                            
                            
                              
                                α
                                _
                              
                              =
                              0
                            
                          
                          ⁢
                          
                            
                              
                                ·
                                Δ
                              
                              ⁢
                              
                                
                                  α
                                  _
                                
                                2
                              
                            
                            +
                            ...
                          
                          }
                        
                      
                    
                  
                
              
            
          
        
      
    
    
      
        [
        
          equation
          ⁢
          
            
          
          ⁢
          
            (
            24
            )
          
        
        ]
      
    
  




The constant prefactor in equation (15) is omitted here for simplicity. The terms of this series are determined analytically by differentiating equation (22) and integrating over φ. The results for the leading terms of the Taylor expansion in equation (24) with s=0 and 1 are given in Table II below:








TABLE II





DEFOCUS/ABERRATION EXPANSION TERMS


















D0




  
    [
    
      
        2
        ⁢
        
          
        
        ⁢
        
          cos
          ⁡
          
            (
            
              u
              4
            
            )
          
        
      
      +
      
        
          
            u
            4
          
        
        ⁢
        
          
            J
            
              3
              2
            
          
          ⁡
          
            (
            
              u
              4
            
            )
          
        
      
    
    ]
  
  ⁢
  
    e
    
      
        -
        i
      
      ⁢
      
        u
        4
      
    
  







 



A0




  2
  ⁢
  
    
      ∫
      0
      1
    
    ⁢
    
      
        
          J
          0
        
        ⁡
        
          (
          ξρ
          )
        
      
      ⁢
      
        d
        ξ
      
    
  







 







  
    ∂
    
      A
      0
    
  
  
    ∂
    
      α
      coma
    
  








  2
  ⁢
  
    
  
  ⁢
  cos
  ⁢
  
    
  
  ⁢
  
    (
    θ
    )
  
  ⁢
  
    
      ∫
      0
      1
    
    ⁢
    
      
        
          
            R
            3
            1
          
          ⁡
          
            (
            ξ
            )
          
        
        ·
        
          
            J
            1
          
          ⁡
          
            (
            ξρ
            )
          
        
      
      ⁢
      ξ
      ⁢
      
        d
        ξ
      
    
  







 







  
    
      ∂
      2
    
    ⁢
    
      A
      0
    
  
  
    ∂
    
      α
      coma
      2
    
  








  
    -
    
      1
      2
    
  
  ⁢
  
    
      ∫
      0
      1
    
    ⁢
    
      ξ
      ⁢
      
        d
        ξ
      
      ⁢
      
        
          {
          
            
              R
              3
              1
            
            ⁡
            
              (
              ξ
              )
            
          
          }
        
        2
      
      ⁢
      
        {
        
          
            
              J
              0
            
            ⁡
            
              (
              ρξ
              )
            
          
          -
          
            
              cos
              ⁡
              
                (
                
                  2
                  ⁢
                  θ
                
                )
              
            
            ⁢
            
              
                J
                2
              
              ⁡
              
                (
                ρξ
                )
              
            
          
        
        }
      
    
  







 







  
    ∂
    
      A
      0
    
  
  
    ∂
    
      α
      spherical
    
  








  2
  ⁢
  i
  ⁢
  
    
      ∫
      0
      1
    
    ⁢
    
      
        
          R
          4
          0
        
        ⁡
        
          (
          ξ
          )
        
      
      ⁢
      
        
          J
          0
        
        ⁡
        
          (
          ξρ
          )
        
      
      ⁢
      ξ
      ⁢
      
        d
        ξ
      
    
  







 







  
    
      ∂
      2
    
    ⁢
    
      A
      0
    
  
  
    ∂
    
      α
      spherical
      2
    
  








  -
  
    
      ∫
      0
      1
    
    ⁢
    
      ξ
      ⁢
      
        d
        ξ
      
      ⁢
      
        
          {
          
            
              R
              4
              0
            
            ⁡
            
              (
              ξ
              )
            
          
          }
        
        2
      
      ⁢
      
        
          J
          0
        
        ⁡
        
          (
          ρξ
          )
        
      
    
  







 



D1




  
    -
    i
  
  ⁢
  
    
      
        πu
        2
      
    
    ⁡
    
      [
      
        
          
            J
            
              1
              2
            
          
          ⁡
          
            (
            
              u
              4
            
            )
          
        
        +
        
          
            J
            
              5
              2
            
          
          ⁡
          
            (
            
              u
              4
            
            )
          
        
      
      ]
    
  
  ⁢
  
    e
    
      
        -
        i
      
      ⁢
      
        u
        4
      
    
  







 



A1




  2
  ⁢
  
    
      ∫
      0
      1
    
    ⁢
    
      
        
          R
          2
          0
        
        ⁡
        
          (
          ξ
          )
        
      
      ⁢
      
        
          J
          0
        
        ⁡
        
          (
          ξρ
          )
        
      
      ⁢
      ξ
      ⁢
      
        d
        ξ
      
    
  







 







  
    ∂
    
      A
      1
    
  
  
    ∂
    
      α
      coma
    
  








  2
  ⁢
  
    
  
  ⁢
  
    cos
    ⁡
    
      (
      θ
      )
    
  
  ⁢
  
    
      ∫
      0
      1
    
    ⁢
    
      
        
          R
          3
          1
        
        ⁡
        
          (
          ξ
          )
        
      
      ⁢
      
        
          R
          2
          0
        
        ⁡
        
          (
          ξ
          )
        
      
      ⁢
      
        
          J
          1
        
        ⁡
        
          (
          ξρ
          )
        
      
      ⁢
      ξ
      ⁢
      
        d
        ξ
      
    
  







 







  
    ∂
    
      A
      1
    
  
  
    ∂
    
      α
      spherical
    
  








  2
  ⁢
  i
  ⁢
  
    
      ∫
      0
      1
    
    ⁢
    
      
        
          R
          4
          0
        
        ⁡
        
          (
          ξ
          )
        
      
      ⁢
      
        
          R
          2
          0
        
        ⁡
        
          (
          ξ
          )
        
      
      ⁢
      
        
          J
          0
        
        ⁡
        
          (
          ξρ
          )
        
      
      ⁢
      ξ
      ⁢
      
        d
        ξ
      
    
  














The representation of the PSF that is given by equation (24) and Table II is used in computing the cosine and sine convolution components ΨC and ΨS, as shown above in equation (20). These components are then used in finding Isimulated, as given by equation (21). Minimization of ε (equation (18)) over u, αcoma and αspherical has been found to give a good approximation of the actual aberrations in real optical systems.
It will be appreciated that the embodiments described above are cited by way of example, and that the present invention is not limited to what has been particularly shown and described hereinabove. Rather, the scope of the present invention includes both combinations and subcombinations of the various features described hereinabove, as well as variations and modifications thereof which would occur to persons skilled in the art upon reading the foregoing description and which are not disclosed in the prior art.
Appendix A—Derivation and Properties of the Kernel Eigenfunctions
For the case of a cylindrically-symmetrical kernel with no aberrations, as given by equation (5), K has the following form:




  
    
      
        
          K
          ⁡
          
            (
            
              
                ρ
                1
              
              ,
              
                ρ
                2
              
              ,
              
                θ
                1
              
              ,
              
                θ
                2
              
            
            )
          
        
        =
        
          
            
              
                J
                1
              
              ⁡
              
                (
                
                  ρ
                  1
                
                )
              
            
            
              ρ
              1
            
          
          ·
          
            
              
                J
                1
              
              ⁡
              
                (
                
                  ρ
                  2
                
                )
              
            
            
              ρ
              2
            
          
          ·
          
            
              
                J
                1
              
              ⁡
              
                (
                
                  σ
                  ⁢
                  
                    
                      
                        ρ
                        1
                        2
                      
                      +
                      
                        ρ
                        2
                        2
                      
                      -
                      
                        2
                        ⁢
                        
                          
                        
                        ⁢
                        
                          ρ
                          1
                        
                        ⁢
                        
                          ρ
                          2
                        
                        ⁢
                        
                          
                        
                        ⁢
                        
                          cos
                          ⁡
                          
                            (
                            
                              
                                θ
                                1
                              
                              -
                              
                                θ
                                2
                              
                            
                            )
                          
                        
                      
                    
                  
                
                )
              
            
            
              σ
              ⁢
              
                
                  
                    ρ
                    1
                    2
                  
                  +
                  
                    ρ
                    2
                    2
                  
                  -
                  
                    2
                    ⁢
                    
                      
                    
                    ⁢
                    
                      ρ
                      1
                    
                    ⁢
                    
                      ρ
                      2
                    
                    ⁢
                    
                      
                    
                    ⁢
                    
                      cos
                      ⁡
                      
                        (
                        
                          
                            θ
                            1
                          
                          -
                          
                            θ
                            2
                          
                        
                        )
                      
                    
                  
                
              
            
          
        
      
    
    
      
        [
        
          equation
          ⁢
          
            
          
          ⁢
          
            (
            25
            )
          
        
        ]
      
    
  




The main obstacle to solving equation (6) is the third part of equation (25) In order to solve this problem, we use Gegenbauer's addition theorem, which implies that:





  
    
      
        
          
            
              ω
              _
            
            =
            
              
                
                  ρ
                  1
                  2
                
                +
                
                  ρ
                  2
                  2
                
                -
                
                  2
                  ⁢
                  
                    
                  
                  ⁢
                  
                    ρ
                    1
                  
                  ⁢
                  
                    ρ
                    2
                  
                  ⁢
                  
                    
                  
                  ⁢
                  
                    cos
                    ⁡
                    
                      (
                      
                        
                          θ
                          1
                        
                        -
                        
                          θ
                          2
                        
                      
                      )
                    
                  
                
              
            
          
          ;
        
        ⁢
        
          

        
        ⁢
        
          
            
              
                
                  J
                  1
                
                ⁡
                
                  (
                  
                    ω
                    _
                  
                  )
                
              
              
                ω
                _
              
            
            =
            
              2
              ⁢
              
                
                  ∑
                  
                    k
                    =
                    0
                  
                  ∞
                
                ⁢
                
                  
                
                ⁢
                
                  
                    (
                    
                      1
                      +
                      k
                    
                    )
                  
                  ⁢
                  
                    
                      
                        J
                        
                          1
                          +
                          k
                        
                      
                      ⁡
                      
                        (
                        
                          σρ
                          1
                        
                        )
                      
                    
                    
                      σρ
                      1
                    
                  
                  ⁢
                  
                    
                      
                        J
                        
                          1
                          +
                          k
                        
                      
                      ⁡
                      
                        (
                        
                          σρ
                          2
                        
                        )
                      
                    
                    
                      σρ
                      2
                    
                  
                  ⁢
                  
                    
                      C
                      k
                      1
                    
                    ⁡
                    
                      (
                      
                        cos
                        ⁡
                        
                          (
                          
                            
                              θ
                              1
                            
                            -
                            
                              θ
                              2
                            
                          
                          )
                        
                      
                      )
                    
                  
                
              
            
          
          ;
        
        ⁢
        
          

        
        ⁢
        
          
            
              C
              k
              1
            
            ⁡
            
              (
              
                cos
                ⁡
                
                  (
                  
                    
                      θ
                      1
                    
                    -
                    
                      θ
                      2
                    
                  
                  )
                
              
              )
            
          
          =
          
            
              ∑
              
                m
                =
                0
              
              k
            
            ⁢
            
              
            
            ⁢
            
              cos
              ⁡
              
                [
                
                  
                    (
                    
                      k
                      -
                      
                        2
                        ⁢
                        
                          
                        
                        ⁢
                        m
                      
                    
                    )
                  
                  ⁢
                  
                    (
                    
                      
                        θ
                        1
                      
                      -
                      
                        θ
                        2
                      
                    
                    )
                  
                
                ]
              
            
          
        
      
    
    
      
        (
        26
        )
      
    
  




Using the symmetry of the optical system, the eigenfunctions φ can be factored as follows:

φ(ρ,θ)=φ(ρ)·eimθ  (27)

Substituting this representation into equation (6) gives:





  
    
      
        
          
            ∫
            0
            ∞
          
          ⁢
          
            
              ∫
              0
              
                2
                ⁢
                π
              
            
            ⁢
            
              
                K
                ⁡
                
                  (
                  
                    
                      ρ
                      1
                    
                    ,
                    
                      ρ
                      2
                    
                    ,
                    
                      
                        θ
                        1
                      
                      -
                      
                        θ
                        2
                      
                    
                  
                  )
                
              
              ⁢
              
                ρ
                2
              
              ⁢
              
                
                  φ
                  ⁡
                  
                    (
                    
                      ρ
                      2
                    
                    )
                  
                
                ·
                
                  e
                  
                    i
                    ⁢
                    
                      
                    
                    ⁢
                    m
                    ⁢
                    
                      
                    
                    ⁢
                    
                      θ
                      2
                    
                  
                
              
              ⁢
              
                
              
              ⁢
              
                d
                
                  ρ
                  2
                
              
              ⁢
              
                
              
              ⁢
              
                d
                
                  θ
                  2
                
              
            
          
        
        =
        
          
            
              
                λφ
                ⁡
                
                  (
                  
                    ρ
                    1
                  
                  )
                
              
              ·
              
                e
                
                  i
                  ⁢
                  
                    
                  
                  ⁢
                  m
                  ⁢
                  
                    
                  
                  ⁢
                  
                    θ
                    1
                  
                
              
            
            ⇒
            
              
                ∫
                0
                ∞
              
              ⁢
              
                
                  ∫
                  0
                  
                    2
                    ⁢
                    π
                  
                
                ⁢
                
                  
                    K
                    ⁡
                    
                      (
                      
                        
                          ρ
                          1
                        
                        ,
                        
                          ρ
                          2
                        
                        ,
                        
                          
                            θ
                            1
                          
                          -
                          
                            θ
                            2
                          
                        
                      
                      )
                    
                  
                  ⁢
                  
                    ρ
                    2
                  
                  ⁢
                  
                    
                      φ
                      ⁡
                      
                        (
                        
                          ρ
                          2
                        
                        )
                      
                    
                    ·
                    
                      e
                      
                        i
                        ⁢
                        
                          
                        
                        ⁢
                        
                          m
                          ⁡
                          
                            (
                            
                              
                                θ
                                2
                              
                              -
                              
                                θ
                                1
                              
                            
                            )
                          
                        
                      
                    
                  
                  ⁢
                  
                    
                  
                  ⁢
                  
                    d
                    
                      ρ
                      2
                    
                  
                  ⁢
                  
                    
                  
                  ⁢
                  
                    d
                    
                      θ
                      2
                    
                  
                
              
            
          
          =
          
            λφ
            ⁡
            
              (
              
                ρ
                1
              
              )
            
          
        
      
    
    
      
        (
        28
        )
      
    
  




To integrate out the Δθ=θ1−θ2 dependence of this equation, we note that the only part of equation (26) that is dependent on Δθ is Ck1. The result of the integration is:





  
    
      
        
          
            ∫
            0
            
              2
              ⁢
              π
            
          
          ⁢
          
            
              ∑
              
                n
                =
                0
              
              k
            
            ⁢
            
              
            
            ⁢
            
              
                cos
                ⁡
                
                  [
                  
                    
                      (
                      
                        k
                        -
                        
                          2
                          ⁢
                          
                            
                          
                          ⁢
                          n
                        
                      
                      )
                    
                    ⁢
                    Δθ
                  
                  ]
                
              
              ⁢
              
                e
                
                  i
                  ⁢
                  
                    
                  
                  ⁢
                  m
                  ⁢
                  
                    
                  
                  ⁢
                  Δθ
                
              
              ⁢
              
                
              
              ⁢
              
                d
                Δθ
              
            
          
        
        =
        
          {
          
            
              
                
                  
                    
                    m
                    
                  
                  >
                  k
                
              
              
                
                  =
                  0
                
              
            
            
              
                
                  
                    
                      (
                      
                        
                          
                          m
                          
                        
                        ≤
                        k
                      
                      )
                    
                    ⁢
                    
                      
                    
                    &
                  
                  ⁢
                  
                    
                  
                  ⁢
                  
                    (
                    
                      m
                      +
                      
                        k
                        ⁢
                        
                          
                        
                        ⁢
                        even
                      
                    
                    )
                  
                
              
              
                
                  =
                  
                    2
                    ⁢
                    π
                  
                
              
            
            
              
                
                  
                    
                      (
                      
                        
                          
                          m
                          
                        
                        ≤
                        k
                      
                      )
                    
                    ⁢
                    
                      
                    
                    &
                  
                  ⁢
                  
                    
                  
                  ⁢
                  
                    (
                    
                      m
                      +
                      
                        k
                        ⁢
                        
                          
                        
                        ⁢
                        odd
                      
                    
                    )
                  
                
              
              
                
                  =
                  0
                
              
            
          
        
      
    
    
      
        [
        
          equation
          ⁢
          
            
          
          ⁢
          
            (
            29
            )
          
        
        ]
      
    
  




Substituting this result into equation (25) gives the following reduced equation for φnm(ρ):




  
    
      
        
          
            ∫
            0
            ∞
          
          ⁢
          
            
              ρ
              2
            
            ⁢
            
              
            
            ⁢
            
              
                d
                
                  ρ
                  2
                
              
              ·
              
                
                  
                    J
                    1
                  
                  ⁡
                  
                    (
                    
                      ρ
                      1
                    
                    )
                  
                
                
                  ρ
                  1
                
              
              ·
              
                
                  
                    J
                    1
                  
                  ⁡
                  
                    (
                    
                      ρ
                      2
                    
                    )
                  
                
                
                  ρ
                  2
                
              
              ·
              2
            
            ⁢
            
              
                ∑
                
                  k
                  =
                  m
                
                ∞
              
              ⁢
              
                
              
              ⁢
              
                
                  (
                  
                    1
                    +
                    k
                  
                  )
                
                ⁢
                
                  
                    
                      J
                      
                        1
                        +
                        k
                      
                    
                    ⁡
                    
                      (
                      
                        σρ
                        1
                      
                      )
                    
                  
                  
                    σρ
                    1
                  
                
                ⁢
                
                  
                    
                      J
                      
                        1
                        +
                        k
                      
                    
                    ⁡
                    
                      (
                      
                        σρ
                        2
                      
                      )
                    
                  
                  
                    σρ
                    2
                  
                
                ⁢
                
                  
                    φ
                    m
                  
                  ⁡
                  
                    (
                    
                      ρ
                      2
                    
                    )
                  
                
              
            
          
        
        =
        
          
            λ
            m
          
          ⁢
          
            
              φ
              m
            
            ⁡
            
              (
              
                ρ
                1
              
              )
            
          
        
      
    
    
      
        [
        
          equation
          ⁢
          
            
          
          ⁢
          
            (
            30
            )
          
        
        ]
      
    
  




The primed sum “Σ′” in the above equation means that k increases from term to term in the series in steps of 2. This equation can be solved by multiplying both sides by





  
    
      
        (
        
          1
          +
          n
        
        )
      
    
    ⁢
    
      
        
          J
          1
        
        ⁡
        
          (
          
            ρ
            1
          
          )
        
      
      
        ρ
        1
      
    
    ⁢
    
      
        
          J
          
            1
            +
            n
          
        
        ⁡
        
          (
          
            σρ
            1
          
          )
        
      
      
        σρ
        1
      
    
    ⁢
    
      ρ
      1
    
  
  ,




and then integrating with respect to ρ1:





  
    
      
        
          2
          ⁢
          
            
              ∑
              
                k
                =
                m
              
              ∞
            
            ⁢
            
              
            
            ⁢
            
              
                ∫
                0
                ∞
              
              ⁢
              
                
                  ρ
                  1
                
                ⁢
                
                  
                
                ⁢
                
                  d
                  
                    ρ
                    1
                  
                
                ⁢
                
                  
                    (
                    
                      1
                      +
                      n
                    
                    )
                  
                
                ⁢
                
                  
                    (
                    
                      1
                      +
                      k
                    
                    )
                  
                
                ⁢
                
                  
                    
                      J
                      1
                    
                    ⁡
                    
                      (
                      
                        ρ
                        1
                      
                      )
                    
                  
                  
                    ρ
                    1
                  
                
                ⁢
                
                  
                    
                      
                        J
                        
                          1
                          +
                          n
                        
                      
                      ⁡
                      
                        (
                        
                          σρ
                          1
                        
                        )
                      
                    
                    
                      σρ
                      1
                    
                  
                  ·
                  
                    
                      
                        J
                        1
                      
                      ⁡
                      
                        (
                        
                          ρ
                          1
                        
                        )
                      
                    
                    
                      ρ
                      1
                    
                  
                  ·
                  
                    
                      
                        J
                        
                          1
                          +
                          k
                        
                      
                      ⁡
                      
                        (
                        
                          σρ
                          1
                        
                        )
                      
                    
                    
                      σρ
                      1
                    
                  
                  ·
                  
                    
                      ∫
                      0
                      ∞
                    
                    ⁢
                    
                      
                        ρ
                        2
                      
                      ⁢
                      
                        
                      
                      ⁢
                      
                        d
                        
                          ρ
                          2
                        
                      
                      ⁢
                      
                        
                          (
                          
                            1
                            +
                            k
                          
                          )
                        
                      
                      ⁢
                      
                        
                          
                            
                              J
                              1
                            
                            ⁡
                            
                              (
                              
                                ρ
                                2
                              
                              )
                            
                          
                          
                            ρ
                            2
                          
                        
                        ·
                        
                          
                            
                              J
                              
                                1
                                +
                                k
                              
                            
                            ⁡
                            
                              (
                              
                                σρ
                                2
                              
                              )
                            
                          
                          
                            σρ
                            2
                          
                        
                      
                      ⁢
                      
                        
                          φ
                          m
                        
                        ⁡
                        
                          (
                          
                            ρ
                            2
                          
                          )
                        
                      
                    
                  
                
              
            
          
        
        =
        
          
            λ
            m
          
          ⁢
          
            
              ∫
              0
              ∞
            
            ⁢
            
              
                ρ
                1
              
              ⁢
              
                
              
              ⁢
              
                d
                
                  ρ
                  1
                
              
              ⁢
              
                
                  (
                  
                    1
                    +
                    n
                  
                  )
                
              
              ⁢
              
                
                  
                    J
                    1
                  
                  ⁡
                  
                    (
                    
                      ρ
                      1
                    
                    )
                  
                
                
                  ρ
                  1
                
              
              ⁢
              
                
                  
                    J
                    
                      1
                      +
                      n
                    
                  
                  ⁡
                  
                    (
                    
                      σρ
                      1
                    
                    )
                  
                
                
                  σρ
                  1
                
              
              ⁢
              
                
                  φ
                  m
                
                ⁡
                
                  (
                  
                    ρ
                    1
                  
                  )
                
              
            
          
        
      
    
    
      
        [
        
          equation
          ⁢
          
            
          
          ⁢
          
            (
            31
            )
          
        
        ]
      
    
  




We now define:




  
    
      
        
          A
          
            n
            ,
            k
          
          m
        
        ≡
      
    
    
      
        [
        
          equation
          ⁢
          
            
          
          ⁢
          
            (
            32
            )
          
        
        ]
      
    
  
  
    
      
        
          
        
        ⁢
        
          
            ∫
            0
            ∞
          
          ⁢
          
            
              ρ
              1
            
            ⁢
            
              
            
            ⁢
            
              d
              
                ρ
                1
              
            
            ⁢
            
              
                (
                
                  1
                  +
                  n
                
                )
              
            
            ⁢
            
              
                (
                
                  1
                  +
                  k
                
                )
              
            
            ⁢
            
              
                
                  J
                  1
                
                ⁡
                
                  (
                  
                    ρ
                    1
                  
                  )
                
              
              
                ρ
                1
              
            
            ⁢
            
              
                
                  
                    J
                    
                      1
                      +
                      n
                    
                  
                  ⁡
                  
                    (
                    
                      σρ
                      1
                    
                    )
                  
                
                
                  σρ
                  1
                
              
              ·
            
          
        
      
    
    
      
        
      
    
  
  
    
      
        
          
        
        ⁢
        
          
            
              
                
                  J
                  1
                
                ⁡
                
                  (
                  
                    ρ
                    1
                  
                  )
                
              
              
                ρ
                1
              
            
            ·
            
              
                
                  J
                  
                    1
                    +
                    k
                  
                
                ⁡
                
                  (
                  
                    σρ
                    1
                  
                  )
                
              
              
                σρ
                1
              
            
          
          ;
        
      
    
    
      
        
      
    
  
  
    
      
        
          B
          k
          m
        
        ≡
        
          
            ∫
            0
            ∞
          
          ⁢
          
            
              ρ
              2
            
            ⁢
            
              
            
            ⁢
            
              d
              
                ρ
                2
              
            
            ⁢
            
              
                (
                
                  1
                  +
                  k
                
                )
              
            
            ⁢
            
              
                
                  
                    J
                    1
                  
                  ⁡
                  
                    (
                    
                      ρ
                      2
                    
                    )
                  
                
                
                  ρ
                  2
                
              
              ·
              
                
                  
                    J
                    
                      1
                      +
                      k
                    
                  
                  ⁡
                  
                    (
                    
                      σρ
                      2
                    
                    )
                  
                
                
                  σρ
                  2
                
              
            
            ⁢
            
              
                φ
                m
              
              ⁡
              
                (
                
                  ρ
                  2
                
                )
              
            
          
        
      
    
    
      
        
      
    
  




Equation (31) can then be rewritten simply as:





  
    
      
        
          
            ∑
            
              k
              =
              m
            
            ∞
          
          ⁢
          
            
          
          ⁢
          
            
              A
              
                n
                ,
                k
              
              m
            
            ·
            
              B
              k
              m
            
          
        
        =
        
          
            λ
            
              m
              ,
              n
            
          
          ·
          
            B
            n
            m
          
        
      
    
    
      
        (
        33
        )
      
    
  




By truncating the sum in this equation, we get an algebraic eigenvalues problem, wherein the eigenfunctions of equation (30) can now be written:





  
    
      
        
          
            φ
            i
            m
          
          ⁡
          
            (
            
              ρ
              ,
              θ
            
            )
          
        
        =
        
          
            ∑
            
              k
              =
              m
            
            M
          
          ⁢
          
            
          
          ⁢
          
            
              B
              k
              
                m
                ,
                i
              
            
            ⁢
            
              
                (
                
                  1
                  +
                  k
                
                )
              
            
            ⁢
            
              
                
                  
                    J
                    1
                  
                  ⁡
                  
                    (
                    ρ
                    )
                  
                
                ρ
              
              ·
              
                
                  
                    J
                    
                      1
                      +
                      k
                    
                  
                  ⁡
                  
                    (
                    σρ
                    )
                  
                
                σρ
              
            
            ⁢
            
              e
              
                im
                ⁢
                
                  
                
                ⁢
                θ
              
            
          
        
      
    
    
      
        (
        34
        )
      
    
  




Since the eigenfunctions φim and φi−m are degenerate, we are free to choose any linear combination of them. For convenience, we choose the forms Cφim(ρ,θ) and Sφim(ρ,θ), as given in equation (7).

Because the matrices Ak,nm=An,km are symmetrical, all their eigenvalues are real. The matrices Ak,nm for different values of m can all be derived from Ak,n0 by deleting the first m rows and columns:




  
    
      
        
          
            A
            0
          
          =
          
            (
            
              
                
                  
                    a
                    11
                  
                
                
                  ⋯
                
                
                  
                    a
                    
                      1
                      ⁢
                      
                        
                      
                      ⁢
                      M
                    
                  
                
              
              
                
                  ⋮
                
                
                  ⋰
                
                
                  ⋮
                
              
              
                
                  
                    a
                    
                      M
                      ⁢
                      
                        
                      
                      ⁢
                      1
                    
                  
                
                
                  ⋯
                
                
                  
                    a
                    MM
                  
                
              
            
            )
          
        
        ;
        
          
            A
            1
          
          =
          
            (
            
              
                
                  
                    a
                    22
                  
                
                
                  ⋯
                
                
                  
                    a
                    
                      2
                      ⁢
                      M
                    
                  
                
              
              
                
                  ⋮
                
                
                  ⋰
                
                
                  ⋮
                
              
              
                
                  
                    a
                    
                      M
                      ⁢
                      
                        
                      
                      ⁢
                      2
                    
                  
                
                
                  ⋯
                
                
                  
                    a
                    MM
                  
                
              
            
            )
          
        
        ;
      
    
    
      
        (
        35
        )
      
    
  
  
    
      
        
          
            A
            2
          
          =
          
            (
            
              
                
                  
                    a
                    33
                  
                
                
                  ⋯
                
                
                  
                    a
                    
                      3
                      ⁢
                      
                        
                      
                      ⁢
                      M
                    
                  
                
              
              
                
                  ⋮
                
                
                  ⋰
                
                
                  ⋮
                
              
              
                
                  
                    a
                    
                      M
                      ⁢
                      
                        
                      
                      ⁢
                      3
                    
                  
                
                
                  ⋯
                
                
                  
                    a
                    MM
                  
                
              
            
            )
          
        
        ;
        
          etc
          .
        
      
    
    
      
        
      
    
  




According to the Courant-Fisher theorem, if λ1>λ2> . . . >λN are the eigenvalues of A0, and μ1>μ2> . . . >μN-1 are the eigenvalues of A1, then:





  
    
      
        
          
            
              λ
              1
            
            <
            
              μ
              1
            
            <
            
              λ
              2
            
          
          ;
        
        ⁢
        
          

        
        ⁢
        
          
            
              λ
              2
            
            <
            
              μ
              2
            
            <
            
              λ
              3
            
          
          ;
        
        ⁢
        
          

        
        ⁢
        ⋮
        ⁢
        
          

        
        ⁢
        
          
            
              λ
              
                N
                -
                1
              
            
            <
            
              μ
              
                N
                -
                1
              
            
            <
            
              λ
              N
            
          
          ;
        
      
    
    
      
        (
        36
        )
      
    
  




This equation implies that the first eigenvalue will always correspond to m=0, and the second always to m=1. Thus, as noted above, in order to construct a kernel that will be certain to include the first n eigenfunctions (i.e., those corresponding to the n greatest eigenvalues), it is sufficient to compute the eigenfunctions (or expansion functions Θ) up to m=n. The consequence of this theorem cam be seen in FIG. 3.

The derivation of equation (12) above relied on the orthogonality of the eigenvectors Bkm,i. To demonstrate this orthogonality, we note first that the cross-integral between two eigenfunctions of the kernel K can be calculated as follows:




  
    
      
        
          
            
              
                〈
                
                  
                    
                      φ
                      i
                      m
                      
                        
                        c
                    
                    ⁡
                    
                      (
                      
                        ρ
                        ,
                        θ
                      
                      )
                    
                  
                  ·
                  
                    
                      φ
                      j
                      1
                      
                        
                        c
                    
                    ⁡
                    
                      (
                      
                        ρ
                        ,
                        θ
                      
                      )
                    
                  
                
                〉
              
              =
              
              ⁢
              
                
                  
                    ∫
                    0
                    ∞
                  
                  ⁢
                  
                    ρ
                    ⁢
                    
                      
                    
                    ⁢
                    
                      d
                      ρ
                    
                    ⁢
                    
                      
                        ∫
                        0
                        
                          2
                          ⁢
                          π
                        
                      
                      ⁢
                      
                        
                      
                      ⁢
                      
                        
                          d
                          θ
                        
                        ·
                        
                          
                            φ
                            i
                            m
                            
                              
                              c
                          
                          ⁡
                          
                            (
                            
                              ρ
                              ,
                              θ
                            
                            )
                          
                        
                        ·
                        
                          
                            φ
                            j
                            1
                            
                              
                              c
                          
                          ⁡
                          
                            (
                            
                              ρ
                              ,
                              θ
                            
                            )
                          
                        
                      
                    
                  
                
                =
              
            
          
        
        
          
            
              =
              
              ⁢
              
                
                  ∫
                  0
                  ∞
                
                ⁢
                
                  ρ
                  ⁢
                  
                    
                  
                  ⁢
                  
                    d
                    ρ
                  
                  ⁢
                  
                    
                      ∫
                      0
                      
                        2
                        ⁢
                        π
                      
                    
                    ⁢
                    
                      
                    
                    ⁢
                    
                      
                        d
                        θ
                      
                      ⁢
                      
                        
                          ∑
                          
                            k
                            =
                            m
                          
                          M
                        
                        ⁢
                        
                          
                        
                        ⁢
                        
                          
                            B
                            k
                            
                              m
                              ,
                              i
                            
                          
                          ⁢
                          
                            
                              (
                              
                                1
                                +
                                k
                              
                              )
                            
                          
                          ⁢
                          
                            
                              
                                
                                  J
                                  1
                                
                                ⁡
                                
                                  (
                                  ρ
                                  )
                                
                              
                              ρ
                            
                            ·
                          
                        
                      
                    
                  
                
              
            
          
        
        
          
            
               
              ⁢
              
                
                  
                    
                      J
                      
                        1
                        +
                        k
                      
                    
                    ⁡
                    
                      (
                      σρ
                      )
                    
                  
                  σρ
                
                ⁢
                
                  
                    cos
                    ⁡
                    
                      (
                      
                        m
                        ⁢
                        
                          
                        
                        ⁢
                        θ
                      
                      )
                    
                  
                  ·
                  
                    
                      ∑
                      
                        
                          k
                          ′
                        
                        =
                        1
                      
                      M
                    
                    ⁢
                    
                      
                    
                    ⁢
                    
                      
                        B
                        
                          k
                          ′
                        
                        
                          l
                          ,
                          j
                        
                      
                      ⁢
                      
                        
                          (
                          
                            1
                            +
                            
                              k
                              ′
                            
                          
                          )
                        
                      
                      ⁢
                      
                        
                          
                            
                              J
                              1
                            
                            ⁡
                            
                              (
                              ρ
                              )
                            
                          
                          ρ
                        
                        ·
                      
                    
                  
                
              
            
          
        
        
          
            
               
              ⁢
              
                
                  
                    
                      J
                      
                        1
                        +
                        
                          k
                          ′
                        
                      
                    
                    ⁡
                    
                      (
                      σρ
                      )
                    
                  
                  σρ
                
                ⁢
                
                  cos
                  ⁡
                  
                    (
                    
                      l
                      ⁢
                      
                        
                      
                      ⁢
                      θ
                    
                    )
                  
                
              
            
          
        
        
          
            
              =
              
              ⁢
              
                2
                ⁢
                
                  πδ
                  (
                  
                    1
                    -
                  
                
              
            
          
        
        
          
            
              
                 
                ⁢
                m
                )
              
              ⁢
              
                
                  ∫
                  0
                  ∞
                
                ⁢
                
                  ρ
                  ⁢
                  
                    
                  
                  ⁢
                  
                    d
                    ρ
                  
                  ⁢
                  
                    
                      ∑
                      
                        k
                        =
                        m
                      
                      M
                    
                    ⁢
                    
                      
                    
                    ⁢
                    
                      
                        ∑
                        
                          
                            k
                            ′
                          
                          =
                          l
                        
                        M
                      
                      ⁢
                      
                        
                      
                      ⁢
                      
                        
                          B
                          
                            k
                            ′
                          
                          
                            l
                            ,
                            j
                          
                        
                        ⁢
                        
                          B
                          k
                          
                            m
                            ,
                            i
                          
                        
                        ⁢
                        
                          
                            
                              
                                (
                                
                                  1
                                  +
                                  k
                                
                                )
                              
                              ⁢
                              
                                (
                                
                                  1
                                  +
                                  
                                    k
                                    ′
                                  
                                
                                )
                              
                            
                          
                          ·
                        
                      
                    
                  
                
              
            
          
        
        
          
            
               
              ⁢
              
                
                  
                    
                      
                        J
                        1
                      
                      ⁡
                      
                        (
                        ρ
                        )
                      
                    
                    ρ
                  
                  ·
                  
                    
                      
                        J
                        
                          1
                          +
                          k
                        
                      
                      ⁡
                      
                        (
                        σρ
                        )
                      
                    
                    σρ
                  
                
                ⁢
                
                  
                    
                      
                        J
                        1
                      
                      ⁡
                      
                        (
                        ρ
                        )
                      
                    
                    ρ
                  
                  ·
                  
                    
                      
                        J
                        
                          1
                          +
                          
                            k
                            ′
                          
                        
                      
                      ⁡
                      
                        (
                        σρ
                        )
                      
                    
                    σρ
                  
                
              
            
          
        
        
          
            
              =
              
              ⁢
              
                2
                ⁢
                
                  πδ
                  ⁡
                  
                    (
                    
                      1
                      -
                      m
                    
                    )
                  
                
                ⁢
                
                  
                    ∑
                    
                      k
                      =
                      m
                    
                    M
                  
                  ⁢
                  
                    
                  
                  ⁢
                  
                    
                      ∑
                      
                        
                          k
                          ′
                        
                        =
                        l
                      
                      M
                    
                    ⁢
                    
                      
                    
                    ⁢
                    
                      
                        B
                        
                          k
                          ′
                        
                        
                          m
                          ,
                          j
                        
                      
                      ⁢
                      
                        B
                        k
                        
                          m
                          ,
                          i
                        
                      
                      ⁢
                      
                        A
                        
                          k
                          ,
                          
                            k
                            ′
                          
                        
                        l
                      
                    
                  
                
              
            
          
        
        
          
            
              =
              
              ⁢
              
                2
                ⁢
                
                  πδ
                  ⁡
                  
                    (
                    
                      1
                      -
                      m
                    
                    )
                  
                
                ⁢
                
                  
                    ∑
                    
                      k
                      =
                      m
                    
                    M
                  
                  ⁢
                  
                    
                  
                  ⁢
                  
                    
                      B
                      k
                      
                        m
                        ,
                        j
                      
                    
                    ⁢
                    
                      
                        B
                        k
                        
                          m
                          ,
                          i
                        
                      
                      ·
                      
                        λ
                        j
                        m
                      
                    
                  
                
              
            
          
        
      
    
    
      
        (
        37
        )
      
    
  




Since Bkm,i are eigenvectors of a hermitian matrix, they are orthogonal. Therefore, to summarize:

Cφim(ρ,θ)·Cφjl(ρ,θ)=2πδ(l−m)*δ(i−j)·λim  (38)

Using these results, equation (10) can be rewritten as follows to arrive at equation (12):




  
    
      
        
          
            
              
                I
                ⁡
                
                  (
                  
                    x
                    ⇀
                  
                  )
                
              
              =
              
              ⁢
              
                
                  ∑
                  
                    m
                    =
                    0
                  
                  M
                
                ⁢
                
                  
                
                ⁢
                
                  
                    ∑
                    
                      i
                      =
                      1
                    
                    n
                  
                  ⁢
                  
                    
                  
                  ⁢
                  
                    
                      λ
                      i
                    
                    ⁢
                    
                      {
                      
                        
                          
                            
                            
                              T
                              ⊗
                              
                                φ
                                i
                                m
                                
                                  
                                  C
                              
                            
                            
                          
                          2
                        
                        +
                        
                          
                            
                            
                              T
                              ⊗
                              
                                φ
                                i
                                m
                                
                                  
                                  S
                              
                            
                            
                          
                          2
                        
                      
                      }
                    
                  
                
              
            
          
        
        
          
            
              =
              
              ⁢
              
                
                  ∑
                  m
                
                ⁢
                
                  
                
                ⁢
                
                  
                    (
                    
                      
                        ψ
                        
                          m
                          ,
                          1
                        
                        C
                      
                      ⁢
                      
                        
                      
                      ⁢
                      ⋯
                      ⁢
                      
                        
                      
                      ⁢
                      
                        ψ
                        
                          m
                          ,
                          
                            M
                            -
                            m
                          
                        
                        C
                      
                    
                    )
                  
                  ⁢
                  
                    
                      
                        (
                        
                          
                            
                              
                                B
                                1
                                
                                  m
                                  ,
                                  1
                                
                              
                            
                            
                              ⋯
                            
                            
                              
                                B
                                
                                  M
                                  -
                                  m
                                
                                
                                  m
                                  ,
                                  1
                                
                              
                            
                          
                          
                            
                              ⋮
                            
                            
                              ⋰
                            
                            
                              ⋮
                            
                          
                          
                            
                              
                                B
                                1
                                
                                  m
                                  ,
                                  
                                    M
                                    -
                                    m
                                  
                                
                              
                            
                            
                              ⋯
                            
                            
                              
                                B
                                
                                  M
                                  -
                                  m
                                
                                
                                  m
                                  ,
                                  
                                    M
                                    -
                                    n
                                  
                                
                              
                            
                          
                        
                        )
                      
                      T
                    
                    ·
                  
                
              
            
          
        
        
          
            
               
              ⁢
              
                
                  (
                  
                    
                      
                        
                          B
                          1
                          
                            m
                            ,
                            1
                          
                        
                      
                      
                        ⋯
                      
                      
                        
                          B
                          
                            M
                            -
                            m
                          
                          
                            m
                            ,
                            1
                          
                        
                      
                    
                    
                      
                        ⋮
                      
                      
                        ⋰
                      
                      
                        ⋮
                      
                    
                    
                      
                        
                          B
                          1
                          
                            m
                            ,
                            
                              M
                              -
                              m
                            
                          
                        
                      
                      
                        ⋯
                      
                      
                        
                          B
                          
                            M
                            -
                            m
                          
                          
                            m
                            ,
                            
                              M
                              -
                              n
                            
                          
                        
                      
                    
                  
                  )
                
                ⁢
                
                  (
                  
                    
                      
                        
                          ψ
                          
                            m
                            ,
                            1
                          
                          C
                        
                      
                    
                    
                      
                        ⋮
                      
                    
                    
                      
                        
                          ψ
                          
                            m
                            ,
                            
                              M
                              -
                              m
                            
                          
                          C
                        
                      
                    
                  
                  )
                
              
            
          
        
        
          
            
              =
              
              ⁢
              
                
                  
                    ∑
                    
                      m
                      =
                      0
                    
                    M
                  
                  ⁢
                  
                    
                  
                  ⁢
                  
                    
                      ∑
                      
                        i
                        =
                        1
                      
                      n
                    
                    ⁢
                    
                      
                    
                    ⁢
                    
                      
                        
                        
                          ψ
                          
                            m
                            ,
                            i
                          
                          C
                        
                        
                      
                      2
                    
                  
                
                +
                
                  
                    
                    
                      ψ
                      
                        m
                        ,
                        i
                      
                      S
                    
                    
                  
                  2
                
              
            
          
        
      
    
    
      
        (
        39
        )
      
    
  




by the orthogonally of the eigenvectors Bkm,i.

When the optical system is subject to aberrations, the kernel of equation (25) is modified as follows:




  
    
      
        
          
            
              
                K
                ⁡
                
                  (
                  
                    
                      ρ
                      1
                    
                    ,
                    
                      ρ
                      2
                    
                    ,
                    
                      θ
                      1
                    
                    ,
                    
                      θ
                      2
                    
                  
                  )
                
              
              =
              
              ⁢
              
                
                  A
                  ⁡
                  
                    (
                    
                      
                        ρ
                        1
                      
                      ,
                      
                        θ
                        1
                      
                    
                    )
                  
                
                ·
                
                  
                    A
                    *
                  
                  ⁡
                  
                    (
                    
                      
                        ρ
                        2
                      
                      ,
                      
                        θ
                        2
                      
                    
                    )
                  
                
                ·
              
            
          
        
        
          
            
               
              ⁢
              
                
                  
                    J
                    1
                  
                  ⁡
                  
                    (
                    
                      σ
                      ⁢
                      
                        
                          
                            ρ
                            1
                            2
                          
                          +
                          
                            ρ
                            2
                            2
                          
                          -
                          
                            2
                            ⁢
                            
                              
                            
                            ⁢
                            
                              ρ
                              1
                            
                            ⁢
                            
                              ρ
                              2
                            
                            ⁢
                            
                              
                            
                            ⁢
                            
                              cos
                              ⁡
                              
                                (
                                
                                  
                                    θ
                                    1
                                  
                                  -
                                  
                                    θ
                                    2
                                  
                                
                                )
                              
                            
                          
                        
                      
                    
                    )
                  
                
                
                  σ
                  ⁢
                  
                    
                      
                        ρ
                        1
                        2
                      
                      +
                      
                        ρ
                        2
                        2
                      
                      -
                      
                        2
                        ⁢
                        
                          
                        
                        ⁢
                        
                          ρ
                          1
                        
                        ⁢
                        
                          ρ
                          2
                        
                        ⁢
                        
                          
                        
                        ⁢
                        
                          cos
                          ⁡
                          
                            (
                            
                              
                                θ
                                1
                              
                              -
                              
                                θ
                                2
                              
                            
                            )
                          
                        
                      
                    
                  
                
              
            
          
        
        
          
            
              =
              
              ⁢
              
                2
                ⁢
                
                  
                    ∑
                    
                      k
                      =
                      0
                    
                    ∞
                  
                  ⁢
                  
                    
                  
                  ⁢
                  
                    
                      (
                      
                        1
                        +
                        k
                      
                      )
                    
                    ⁢
                    
                      
                        A
                        ⁡
                        
                          (
                          
                            
                              ρ
                              1
                            
                            ,
                            
                              θ
                              1
                            
                          
                          )
                        
                      
                      ·
                      
                        
                          A
                          *
                        
                        ⁡
                        
                          (
                          
                            
                              ρ
                              2
                            
                            ,
                            
                              θ
                              2
                            
                          
                          )
                        
                      
                      ·
                    
                  
                
              
            
          
        
        
          
            
               
              ⁢
              
                
                  
                    
                      J
                      
                        1
                        +
                        k
                      
                    
                    ⁡
                    
                      (
                      
                        σρ
                        1
                      
                      )
                    
                  
                  
                    σρ
                    1
                  
                
                ⁢
                
                  
                    
                      J
                      
                        1
                        +
                        k
                      
                    
                    ⁡
                    
                      (
                      
                        σρ
                        2
                      
                      )
                    
                  
                  
                    σρ
                    2
                  
                
                ⁢
                
                  
                    C
                    k
                    1
                  
                  ⁡
                  
                    (
                    
                      cos
                      ⁡
                      
                        (
                        
                          
                            θ
                            1
                          
                          -
                          
                            θ
                            2
                          
                        
                        )
                      
                    
                    )
                  
                
              
            
          
        
        
          
            
              =
              
              ⁢
              
                2
                ⁢
                
                  
                    ∑
                    
                      k
                      =
                      0
                    
                    ∞
                  
                  ⁢
                  
                    
                  
                  ⁢
                  
                    
                      (
                      
                        1
                        +
                        k
                      
                      )
                    
                    ⁢
                    
                      
                        A
                        ⁡
                        
                          (
                          
                            
                              ρ
                              1
                            
                            ,
                            
                              θ
                              1
                            
                          
                          )
                        
                      
                      ·
                      
                        
                          A
                          *
                        
                        ⁡
                        
                          (
                          
                            
                              ρ
                              2
                            
                            ,
                            
                              θ
                              2
                            
                          
                          )
                        
                      
                      ·
                    
                  
                
              
            
          
        
        
          
            
               
              ⁢
              
                
                  
                    
                      J
                      
                        1
                        +
                        k
                      
                    
                    ⁡
                    
                      (
                      
                        σρ
                        1
                      
                      )
                    
                  
                  
                    σρ
                    1
                  
                
                ⁢
                
                  
                    
                      
                        J
                        
                          1
                          +
                          k
                        
                      
                      ⁡
                      
                        (
                        
                          σρ
                          2
                        
                        )
                      
                    
                    
                      σρ
                      2
                    
                  
                  ·
                
              
            
          
        
        
          
            
               
              ⁢
              
                
                  ∑
                  
                    m
                    =
                    0
                  
                  k
                
                ⁢
                
                  
                
                ⁢
                
                  cos
                  ⁡
                  
                    [
                    
                      
                        (
                        
                          k
                          -
                          
                            2
                            ⁢
                            
                              
                            
                            ⁢
                            m
                          
                        
                        )
                      
                      ⁢
                      
                        (
                        
                          
                            θ
                            1
                          
                          -
                          
                            θ
                            2
                          
                        
                        )
                      
                    
                    ]
                  
                
              
            
          
        
        
          
            
              =
              
              ⁢
              
                2
                ⁢
                
                  
                    ∑
                    
                      k
                      =
                      0
                    
                    ∞
                  
                  ⁢
                  
                    
                  
                  ⁢
                  
                    
                      ∑
                      
                        m
                        =
                        0
                      
                      k
                    
                    ⁢
                    
                      
                    
                    ⁢
                    
                      
                        (
                        
                          1
                          +
                          k
                        
                        )
                      
                      ⁢
                      
                        
                          A
                          ⁡
                          
                            (
                            
                              
                                ρ
                                1
                              
                              ,
                              
                                θ
                                1
                              
                            
                            )
                          
                        
                        ·
                        
                          
                            A
                            *
                          
                          ⁡
                          
                            (
                            
                              
                                ρ
                                2
                              
                              ,
                              
                                θ
                                2
                              
                            
                            )
                          
                        
                        ·
                      
                    
                  
                
              
            
          
        
        
          
            
               
              ⁢
              
                
                  
                    
                      J
                      
                        1
                        +
                        k
                      
                    
                    ⁡
                    
                      (
                      
                        σρ
                        1
                      
                      )
                    
                  
                  
                    σρ
                    1
                  
                
                ⁢
                
                  
                    
                      
                        J
                        
                          1
                          +
                          k
                        
                      
                      ⁡
                      
                        (
                        
                          σρ
                          2
                        
                        )
                      
                    
                    
                      σρ
                      2
                    
                  
                  ·
                
              
            
          
        
        
          
            
               
              ⁢
              
                {
                
                  
                    
                      cos
                      ⁡
                      
                        [
                        
                          
                            (
                            
                              k
                              -
                              
                                2
                                ⁢
                                
                                  
                                
                                ⁢
                                m
                              
                            
                            )
                          
                          ⁢
                          
                            θ
                            1
                          
                        
                        ]
                      
                    
                    ·
                    
                      cos
                      ⁡
                      
                        [
                        
                          
                            (
                            
                              k
                              -
                              
                                2
                                ⁢
                                
                                  
                                
                                ⁢
                                m
                              
                            
                            )
                          
                          ⁢
                          
                            θ
                            2
                          
                        
                        ]
                      
                    
                  
                  +
                
              
            
          
        
        
          
            
               
              ⁢
              
                
                  sin
                  ⁡
                  
                    [
                    
                      
                        (
                        
                          k
                          -
                          
                            2
                            ⁢
                            
                              
                            
                            ⁢
                            m
                          
                        
                        )
                      
                      ⁢
                      
                        θ
                        1
                      
                    
                    ]
                  
                
                ·
                
                  sin
                  ⁡
                  
                    [
                    
                      
                        (
                        
                          k
                          -
                          
                            2
                            ⁢
                            
                              
                            
                            ⁢
                            m
                          
                        
                        )
                      
                      ⁢
                      
                        θ
                        2
                      
                    
                    ]
                  
                
              
              }
            
          
        
      
    
    
      
        [
        
          equation
          ⁢
          
            
          
          ⁢
          
            (
            40
            )
          
        
        ]
      
    
  




It can be seen in this equation that the radial and angular parts of the kernel remain separable, as in equation (25).

Equation (40) can be solved by multiplying both sides of the equation by




  
    
      
        1
        +
        k
      
    
    ·
    
      A
      ⁡
      
        (
        
          
            ρ
            1
          
          ,
          
            θ
            1
          
        
        )
      
    
    ·
    
      
        
          J
          
            1
            +
            k
          
        
        ⁡
        
          (
          
            σρ
            1
          
          )
        
      
      
        σρ
        1
      
    
  
  ⁢
  
    cos
    ⁡
    
      [
      
        
          (
          
            k
            -
            
              2
              ⁢
              
                
              
              ⁢
              m
            
          
          )
        
        ⁢
        
          θ
          1
        
      
      ]
    
  




and





  
    
      
        
          1
          +
          k
        
      
      ·
      
        A
        ⁡
        
          (
          
            
              ρ
              1
            
            ,
            
              θ
              1
            
          
          )
        
      
      ·
      
        
          
            J
            
              1
              +
              k
            
          
          ⁡
          
            (
            
              σρ
              1
            
            )
          
        
        
          σρ
          1
        
      
    
    ⁢
    
      sin
      ⁡
      
        [
        
          
            (
            
              k
              -
              
                2
                ⁢
                
                  
                
                ⁢
                m
              
            
            )
          
          ⁢
          
            θ
            1
          
        
        ]
      
    
  
  ,




and then integrating, as in equation (31). The resulting eigenfunctions are given by equation (13) above. The secular matrix in this case is given by:





  
    
      
        
          A
          
            n
            ,
            k
          
          
            m
            ,
            l
          
        
        ≡
        
          
            ∫
            0
            ∞
          
          ⁢
          
            
              ρ
              1
            
            ⁢
            
              
            
            ⁢
            
              d
              
                ρ
                1
              
            
            ⁢
            
              
                (
                
                  1
                  +
                  n
                
                )
              
            
            ⁢
            
              
                (
                
                  1
                  +
                  k
                
                )
              
            
            ⁢
            
              
                
                  
                  
                    A
                    ⁡
                    
                      (
                      
                        
                          ρ
                          1
                        
                        ,
                        
                          θ
                          1
                        
                      
                      )
                    
                  
                  
                
                2
              
              ·
              
                
                  
                    J
                    
                      1
                      +
                      n
                    
                  
                  ⁡
                  
                    (
                    
                      σρ
                      1
                    
                    )
                  
                
                
                  σρ
                  1
                
              
              ·
              
                
                  
                    J
                    
                      1
                      +
                      k
                    
                  
                  ⁡
                  
                    (
                    
                      σρ
                      1
                    
                    )
                  
                
                
                  σρ
                  1
                
              
              ·
              
                cos
                ⁡
                
                  [
                  
                    
                      (
                      
                        k
                        -
                        
                          2
                          ⁢
                          
                            
                          
                          ⁢
                          l
                        
                      
                      )
                    
                    ⁢
                    
                      θ
                      1
                    
                  
                  ]
                
              
              ·
              
                cos
                ⁡
                
                  [
                  
                    
                      (
                      
                        n
                        -
                        
                          2
                          ⁢
                          
                            
                          
                          ⁢
                          m
                        
                      
                      )
                    
                    ⁢
                    
                      θ
                      1
                    
                  
                  ]
                
              
            
          
        
      
    
    
      
        (
        41
        )
      
    
  




When the expansion functions of equation (16) are used, however, the aerial image intensity can be calculated without explicitly finding the terms of this matrix.

## Claims

1. A method comprising:
determining a coherence characteristic of an optical system;
expressing a coherent decomposition of the optical system based on the coherence characteristic as a kernel function, said kernel function comprising a series of eigenfunctions representing characteristics of the optical system, and said decomposition comprising a set of expansion functions expressed in explicit form, said expansion functions being components of the eigenfunctions;
computing the expansion functions without computing eigenvalues of the kernel function; and
generating a simulated aerial image of a mask projected by the optical system by convolving the expansion functions with a transmission function of the mask.

2. The method according to claim 1, wherein determining the coherence characteristic comprises calculating a coherence ratio of the optical system.

3. The method according to claim 1, wherein expressing the coherent decomposition comprises determining one or more aberrations of the optical system, and computing the expansion functions responsively to the aberrations.

4. The method according to claim 3, wherein determining the one or more aberrations comprises representing a point spread function (PSF) of the optical system as a series of aberration terms having respective coefficients, and wherein computing the expansion functions comprises calculating the expansion functions responsively to the respective coefficients of the aberration terms.

5. The method according to claim 4, wherein calculating the expansion functions comprises expressing the PSF as a Taylor series in terms of the coefficients of the aberration terms.

6. The method according to claim 3, wherein computing the expansion functions comprises calculating the expansion functions responsively to a defocus of the optical system.

7. Apparatus comprising:
a memory arranged to store a transmission function of a mask; and
an image processor, which is adapted to compute a coherent decomposition of an optical system based on a coherence characteristic of the optical system, the decomposition being expressed as a kernel function, said kernel function comprising a series of eigenfunctions representing characteristics of the optical system, and said decomposition comprising a set of expansion functions expressed as in explicit form, said expansion functions being components of the eigenfunctions; to
compute the expansion functions without computing eigenvalues of the kernel function; to read the transmission function from the memory, and to generate a simulated aerial image of the mask projected by the optical system by convolving the expansion functions with the transmission function.

8. The apparatus according to claim 7, wherein the coherence characteristic comprises a coherence ratio of the optical system.

9. The apparatus according to claim 7, wherein the image processor is adapted to receive a measure of one or more aberrations of the optical system, and to compute the expansion functions responsively to the measure.

10. The apparatus according to claim 9, wherein the image processor is adapted to represent a point spread function (PSF) of the optical system as a series of aberration terms having respective coefficients, and to compute the expansion functions responsively to the respective coefficients of the aberration terms.

11. The apparatus according to claim 10, wherein the image processor is adapted to compute the expansion functions by expressing the PSF as a Taylor series in terms of the coefficients of the aberration terms.

12. The apparatus according to claim 9, wherein the image processor is adapted to compute the expansion functions responsively to a defocus of the optical system.

13. A computer software product comprising a computer-readable medium in which program instructions are stored, which instructions, when read by a computer, cause the computer to compute a coherent decomposition of an optical system into a series of expansion functions, which are components of eigenfunctions of a kernel function representing characteristics of the optical system, without computing eigenvalues of the kernel function, and to generate a simulated aerial image of a mask projected by the optical system by convolving the expansion functions with a transmission function of the mask.