For faster navigation, this Iframe is preloading the Wikiwand page for Tiedosto:Fallout 30days 1mt burst 15mph.svg.

Tiedosto:Fallout 30days 1mt burst 15mph.svg

Wikipediasta

Alkuperäinen tiedosto(SVG-tiedosto; oletustarkkuus 720 × 540 kuvapistettä; tiedostokoko 69 KiB)

Yhteenveto

Kuvaus
English: 1 megaton nuke fallout pattern after 30 days. Wind 15 mph. Fission 100%, wind shear 0,25
Päiväys
Lähde Oma teos
 
Tämä vektorigrafiikkatiedosto luotiin käyttäen apuna ohjelmaa Matplotlib.
Tekijä Merikanto

This image is generated with python-glasstone library.

GLASSTONE

MIT Licence GOFAI 2013

https://github.com/GOFAI/glasstone

## nuclear weapon fallout v 0007
## using python glasstone library 2017

import matplotlib.pyplot as plt
from matplotlib import cm, colors, colorbar
import matplotlib.lines as mlines
import matplotlib.patches as mpatches
import numpy as np
from scipy.stats import lognorm
from glasstone.fallout import WSEG10
             
## 1 dose , 2 mortality , 2 dose 1, 2, ...
      
#picname="fallout_1hr_doserate_1mt_burst_15mph.svg"      
 
picname="fallout_30days_1mt_burst_15mph.svg"
 
tyyppi=1

mitta=1100.0

#mitta=360.0

### if pic not drawn, select this 4 or greater, not 1
## grid resolution
mdx=4

# yield in megatons
yld = 1

## wind speed m/s
ms=6.7

# fission fraction
ff = 1.0

# wind direction (in degrees with wind from north = 0)
wind_direction = 270
# wind shear (change in mph per kilofoot change in altitude)
wind_shear = 0.25


if tyyppi==1:
	paletti=['b','g','y','y', '#ff9900', '#ff9900','r','r']
	kontours=[0.0005,0.05,0.1,0.3,1.5,3,5,10]
	kontkoeff=1.0
	laabeli1="Sv"

if tyyppi==2:
	paletti=('g', '#ff9900','r','#7F0000')
	kontours=[0.00000001,0.05, 0.5,1.0]
	kontkoeff=100.0
	laabeli1="%" 

if tyyppi==3:
	paletti=['b','g','y','y', '#ff9900', '#ff9900','r','r']
	kontours=[0.0005,0.05,0.1,0.3,1.5,3,5,10]
	kontkoeff=1.0
	laabeli1="Sv/h"

if tyyppi==4:
	kontours=[0.25,0.5,1,2,4,8,16]
	paletti=['g','g','g','y','y','r','r','r']
	kontkoeff=1.0
	laabeli1="Sv"


kaptitail=" MT burst "+ str(round(ff*100))+ "% fission"

if tyyppi==1:
	kaptibase="WSEG-10 30-day total dose contours for "

if tyyppi==2:
	kaptibase="WSEG-10 30-day total death rate contours for "

if tyyppi==3:
	kaptibase="WSEG-10 1-hour dose rate contours for "
	
if tyyppi==4:
	kaptibase="WSEG-10 30-day total dose contours for "

kaptioni=kaptibase+str(yld)+ kaptitail 


wind_speed=ms/0.44704

maili=1.609

# ground zero x & y locations (st. mi)
gzx = 20
gzy=(mitta/2)
ymax = (mitta*maili)+10

## wind speed (mph)

shear_si=round((wind_shear*0.44707*3.2808),3)

leka=[]
pitu=len(kontours)
for n in range(0, pitu):
	print n, kontours[n], paletti[n]
	meme=mlines.Line2D([], [], color=paletti[n], linewidth=5, marker='*',markersize=1, label=str(kontours[n]*kontkoeff)+ " "+laabeli1)
	leka.append(meme)

#print "Koebreak"		
#exit(1)		
	

print "TYP ", tyyppi 
print "Wait ..."

x = np.arange(-1, mitta, mdx)
y = np.arange(-1, mitta, mdx)
X, Y = np.meshgrid(x, y)
# use WSEG10's native units

w = WSEG10(gzx, gzy, yld, ff, wind_speed, wind_direction, wind_shear, dunits='mi', wunits='mph', yunits='MT', shearunits='mph/kilofoot')
dose = np.vectorize(w.dose)
doserate = np.vectorize(w.D_Hplus1)

def fatality_fraction(x, y):
    erd = w.dose(x, y, dunits='mi', doseunits='Sv')
    if erd > 20.0:
        return 1.01
    else:
        return lognorm.cdf(erd, 0.42, scale=4.5)
    
deaths = np.vectorize(fatality_fraction)

if tyyppi==1:
	Z = dose(X, Y, dunits='mi', doseunits='Sv')

if tyyppi==2:
	Z = deaths(X, Y)

if tyyppi==3:
	Z = doserate(X, Y, dunits='mi', doseunits='Sv')
	
if tyyppi==4:
	Z = dose(X, Y, dunits='mi', doseunits='Sv')


fig = plt.figure()
ax1 = fig.add_axes([0.1, 0.1, 0.9, 0.9])

x = np.arange(-1, mitta, mdx)
y = np.arange(-1, mitta, mdx)

for n in range(1,len(x)):
	x[n]=x[n]*maili
	y[n]=y[n]*maili    

X, Y = np.meshgrid(x, y)

