diff --git a/HumedadConNeutrones/codigos python/NeutronTrack0.py b/HumedadConNeutrones/codigos python/NeutronTrack0.py new file mode 100644 index 0000000000000000000000000000000000000000..3359655f0f9c15cedccc11611926b822f5ec5e0d --- /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