File:Bloch function.svg

From testwiki
Jump to navigation Jump to search
    Original file (SVG file, nominally 765 × 333 pixels, file size: 8 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.

    Summary

    Description
    English: Solid line: A schematic of a typical Bloch wave in one dimension. (The actual wave is complex; this is the real part.) The dotted line is from the eik·r factor. The light circles represent atoms.
    Español: En línea sólida: Un esbozo de una onda de Bloch típica en una dimensión. (La onda es, en realidad, compleja, y aquí sólo se muestra la parte real). En línea punteada: el factor eik·r. Los círculos suaves representan átomos.
    Date
    Source Own work
    Author Nicoguaro
    SVG development
    InfoField
     The SVG code is valid.
     This plot was created with Matplotlib.
    Source code
    InfoField

    Python code

    import numpy as np
    import matplotlib.pyplot as plt
    from scipy.special import mathieu_cem
    
    
    x = np.linspace(-0.6, 0.8, 301)
    y0 = np.cos(np.pi*x)
    y1, _ =  mathieu_cem(1, 1, 8*180*x)
    y1 =  y1 + 0.3*np.cos(24*np.pi*x + 3)
    y1 = y0 * y1/np.max(y1)
    fig = plt.figure(figsize=(10, 4))
    centers = np.arange(-0.5, 0.8, 0.25)
    plt.plot([-0.6, 0.8], [0, 0], 'k', zorder=3)
    plt.scatter(centers, 0*centers, s=300, alpha=0.5, color="gray", zorder=4)
    plt.plot(x, y0, '--k', lw=1, zorder=5)
    plt.plot(x, y1, 'k', lw=2, zorder=6)
    plt.axis([-0.6, 0.8, -1, 1])
    plt.axis("off")
    plt.savefig("Bloch function.svg", bbox_inches="tight", pad_inches=0.1)
    plt.show()
    

    Licensing

    I, the copyright holder of this work, hereby publish it under the following license:
    w:en:Creative Commons
    attribution
    This file is licensed under the Creative Commons Attribution 4.0 International 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.

    Captions

    Add a one-line explanation of what this file represents

    Items portrayed in this file

    depicts

    9 February 2016

    image/svg+xml

    b4bee159feb0e458df2b57bfed78159e44bd290a

    8,701 byte

    333 pixel

    765 pixel

    File history

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

    Date/TimeThumbnailDimensionsUserComment
    current03:21, 10 February 2016Thumbnail for version as of 03:21, 10 February 2016765 × 333 (8 KB)wikimediacommons>NicoguaroUser created page with UploadWizard

    There are no pages that use this file.