CS = ax1.contour(X, Y, Z, kontours, colors=paletti, linewidths=2.5)

ax1.grid(True)

ax1.text(15, 80, kaptioni, size=14)

outs1="  Wind "+str(ms)+ " m/s shear "+str(shear_si)+" m/s per km"

ax1.text(15, 20, outs1, size=14)

ax1.set_ylim([-0.5, ymax])
ax1.set_ylabel("km")
ax1.set_xlabel("km")
ax1.xaxis.label.set_size(14)
ax1.yaxis.label.set_size(14)

ax1.legend(handles=leka)
plt.show()
fig.savefig(picname, format="svg")

Lisenssi

Minä, tämän teoksen tekijänoikeuksien haltija, julkaisen täten tämän teoksen seuraavalla lisenssillä:
w:fi:Creative Commons
nimeäminen jaa samoin
Tämä tiedosto on lisensoitu Creative Commons Nimeä-JaaSamoin 4.0 Kansainvälinen -lisenssillä.
Voit:
  • jakaa – kopioida, levittää ja esittää teosta
  • remiksata – valmistaa muutettuja teoksia
Seuraavilla ehdoilla:
  • nimeäminen – Sinun on mainittava lähde asianmukaisesti, tarjottava linkki lisenssiin sekä merkittävä, mikäli olet tehnyt muutoksia. Voit tehdä yllä olevan millä tahansa kohtuullisella tavalla, mutta et siten, että annat ymmärtää lisenssinantajan suosittelevan sinua tai teoksen käyttöäsi.
  • jaa samoin – Jos muutat tai perustat tähän työhön, voit jakaa tuloksena syntyvää työtä vain tällä tai tämän kaltaisella lisenssillä.

Kuvatekstit

Lisää yhden rivin pituinen kuvaus tästä tiedostosta

Kohteet, joita tässä tiedostossa esitetään

esittää

14. lokakuu 2017

Tiedoston historia

Päiväystä napsauttamalla näet, millainen tiedosto oli kyseisellä hetkellä.

PäiväysPienoiskuvaKokoKäyttäjäKommentti
nykyinen18. lokakuuta 2017 kello 08.29Pienoiskuva 18. lokakuuta 2017 kello 08.29 tallennetusta versiosta720 × 540 (69 KiB)MerikantoChange of resolution
16. lokakuuta 2017 kello 11.51Pienoiskuva 16. lokakuuta 2017 kello 11.51 tallennetusta versiosta843 × 758 (73 KiB)MerikantoReso code change
15. lokakuuta 2017 kello 17.56Pienoiskuva 15. lokakuuta 2017 kello 17.56 tallennetusta versiosta1 364 × 1 041 (76 KiB)MerikantoColors
15. lokakuuta 2017 kello 17.53Pienoiskuva 15. lokakuuta 2017 kello 17.53 tallennetusta versiosta1 119 × 1 046 (75 KiB)MerikantoDoes limits 0.0005 and 0.005 Sv
15. lokakuuta 2017 kello 17.14Pienoiskuva 15. lokakuuta 2017 kello 17.14 tallennetusta versiosta1 255 × 948 (94 KiB)MerikantoRadiation dose units to Sievert, SV, SI-unit
15. lokakuuta 2017 kello 11.46Pienoiskuva 15. lokakuuta 2017 kello 11.46 tallennetusta versiosta720 × 540 (58 KiB)MerikantoFission fraction 100%
15. lokakuuta 2017 kello 11.41Pienoiskuva 15. lokakuuta 2017 kello 11.41 tallennetusta versiosta720 × 540 (55 KiB)MerikantoDistences, shear, wind speed to SI compatible units
14. lokakuuta 2017 kello 18.47Pienoiskuva 14. lokakuuta 2017 kello 18.47 tallennetusta versiosta720 × 540 (107 KiB)MerikantoCorrect wind shear to label
14. lokakuuta 2017 kello 18.46Pienoiskuva 14. lokakuuta 2017 kello 18.46 tallennetusta versiosta720 × 540 (107 KiB)MerikantoUser created page with UploadWizard

Tiedoston käyttö

Seuraava sivu käyttää tätä tiedostoa:

Metatieto

{{bottomLinkPreText}} {{bottomLinkText}}
Tiedosto:Fallout 30days 1mt burst 15mph.svg
Listen to this article

This browser is not supported by Wikiwand :(
Wikiwand requires a browser with modern capabilities in order to provide you with the best reading experience.
Please download and use one of the following browsers:

This article was just edited, click to reload
This article has been deleted on Wikipedia (Why?)

Back to homepage

Please click Add in the dialog above
Please click Allow in the top-left corner,
then click Install Now in the dialog
Please click Open in the download dialog,
then click Install
Please click the "Downloads" icon in the Safari toolbar, open the first download in the list,
then click Install
{{::$root.activation.text}}

Install Wikiwand

Install on Chrome Install on Firefox
Don't forget to rate us

Tell your friends about Wikiwand!

Gmail Facebook Twitter Link

Enjoying Wikiwand?

Tell your friends and spread the love:
Share on Gmail Share on Facebook Share on Twitter Share on Buffer

Our magic isn't perfect

You can help our automatic cover photo selection by reporting an unsuitable photo.

This photo is visually disturbing This photo is not a good choice

Thank you for helping!


Your input will affect cover photo selection, along with input from other users.

X

Get ready for Wikiwand 2.0 🎉! the new version arrives on September 1st! Don't want to wait?