[go: nahoru, domu]

File:Laguerre-gaussian.png

Original file (1,280 × 960 pixels, file size: 166 KB, MIME type: image/png)

Summary

Description
English: Laguerre-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 genlaguerre

size = 320
I_0 = 1.
w = size/4.

p = int(sys.argv[1])
l = 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):
    r = hypot(x,y)
    phi = atan2(x,y)
    rho = 2*r**2/w**2
    I = I_0 * rho**l * (genlaguerre(p,l)(rho))**2 \
      * (cos(l*phi))**2 * exp(-rho)
    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):
    I = raw.getpixel((x,y))/high
    cooked.putpixel((x,y), linear_to_sRGB(I))
  print 'row ' + str(x+1) + ' of ' + str(size) + ' complete'

cooked.save('plot-' + str(p) + '-' + str(l) + '.png')
Date 9 March 2004 (original upload date)
Source

Transferred from en.wikipedia to Commons by felipebm.

Original version from http://www.optique-ingenieur.org/en/courses/OPI_ang_M01_C03/co/Contenu_14.html.
Author DrBob at English Wikipedia

Licensing

DrBob at English Wikipedia, the copyright holder of this work, hereby publishes it under the following licenses:
GNU head Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, 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 license is included in the section entitled GNU Free Documentation License.
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported, 2.5 Generic, 2.0 Generic and 1.0 Generic license.
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 license, 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 license as the original.
You may select the license of your choice.

Original upload log

The original description page was here. All following user names refer to en.wikipedia.
  • 2007-07-08 23:50 Keenan Pepper 1280×960×8 (170359 bytes)
  • 2004-10-09 00:56 DrBob 350×287×8 (29009 bytes) pngcrushed version
  • 2004-03-09 22:42 DrBob 350×287×8 (29854 bytes) Laguerre-Gaussian transverse mode patterns {{msg:GFDL}}

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

depicts

copyrighted<\/a>"}},"text\/plain":{"en":{"P6216":"copyrighted"}}}}" class="wbmi-entityview-statementsGroup wbmi-entityview-statementsGroup-P6216 oo-ui-layout oo-ui-panelLayout oo-ui-panelLayout-framed">
Creative Commons Attribution-ShareAlike 2.0 Generic<\/a>"}},"text\/plain":{"en":{"P275":"Creative Commons Attribution-ShareAlike 2.0 Generic"}}},"{\"value\":{\"entity-type\":\"item\",\"numeric-id\":50829104,\"id\":\"Q50829104\"},\"type\":\"wikibase-entityid\"}":{"text\/html":{"en":{"P275":"GNU Free Documentation License, version 1.2 or later<\/a>"}},"text\/plain":{"en":{"P275":"GNU Free Documentation License, version 1.2 or later"}}},"{\"value\":{\"entity-type\":\"item\",\"numeric-id\":14946043,\"id\":\"Q14946043\"},\"type\":\"wikibase-entityid\"}":{"text\/html":{"en":{"P275":"Creative Commons Attribution-ShareAlike 3.0 Unported<\/a>"}},"text\/plain":{"en":{"P275":"Creative Commons Attribution-ShareAlike 3.0 Unported"}}},"{\"value\":{\"entity-type\":\"item\",\"numeric-id\":47001652,\"id\":\"Q47001652\"},\"type\":\"wikibase-entityid\"}":{"text\/html":{"en":{"P275":"Creative Commons Attribution-ShareAlike 1.0 Generic<\/a>"}},"text\/plain":{"en":{"P275":"Creative Commons Attribution-ShareAlike 1.0 Generic"}}},"{\"value\":{\"entity-type\":\"item\",\"numeric-id\":19113751,\"id\":\"Q19113751\"},\"type\":\"wikibase-entityid\"}":{"text\/html":{"en":{"P275":"Creative Commons Attribution-ShareAlike 2.5 Generic<\/a>"}},"text\/plain":{"en":{"P275":"Creative Commons Attribution-ShareAlike 2.5 Generic"}}}}" class="wbmi-entityview-statementsGroup wbmi-entityview-statementsGroup-P275 oo-ui-layout oo-ui-panelLayout oo-ui-panelLayout-framed">

9 March 2004

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current16:08, 7 May 2008Thumbnail for version as of 16:08, 7 May 20081,280 × 960 (166 KB)File Upload Bot (Magnus Manske) {{BotMoveToCommons|en.wikipedia}} {{Information |Description={{en|Laguerre-Gaussian transverse mode patterns. Bigger and better version created with the help of this Python script: #!/usr/bin/env python import sys import Image from math import *

The following 3 pages use this file:

Global file usage

The following other wikis use this file: