From 367ac72f3af995b9f2b1065fc067871fddb99b26 Mon Sep 17 00:00:00 2001 From: Yessica Dominguez <yessicadomin@gmail.com> Date: Mon, 12 Dec 2022 00:46:33 +0000 Subject: [PATCH] Upload New File --- .../codigos python/NeutronTrack0.py | 38 +++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 HumedadConNeutrones/codigos python/NeutronTrack0.py diff --git a/HumedadConNeutrones/codigos python/NeutronTrack0.py b/HumedadConNeutrones/codigos python/NeutronTrack0.py new file mode 100644 index 0000000..3359655 --- /dev/null +++ b/HumedadConNeutrones/codigos python/NeutronTrack0.py @@ -0,0 +1,38 @@ +# -*- coding: utf-8 -*- +""" +Created on Sun Dec 11 20:12:15 2022 + +@author: Usuario +""" + +import matplotlib.pyplot as plt + +# Track del neutron 0 + +#Detector Layer +x = [0,200] +y = [2,2] +y2 = [2.5,2.5] + +# Ground +y1 = [0,0] + +#"Tracking del primer neutron" +x1 = [178.324,186.75,157.713,30.1466,55.3114,61.3679,127.643,190.402,197.086,196.943,187.272,187.315] +z1 = [32.9121,2.5,53.5416,2.5,-0.0295019,2.0,24.2086,2.5,-0.0517591,2.0,-0.022933,2.0] + +plt.plot(x1,z1,'black',label='Neutron Journey') + +plt.scatter(x1,z1,color='red',s=16) +plt.plot(x,y,'g',label='Detector layer') +plt.plot(x,y1,'brown', label='Ground') +plt.plot(x,y2,'g') +plt.xlim(0,200) +plt.ylim(-2,55) +plt.xlabel('x_[m]', size=16) +plt.ylabel('Depth_[m]', size = 16) +plt.tick_params(labelsize=16) + +plt.text(169,35,'91Mev',fontsize=17) +plt.grid() +plt.legend( fontsize='x-large') \ No newline at end of file -- GitLab