파일:Intensity profiles of Laguerre-Gaussian modes.pdf

testwiki
둘러보기로 이동 검색으로 이동
    원본 파일 (2,027 × 1,529 픽셀, 파일 크기: 200 KB, MIME 종류: application/pdf)

    이 파일은 위키미디어 공용에 있으며, 다른 프로젝트에서 사용하고 있을 가능성이 있습니다. 해당 파일에 대한 설명이 아래에 나와 있습니다.

    파일 설명

    설명
    English: Intensity profiles of the first 12 Laguerre-Gaussian modes.

    Each profile is generated form the following script: - the script is and adapter version for python3 of the original found for Hemite-Gaussian modes: https://en.wikipedia.org/wiki/File:Hermite-gaussian.png

    import sys from PIL import Image from math import * from scipy.special import genlaguerre

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

    l = int(sys.argv[1]) m = int(sys.argv[2])

    def linear_to_sRGB(l):

     # Formula from https://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
    
    1. 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 *  (genlaguerre(m,l)(2*(x**2+y**2)/w**2) \
               *  (sqrt(2*(x**2+y**2))/w)**l \
               *  exp(-x**2/w**2) *exp(-y**2/w**2))**2
       if I > high: high = I
       raw.putpixel((int(size//2+(x-1)//2),int(size/2+(y-1)//2)), I)
       raw.putpixel((int(size//2+(x-1)//2),int(size/2-(y+1)//2)), I)
       raw.putpixel((int(size//2-(x+1)//2),int(size/2+(y-1)//2)), I)
       raw.putpixel((int(size//2-(x+1)//2),int(size/2-(y+1)//2)), I)
     #print('row ' + str((x+1)/2) + ' of ' + str(size/2) + ' complete')
    
    1. Now, let's normalize them and export them as sRGB.
    2. im_rgb_raw = raw.convert('RGB')
    3. im_rgb_raw.save("raw.png")

    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), int(linear_to_sRGB(l)))
     print( 'row ' + str(x+1) + ' of ' + str(size) + ' complete')
    

    im_rgb_cooked = cooked.convert('RGB')

    im_rgb_cooked.save("hg"+sys.argv[1]+sys.argv[2]+".png")
    날짜
    출처 자작
    저자 Christian Tomás Schmiegelow

    라이선스

    나는 아래 작품의 저작권자로서, 이 저작물을 다음과 같은 라이선스로 배포합니다:
    w:ko:크리에이티브 커먼즈
    저작자표시 동일조건변경허락
    이용자는 다음의 권리를 갖습니다:
    • 공유 및 이용 – 저작물의 복제, 배포, 전시, 공연 및 공중송신
    • 개작 – 저작물의 개작, 수정, 2차적저작물 창작
    다음과 같은 조건을 따라야 합니다:
    • 저작자표시 – 적절한 저작자 표시를 제공하고, 라이선스에 대한 링크를 제공하고, 변경사항이 있는지를 표시해야 합니다. 당신은 합리적인 방식으로 표시할 수 있지만, 어떤 방식으로든 사용권 허가자가 당신 또는 당신의 사용을 지지하는 방식으로 표시할 수 없습니다.
    • 동일조건변경허락 – 만약 당신이 이 저작물을 개작 또는 변형하거나 이 저작물을 기반으로 제작하는 경우, 당신은 당신의 기여물을 원저작물과 동일하거나 호환 가능한 라이선스에 따라 배포하여야 합니다.

    설명

    이 파일이 나타내는 바에 대한 한 줄 설명을 추가합니다
    Intensity profiles of the first 12 Laguerre-Gaussian modes.

    이 파일에 묘사된 항목

    다음을 묘사함

    위키데이터 항목 없는 어떤 값

    application/pdf

    파일 역사

    날짜/시간 링크를 클릭하면 해당 시간의 파일을 볼 수 있습니다.

    날짜/시간섬네일크기사용자설명
    현재2023년 4월 4일 (화) 22:552023년 4월 4일 (화) 22:55 판의 섬네일2,027 × 1,529 (200 KB)wikimediacommons>EuclidezUploaded own work with UploadWizard

    이 파일을 사용하는 문서가 없습니다.