File:Adaptive optics.gif
Adaptive_optics.gif (576 × 198 pixels, file size: 2.6 MB, MIME type: image/gif, looped, 101 frames)
Captions
Summary
[edit]DescriptionAdaptive optics.gif |
English: If your image suffers from time-varying distortions (e.g. due to the atmosphere fluctuations when you do ground-based astronomy) you can use a wavefront sensor to measure them on a spot you know the shape of ("guide star"), and then correct for them using a deformable mirror. |
Date | |
Source | https://twitter.com/j_bertolotti/status/1144525775242182658 |
Author | Jacopo Bertolotti |
Permission (Reusing this file) |
https://twitter.com/j_bertolotti/status/1030470604418428929 |
Mathematica 11.0 code
[edit]ghost3=(*Import or create a square image to use*) dim = Dimensions[ghost3][[1]] zpoly[x_, y_, n_, m_] := -Which[m >= 0, ZernikeR[n, m, Sqrt[x^2 + y^2]]*Cos[m ArcTan[x, y]], m < 0, ZernikeR[n, -m, Sqrt[x^2 + y^2]]*Sin[-m ArcTan[x, y]] ]; Z = Table[ N@Table[ If[x == y == 0, 0, zpoly[x, y, n, m]], {x, -1, 1, 2/(dim - 1)}, {y, -1, 1, 2/(dim - 1)}], {n, 0, 3}, {m, -n, n, 2}]; Z = Flatten[Z, 1]; ClearAll[fpsf] fpsf[t_] := Table[RandomReal[{-1, 1}] Sin[RandomReal[{0, 1}] t + RandomReal[{0, 2 \[Pi]}] ], {10}]; p1 = Table[ psfcoeff = fpsf[t]; psf = psfcoeff.Z; psfcoefferr = RandomReal[{-0.1, 0.1}, 10]; GraphicsRow[{ArrayPlot[Abs[Fourier[RotateRight[InverseFourier[ghost3], {128/2, 128/2}] *(Exp /@ (I 20*psf))] ], PlotRange -> All, PlotLabel -> "Distorted image"] , MatrixPlot[psf, PlotRange -> All, Frame -> False, PlotLabel -> "Measured distortion"] , ArrayPlot[Abs[Fourier[RotateRight[InverseFourier[ghost3], {128/2, 128/2}] *(Exp /@ (I 20*(psfcoefferr.Z) ))] ], PlotRange -> All, PlotLabel -> "Recovered image"] }, ImageSize -> Large] , {t, 0, 1, 0.01}]; ListAnimate[p1]
Licensing
[edit]This file is made available under the Creative Commons CC0 1.0 Universal Public Domain Dedication. | |
The person who associated a work with this deed has dedicated the work to the public domain by waiving all of their rights to the work worldwide under copyright law, including all related and neighboring rights, to the extent allowed by law. You can copy, modify, distribute and perform the work, even for commercial purposes, all without asking permission.
http://creativecommons.org/publicdomain/zero/1.0/deed.enCC0Creative Commons Zero, Public Domain Dedicationfalsefalse |
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 12:37, 28 June 2019 | 576 × 198 (2.6 MB) | Berto (talk | contribs) | User created page with UploadWizard |
You cannot overwrite this file.
File usage on Commons
The following page uses this file:
File usage on other wikis
The following other wikis use this file:
- Usage on en.wikipedia.org
- Usage on he.wikipedia.org
- Usage on hr.wikipedia.org
- Usage on it.wikipedia.org
Metadata
This file contains additional information such as Exif metadata which may have been added by the digital camera, scanner, or software program used to create or digitize it. If the file has been modified from its original state, some details such as the timestamp may not fully reflect those of the original file. The timestamp is only as accurate as the clock in the camera, and it may be completely wrong.
GIF file comment | Created with the Wolfram Language : www.wolfram.com |
---|