Fitxer:ArgusPDF.svg

El contingut de la pàgina no s'admet en altres llengües.
De la Viquipèdia, l'enciclopèdia lliure

Fitxer original(fitxer SVG, nominalment 720 × 540 píxels, mida del fitxer: 936 Ko)

Descripció a Commons

Resum

Descripció
English: PDF of ARGUS distribution. c is 1.
Data
Font Treball propi
Autor Shiyu Ji

Python Source Code

# PDF of ARGUS Distribution

import matplotlib.pyplot as pl
import numpy as np
from scipy.special import wofz
import matplotlib.patches as mpatches
import scipy.integrate as integral
from math import pi
from math import exp

t0 = 0.0
dt = 0.001
t_final = 1.0 # also c
c = t_final
T = np.arange(t0, t_final, dt)
ax = pl.figure().add_subplot(111)

# standard normal distribution pdf
def phi(x):
    return exp(-0.5*x*x)/((2*pi)**0.5)

# standard normal distribution cdf
def Phi(x):
    return integral.quad(lambda t: phi(t), -100, x)[0]

def f(x, chi, c):
    return (chi**3)/((Phi(chi)-chi*phi(chi)-0.5) \
            *(2*pi)**0.5)*x/c/c*((1.0-x*x/c/c)**0.5) \
            *exp(-chi*chi*(1.0-x*x/c/c)/2.0)

def pdf(ax, chi, c, color):
    for t in T:
        old_value = f(t, chi, c)
        new_value = f(t+dt, chi, c)
        ax.plot([t, t+dt], [old_value, new_value], color, linewidth=1.0)

pdf(ax, 0.1, c, 'm-')
pdf(ax, 0.5, c, 'k-')
pdf(ax, 1.0, c, 'b-')
pdf(ax, 2.0, c, 'g-')
pdf(ax, 3.0, c, 'r-')

magentaPatch = mpatches.Patch(color='magenta', label='$\chi=0.1$')
blackPatch = mpatches.Patch(color='black', label='$\chi=0.5$')
bluePatch = mpatches.Patch(color='blue', label='$\chi=1.0$')
greenPatch = mpatches.Patch(color='green', label='$\chi=2.0$')
redPatch = mpatches.Patch(color='red', label='$\chi=3.0$')
pl.legend(handles = [magentaPatch, blackPatch, bluePatch, greenPatch, redPatch], loc=2)

pl.show()

Llicència

Jo, el titular dels drets d'autor d'aquest treball, el public sota la següent llicència:
w:ca:Creative Commons
reconeixement compartir igual
This file is licensed under the Creative Commons Attribution-Share Alike 4.0 International license.
Sou lliure de:
  • compartir – copiar, distribuir i comunicar públicament l'obra
  • adaptar – fer-ne obres derivades
Amb les condicions següents:
  • reconeixement – Heu de donar la informació adequada sobre l'autor, proporcionar un enllaç a la llicència i indicar si s'han realitzat canvis. Podeu fer-ho amb qualsevol mitjà raonable, però de cap manera no suggereixi que l'autor us dóna suport o aprova l'ús que en feu.
  • compartir igual – Si modifiqueu, transformeu, o generareu amb el material, haureu de distribuir les vostres contribucions sota una llicència similar o una de compatible com l'original

Llegendes

Afegeix una explicació d'una línia del que representa aquest fitxer

Elements representats en aquest fitxer

representa l'entitat

958.406 byte

540 píxel

720 píxel

Historial del fitxer

Cliqueu una data/hora per veure el fitxer tal com era aleshores.

Data/horaMiniaturaDimensionsUsuari/aComentari
actual10:49, 27 maig 2017Miniatura per a la versió del 10:49, 27 maig 2017720 × 540 (936 Ko)Shiyu Jicorrect the legend order.
10:43, 27 maig 2017Miniatura per a la versió del 10:43, 27 maig 2017720 × 540 (936 Ko)Shiyu JiUser created page with UploadWizard

La pàgina següent utilitza aquest fitxer:

Ús global del fitxer

Utilització d'aquest fitxer en altres wikis:

Metadades