File:Wiens law vis limits.svg

From testwiki
Jump to navigation Jump to search
    Original file (SVG file, nominally 744 × 688 pixels, file size: 43 KB)

    This file is from Wikimedia Commons and may be used by other projects. The description on its file description page there is shown below.

    Description Wien's law of radiation / Prawo Wiena modified to show visible range by Chris Hodges
    Date (UTC)
    Source Wiens law.svg
    Author
    SVG development
    InfoField
     The SVG code is valid.
     This diagram was created with Inkscape, or with something else.
    This diagram is a retouched picture, which means that it has been digitally altered from its original version. Modifications: Show visible region 380-750nm. The original can be viewed here: Wiens law.svg: . Modifications made by ChrisHodgesUK.

    I, the copyright holder of this work, hereby publish it under the following licenses:
    w:en:Creative Commons
    attribution share alike
    This file is licensed under the Creative Commons Attribution-Share Alike 2.5 Generic, 2.0 Generic and 1.0 Generic license.
    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.
    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 license.
    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.
    This licensing tag was added to this file as part of the GFDL licensing update.
    You may select the license of your choice.

    Original upload log

    This image is a derivative work of the following images:

    • Image:Wiens law.svg licensed with Cc-by-sa-2.5,2.0,1.0, GFDL
      • 2006-10-09T12:55:57Z Alejo2083 744x688 (43538 Bytes) improved version (thicker and bigger fonts and lines)
      • 2006-08-04T08:27:43Z 4C 744x688 (38025 Bytes) {{Information |Description=Wien's law of radiation / Prawo Wiena |Source=Own work, based on JPG version |Date=4.08.2006 |Author=4C |Permission=GFDL |other_versions=v. 1 }}

    Uploaded with derivativeFX import numpy as np import matplotlib.pyplot as plt

    1. Physical constants

    h = 6.626e-34 # Planck constant (J s) c = 3.0e8 # Speed of light (m/s) k = 1.381e-23 # Boltzmann constant (J/K)

    1. Planck function

    def planck(wavelength, T):

       return (2*h*c**2) / (wavelength**5) * \
              1 / (np.exp((h*c) / (wavelength*k*T)) - 1)
    
    1. Wavelength range (nm → m)

    wavelength_nm = np.linspace(1, 2000, 2000) wavelength_m = wavelength_nm * 1e-9

    1. Temperatures to plot

    temps = [130, 3500, 4000, 4500, 5000, 5500] altair_temp = 7377

    plt.figure(figsize=(8,6))

    1. Plot comparison stars (red curves)

    for T in temps:

       intensity = planck(wavelength_m, T)
       plt.plot(wavelength_nm, intensity, 'r')
    
    1. Plot Altair (blue curve, thicker)

    altair_intensity = planck(wavelength_m, altair_temp) plt.plot(wavelength_nm, altair_intensity, 'b', linewidth=3, label='Altair (7377 K)')

    1. Visible region lines

    plt.axvline(400, linestyle='dotted', color='gray') plt.axvline(700, linestyle='dotted', color='gray')

    1. Labels and formatting

    plt.xlabel("Wavelength (nm)") plt.ylabel("Intensity") plt.title("Blackbody Curves Including Altair (7377 K)") plt.xlim(0, 30000) plt.legend() plt.grid(alpha=0.3)

    plt.show()

    Captions

    Add a one-line explanation of what this file represents

    Items portrayed in this file

    depicts

    28 September 2015

    43,887 byte

    image/svg+xml

    d7fd195706fb8ad82a7a61960848a71dbc09371b

    File history

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

    Date/TimeThumbnailDimensionsUserComment
    current07:15, 30 July 2013Thumbnail for version as of 07:15, 30 July 2013744 × 688 (43 KB)wikimediacommons>DicklyonReplacing distracting color distinction with uniform dark color.

    There are no pages that use this file.