קובץ:Airydisk linear.png
תוכן הדף אינו נתמך בשפות אחרות.
מראה
מתוך ויקיפדיה, האנציקלופדיה החופשית
Airydisk_linear.png (600 × 600 פיקסלים, גודל הקובץ: 10 ק"ב, סוג MIME: image/png)
זהו קובץ שמקורו במיזם ויקישיתוף. תיאורו בדף תיאור הקובץ המקורי (בעברית) מוצג למטה. |
תקציר
תיאורAirydisk linear.png |
English: Airy disk. Diffraction pattern of a point light-source seen through a round aperture.
|
תאריך יצירה | |
מקור | נוצר על־ידי מעלה היצירה |
יוצר | Geek3 |
גרסאות אחרות |
Source Code
The image was generated by the following python script using scipy and PIL
Python source code - click on the right to view |
---|
airydisks_rayleigh_sqrt.py: |
#!/usr/bin/env python
# -*- coding: utf8 -*-
'''
Copyright (C) 2010 Wikimedia Foundation
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
'''
from math import *
import scipy
import scipy.special
from PIL import Image
w = 600
h = 600
image = scipy.zeros((h, w))
scalex = scipy.special.jn_zeros(1, 3)[-1]
scaley = h * scalex / w
# linear color scale
color_func = lambda x: x
for y in range(h):
for x in range(w):
xx = ((x + .5) / w - .5) * 2. * scalex
yy = ((y + .5) / h - .5) * 2. * scaley
r = hypot(xx, yy)
v = .5
if r != 0.: v = (scipy.special.j1(r) / r) ** 2
image[y, x] = color_func(v)
max_val = image.max()
# write image to file
image_file = Image.new('L', (w, h))
for y in range(h):
for x in range(w):
c = int(2**8 * image[y, x] / max_val)
image_file.putpixel((x, y), c)
image_file.save('Airydisk_linear.png', 'PNG')
|
רישיון
אני, בעל זכויות היוצרים על היצירה הזאת, מפרסם אותה בזאת תחת הרישיונות הבאים:
מוענקת בכך הרשות להעתיק, להפיץ או לשנות את המסמך הזה, לפי תנאי הרישיון לשימוש חופשי במסמכים של גנו, גרסה 1.2 או כל גרסה מאוחרת יותר שתפורסם על־ידי המוסד לתוכנה חופשית; ללא פרקים קבועים, ללא טקסט עטיפה קדמית וללא טקסט עטיפה אחורית. עותק של הרישיון כלול בפרק שכותרתו הרישיון לשימוש חופשי במסמכים של גנו.http://www.gnu.org/copyleft/fdl.htmlGFDLGNU Free Documentation Licensetruetrue |
הקובץ הזה מתפרסם לפי תנאי רישיון קריאייטיב קומונז ייחוס 3.0 לא מותאם.
- הנכם רשאים:
- לשתף – להעתיק, להפיץ ולהעביר את העבודה
- לערבב בין עבודות – להתאים את העבודה
- תחת התנאים הבאים:
- ייחוס – יש לתת ייחוס הולם, לתת קישור לרישיון, ולציין אם נעשו שינויים. אפשר לעשות את זה בכל צורה סבירה, אבל לא בשום צורה שמשתמע ממנה שמעניק הרישיון תומך בך או בשימוש שלך.
הנכם מוזמנים לבחור את הרישיון הרצוי בעיניכם.
פריטים שמוצגים בקובץ הזה
מוצג
יולי 2010
image/png
10,611 בית
600 פיקסל
600 פיקסל
היסטוריית הקובץ
ניתן ללחוץ על תאריך/שעה כדי לראות את הקובץ כפי שנראה באותו זמן.
תאריך/שעה | תמונה ממוזערת | ממדים | משתמש | הערה | |
---|---|---|---|---|---|
נוכחית | 00:07, 20 ביולי 2010 | 600 × 600 (10 ק"ב) | Geek3 | Airydisk linear |
שימוש בקובץ
אין בוויקיפדיה דפים המשתמשים בקובץ זה.