File:ArgusCDF.svg
From Wikimedia Commons, the free media repository
Jump to navigation
Jump to search
Size of this PNG preview of this SVG file: 720 × 540 pixels. Other resolutions: 320 × 240 pixels | 640 × 480 pixels | 1,024 × 768 pixels | 1,280 × 960 pixels | 2,560 × 1,920 pixels.
Original file (SVG file, nominally 720 × 540 pixels, file size: 930 KB)
File information
Structured data
Captions
Summary
[edit]DescriptionArgusCDF.svg |
English: CDF of ARGUS distribution. c is 1. |
Date | |
Source | Own work |
Author | Shiyu Ji |
Python Source Code
[edit]# CDF 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 Psi(x):
return Phi(x) - x*phi(x) - 0.5
def F(x, chi, c):
return 1.0-Psi(chi*(1-x*x/c/c)**0.5)/Psi(chi)
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()
Licensing
[edit]I, the copyright holder of this work, hereby publish it under the following license:
This file is licensed under the Creative Commons Attribution-Share Alike 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.
- 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.
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 08:48, 27 May 2017 | 720 × 540 (930 KB) | Shiyu Ji (talk | contribs) | correct the legend order | |
08:43, 27 May 2017 | 720 × 540 (930 KB) | Shiyu Ji (talk | contribs) | User created page with UploadWizard |
You cannot overwrite this file.
File usage on Commons
There are no pages that use this file.
File usage on other wikis
The following other wikis use this file:
- Usage on ca.wikipedia.org
- Usage on en.wikipedia.org
Metadata
This file contains additional information such as Exif metadata which may have been added by the digital camera, scanner, or software program used to create or digitize it. If the file has been modified from its original state, some details such as the timestamp may not fully reflect those of the original file. The timestamp is only as accurate as the clock in the camera, and it may be completely wrong.
Width | 576pt |
---|---|
Height | 432pt |
Structured data
Items portrayed in this file
depicts
27 May 2017
image/svg+xml
6f98093475b7b20e44e99101dc798f9e8ca193f4
952,528 byte
540 pixel
720 pixel
Hidden categories: