Fichier:Orbital p1-px animation.gif

Aller à la navigation Aller à la recherche

Orbital_p1-px_animation.gif(220 × 180 pixels, taille du fichier : 550 kio, type MIME : image/gif, en boucle, 60 trames, 6,9 s)

Ce fichier provient de Wikimedia Commons. Il peut être utilisé par d'autres projets. Sa description sur sa page de description est affichée ci-dessous.

Description

Description
English: Animation of a hydrogen p-orbital with varying superposition amplitudes of m=+1 and m=-1. The orbital is shown as a rigid body where the probability density exceeds a well-chosen value. The surface color shows the complex phase of the wave function. The top label is the wavefunction in a basis of m-eigenstates and the bottom label is the same wavefunction in the basis of x- and y-eigenstates. The basis transformation is
Date
Source Travail personnel, Created with hydrogen 1.1
Auteur Geek3

Source code

This file was created using the python script hydrogen.py. The animation was assembled with ImageMagick.

 
Cette infographie a été créée avec ImageMagick.
# paste this code at the end of "hydrogen.py" 1.1
basename = 'porbital_'
nframes = 60
n, l = 2, 1

for i in range(nframes):
    t = (i + 10) % nframes / float(nframes)
    fname = basename + '{:02}.png'.format(i)
    print fname
    
    # slow down animation around m=1 at the ring shape
    if t < 0.5:
        phi = sin(t * pi / 2)**2
    else:
        phi = sin((1-t) * pi / 2)**2
    
    # rotate population between two eigenstates
    a1 = cos(phi * pi / 2)
    a2 = sin(phi * pi / 2)
    b1 = (a1 + a2) / sqrt(2)
    b2 = (a1 - a2) / sqrt(2)
    
    draw_orbital([[n, l, 1, a1], [n, l, -1, a2]], w=220, zoom=1.5,
                 fname=fname, density=heuristic_density(n, l, 1))
    
    if '{:.2f}'.format(a1) == '1.00' and '{:.2f}'.format(a2) == '0.00':
        psi1 = r'\    |2p1⟩            '
    else:
        psi1 = '{:.2f}|2p1⟩ + {:.2f}|2p-1⟩'.format(a1, a2)
    if '{:.2f}'.format(b1) == '1.00' and '{:.2f}'.format(b2) == '0.00':
        psi2 = r'\    |2px⟩             '
    else:
        psi2 = '{:.2f}|2px⟩ + {:.2f}i|2py⟩'.format(b1, b2)
    
    add_text = 'convert {} +antialias -pointsize 15 \
-font "DejaVu-Sans-Mono-Bold" -annotate +12+41 "{}" -annotate +12+192 "{}" \
-crop 220x180+0+20 +repage {}'.format(fname, psi1, psi2, fname)
    os.system(add_text)

assemble_gif = r'convert -delay 5 -dispose Background -dither FloydSteinberg \
-colors 256 {}??.png \( -clone 20 -set delay 200 \) -swap 20,-1 +delete \( \
-clone 50 -set delay 200 \) -swap 50,-1 +delete Orbital_p1-px_animation.gif'.format(basename)
os.system(assemble_gif)

Conditions d’utilisation

Moi, en tant que détenteur des droits d’auteur sur cette œuvre, je la publie sous la licence suivante :
w:fr:Creative Commons
paternité partage à l’identique
Vous êtes libre :
  • de partager – de copier, distribuer et transmettre cette œuvre
  • d’adapter – de modifier cette œuvre
Sous les conditions suivantes :
  • paternité – Vous devez donner les informations appropriées concernant l'auteur, fournir un lien vers la licence et indiquer si des modifications ont été faites. Vous pouvez faire cela par tout moyen raisonnable, mais en aucune façon suggérant que l’auteur vous soutient ou approuve l’utilisation que vous en faites.
  • partage à l’identique – Si vous modifiez, transformez, ou vous basez sur cette œuvre, vous devez distribuer votre contribution sous la même licence ou une licence compatible avec celle de l’original.

Légendes

Ajoutez en une ligne la description de ce que représente ce fichier

Éléments décrits dans ce fichier

dépeint

Historique du fichier

Cliquer sur une date et heure pour voir le fichier tel qu'il était à ce moment-là.

Date et heureVignetteDimensionsUtilisateurCommentaire
Actuel25 mars 2018 à 15:53Vignette pour la version du 25 mars 2018 à 15:53220 × 180 (550 kio)wikimediacommons>Geek3User created page with UploadWizard

La page suivante utilise ce fichier :