File:Hermite-gaussian.png
From Vigyanwiki
Hermite-gaussian.png
![File:Hermite-gaussian.png](https://upload.wikimedia.org/wikipedia/commons/thumb/b/be/Hermite-gaussian.png/800px-Hermite-gaussian.png)
Size of this preview: 800 × 600 pixels. Other resolutions: 320 × 240 pixels | 640 × 480 pixels | 1,024 × 768 pixels | 1,280 × 960 pixels.
Original file (1,280 × 960 pixels, file size: 120 KB, MIME type: image/png)
This file is from Wikimedia Commons and may be used by other projects. The description on its file description page there is shown below.
Summary
DescriptionHermite-gaussian.png |
English: Hermite-Gaussian transverse mode patterns. Bigger and better version created with the help of the Python script below
Русский: Моды оптического резонатора с квадратными зеркалами
#!/usr/bin/env python import sys import Image from math import * from scipy.special.orthogonal import hermite size = 320 I_0 = 1. w = size/4. m = int(sys.argv[1]) n = int(sys.argv[2]) def linear_to_sRGB(l): # Formula from http://www.w3.org/Graphics/Color/sRGB if l <= 0.00304: l = 12.92*l else: l = 1.055*pow(l,1.0/2.4) - 0.055 return 255.0*l # First, let's make a floating-point image of the raw intensities. raw = Image.new('F', (size,size)) high = 0 for x in range(1, size, 2): for y in range(1, size, 2): I = I_0 * (hermite(m)(sqrt(2)*x/w)*exp(-x**2/w**2))**2 \ * (hermite(n)(sqrt(2)*y/w)*exp(-y**2/w**2))**2 if I > high: high = I raw.putpixel((size/2+(x-1)/2,size/2+(y-1)/2), I) raw.putpixel((size/2+(x-1)/2,size/2-(y+1)/2), I) raw.putpixel((size/2-(x+1)/2,size/2+(y-1)/2), I) raw.putpixel((size/2-(x+1)/2,size/2-(y+1)/2), I) print 'row ' + str((x+1)/2) + ' of ' + str(size/2) + ' complete' # Now, let's normalize them and export them as sRGB. cooked = Image.new('L', (size,size)) for x in range(size): for y in range(size): l = raw.getpixel((x,y))/high cooked.putpixel((x,y), linear_to_sRGB(l)) print 'row ' + str(x+1) + ' of ' + str(size) + ' complete'cooked.save('plot-' + str(m) + '-' + str(n) + '.png') |
Date | 9 March 2004 (original upload date) |
Source | Transferred from en.wikipedia to Commons by SreeBot. |
Author | DrBob at en.wikipedia; original version from http://www.optique-ingenieur.org/en/courses/OPI_ang_M01_C03/co/Contenu_13.html |
Licensing
DrBob at English Wikipedia, the copyright holder of this work, hereby publishes it under the following licences:
![w:en:Creative Commons](https://upload.wikimedia.org/wikipedia/commons/thumb/7/79/CC_some_rights_reserved.svg/90px-CC_some_rights_reserved.svg.png)
![attribution](https://upload.wikimedia.org/wikipedia/commons/thumb/1/11/Cc-by_new_white.svg/24px-Cc-by_new_white.svg.png)
![share alike](https://upload.wikimedia.org/wikipedia/commons/thumb/d/df/Cc-sa_white.svg/24px-Cc-sa_white.svg.png)
This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported, 2.5 Generic, 2.0 Generic and 1.0 Generic licence.
Attribution: DrBob at English Wikipedia
- You are free:
- to share – to copy, distribute and transmit the work
- to remix – to adapt the work
- Under the following conditions:
- attribution – You must give appropriate credit, provide a link to the licence, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
- share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible licence as the original.
![]() |
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation Licence, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the licence is included in the section entitled GNU Free Documentation Licence.http://www.gnu.org/copyleft/fdl.htmlGFDLGNU Free Documentation Licensetruetrue |
You may select the licence of your choice.
Original upload log
The original description page was here. All following user names refer to en.wikipedia.
Upload date | User | Bytes | Dimensions | Comment
- 2007-07-08 22:25 (UTC) | Keenan Pepper | 122975 (bytes) | 1280×960 | Hermite-Gaussian transverse mode patterns. Bigger & better version, created with this Python script: #!/usr/bin/env python import sys import Image from math import * from scipy.special.orthogonal import hermite size = 320 I_0 = 1. w = size/4
- 2004-10-09 00:56 (UTC) | DrBob | 29830 (bytes) | 350×268 | pngcrushed version
- 2004-03-10 00:45 (UTC) | DrBob | 35303 (bytes) | 350×268 | bug fixed version
- 2004-03-09 22:46 (UTC) | DrBob | 32346 (bytes) | 350×268 | Hermite-Gaussian transverse mode patterns, {{msg:GFDL}}
Captions
Add a one-line explanation of what this file represents
Items portrayed in this file
depicts
9 March 2004
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 16:59, 16 January 2012 | ![]() | 1,280 × 960 (120 KB) | wikimediacommons>SreeBot | (Original text) : Hermite-Gaussian transverse mode patterns. Bigger & better version, created with this Python script: #!/usr/bin/env python import sys import Image from math import * from scipy.special.orthogonal import hermite size = 320 I_ |
File usage
The following page uses this file:
Metadata
This file contains additional information, probably added from the digital camera or scanner used to create or digitise it.
If the file has been modified from its original state, some details may not fully reflect the modified file.
Horizontal resolution | 28.35 dpc |
---|---|
Vertical resolution | 28.35 dpc |
File change date and time | 22:16, 8 July 2007 |
Retrieved from ‘https://www.vigyanwiki.in/wiki/File:Hermite-gaussian.png’