Call Us Anytime +86-591-83626970

Email Us Now sales@wts-photonics.com

banner
Home Optical Windows

How does Opticstudio sample in wavefront calculation

How does Opticstudio sample in wavefront calculation

Jun 22, 2018
How to sample in Wavefront based analysis and calculation, including Wavefront Map, point spread function (PSF) and modulation transfer function (MTF).

Question:
Where is the center of the sampling grid in the wavefront graph and other correlation analysis?
First of all, we observe the wavefront figure, wavefront data is the foundation of many other OpticStudio analysis functions, such as PSF, MTF and circle into Energy (Encircled Energy).

When doing numerical calculations, we want to maintain the symmetry of the pupil and keep the position of the main light at an actual point in the middle of the beam.Also, we need to determine a central point for the FFT algorithm.In order to fulfill these requirements, we need to define the center of the pupil in the pupil space (called by different definitions the near field or space field), namely (n/2+1,n/2+1).So when you look closely at the wavefront diagram you see that the data in the leftmost column is all zero.

So let's look at the PSF analysis.PSF is the result of the wavefront square after the fast Fourier transform.The FFT PSF

We can see that the PSF is centered around the pixel in (n/2,n/2), which is the pixel in (16,16).This is related to the way FFT is calculated and the definition of direction in OpticStudio.When the center point of the grid is n/2+1 in one domain (such as the spatial domain), the center point coordinate in another domain (such as the frequency domain) is n/2.A close look at the figure below shows that the data in the left-most column and the bottom row are blank.

In MTF calculation, MTF is the autocorrelation function of wavefront, and the number of pixels is usually twice that of the wavefront graph (regardless of the change of coordinate axis).Therefore, for the sake of MTF, OpticStudio will first supplement 32x32 data points to 64x64 data points with data 0, and then conduct self-correlation calculation.For the 3d FFT MTF (Surface FFT MTF), OpticStudio will square the FFT before the wave, and then calculate its FFT. In other words, MTF is the Fourier transform of PSF.

We get the following results:

You can see that the peak point is at the coordinate (32,32), or at (n/2,n/2). OpticStudio determines the frequency interval of 3d FFT MTF by using the boundary of the autocorrelation function 1/(lambda*F/#), where lambda is the shortest wavelength in the system (if we calculate the multi-wavelength result).OpticStudio actually calculates the cutoff frequency of all wavelengths multiplied by the number of F's, and scales the entire chart based on their maximum results.Other wavelengths are scaled in the pupil space to allow all PSF to sample at the same distance.To double cutoff frequency can be the width of the optical transfer function (OTF) (above the graph 850.06 cycles/mm), then the results divided by 2 * n (MTF calculating the number of pixels after zero padding) get sample point spacing.

For example, the width of OTF is 850.06 cycles/mm, and the sampling point is 32x32.So the point spacing is 850.06/64 = 13.282 cycles/mm.The center point of the 3d FFT MTF graph is located at the coordinate (n/2,n/2)=(32,32), and the corresponding frequency is 0 in the graph.In other words, the 32nd column pixel corresponds to a point on the X-axis with a frequency of 0 cycles per mm.Column 33 corresponds to a space frequency of 13.282 cycles/mm, column 34 corresponds to a space frequency of 26.564 cycles/mm, and so on.The last column, column 64, has a corresponding spatial frequency of 32*13.282 = 425.03 cycles/mm.The first column corresponds to a space frequency of -31*13.282 = -411.748 cycles/mm.

As with PSF, 3d FFT MTF charts have left-most column and lower-most behavior white space data.Therefore, the data on the left and right sides of the frequency coordinate axis is not strictly symmetric (the same is true for the top and bottom sides).But keep in mind that each data is symmetric along the "center" of the frequency coordinate system.If you consider a "half-cell pixel" on the left or right (up or down) edge, the entire width is indeed 850.06 cycles per mm.The edge of a finite size pixel covers the entire width, but the central coordinates of each pixel (per column or row) are inserted by half a pixel from each side.

We wholesale a variety of aspherical optical components, including Optical precision glass aspheric lenses,Precision Aspheric Lenses and more.
WTS PHOTONICS CO.,LTD was founded in 2009 and was awarded the National High-tech Enterprise in 2021, the Fujian Provincial Science and Technology Little Giant Enterprise, and the Fujian Provincial Profession Precision-Specialization-Innovation enterprise in 2022. WTS locate in the beautiful southeast coastal city, Fuzhou, a famous optical city in China.   WTS has 11,000 square meters of standardized factory buildings, a group of skilled technical staff, and a complete optical processing system, coating system, assembly system, and quality control system. WTS provide customers with one-stop solutions for R&D, design, and manufacturing of high-precision optical components, high-precision optical imaging lenses, and high-power laser components. WTS‘s products include optical windows, lenses, cylindrical lenses, filters, mirrors, prisms, waveplates, beamsplitters, laser crystals, lenses assembly and module etc. Products are widely used in machine vision, industrial lasers, biomedicine, precision instruments, aerospace, AR&VR, Semi-Conductor, ADAS, Vehicle Optics and optical communications.   WTS are certificatied by ISO9001, ISO14001, ISO13485 and IATF16949. WTS have been deeply involved in optics industry for tens of years and service customers around the whole world. Based on quality, drived by technology, talent is future, WTS Continuously developing and innovating, achieved excellent quality and reputation.
facebook linkedin twitter youtube
Contact Us
BUILDING 16#, NO.20 ZHIHUI ROAD NANYU TOWN MINHOU COUNTY, FUZHOU, CHINA

Copyright @ 2025 Fuzhou WTS Photonics Technology Co., Ltd. All Rights Reserved. Network Supported

Sitemap / Blog / Xml / Privacy Policy

Leave A Message

Leave A Message
If you are interested in our products and want to know more details,please leave a message here,we will reply you soon. email: sales@wts-photonics.com
Submit

Home

Products

whatsApp

contact