|
2 | 2 | "cells": [
|
3 | 3 | {
|
4 | 4 | "cell_type": "code",
|
5 |
| - "execution_count": 1, |
| 5 | + "execution_count": 2, |
6 | 6 | "metadata": {
|
7 | 7 | "collapsed": true
|
8 | 8 | },
|
9 | 9 | "outputs": [],
|
10 | 10 | "source": [
|
11 | 11 | "import numpy as np\n",
|
12 |
| - "import CEvNS" |
| 12 | + "import CEvNS #Import the module here" |
13 | 13 | ]
|
14 | 14 | },
|
15 | 15 | {
|
16 | 16 | "cell_type": "code",
|
17 |
| - "execution_count": 2, |
| 17 | + "execution_count": 1, |
18 | 18 | "metadata": {
|
19 | 19 | "collapsed": false
|
20 | 20 | },
|
21 |
| - "outputs": [ |
22 |
| - { |
23 |
| - "name": "stdout", |
24 |
| - "output_type": "stream", |
25 |
| - "text": [ |
26 |
| - "Help on module CEvNS:\n", |
27 |
| - "\n", |
28 |
| - "NAME\n", |
29 |
| - " CEvNS - CEvNS.py - Version 1 - 25/01/2017\n", |
30 |
| - "\n", |
31 |
| - "FILE\n", |
32 |
| - " /Users/bradkav/Projects/RicochetNP/code/CEvNS.py\n", |
33 |
| - "\n", |
34 |
| - "DESCRIPTION\n", |
35 |
| - " Summary: \n", |
36 |
| - " Code for calculating differential cross section\n", |
37 |
| - " for Coherent Elastic Neutrino Nucleus Scattering (CEvNS).\n", |
38 |
| - " \n", |
39 |
| - " Cross sections taken from arXiv:1604.01025\n", |
40 |
| - " \n", |
41 |
| - " Author: Bradley J Kavanagh\n", |
42 |
| - " Please report any problems to: bradkav@gmail.com\n", |
43 |
| - "\n", |
44 |
| - "FUNCTIONS\n", |
45 |
| - " ERmax(E_nu, A)\n", |
46 |
| - " #Maximum nuclear recoil energy (in keV)\n", |
47 |
| - " \n", |
48 |
| - " HelmFormFactor(E, A)\n", |
49 |
| - " #Helm Form Factor\n", |
50 |
| - " \n", |
51 |
| - " xsec_CEvNS(E_R, E_nu, A, Z, g_med=0.0, m_med=1000.0)\n", |
52 |
| - " Calculates the differential cross section for\n", |
53 |
| - " Coherent Elastic Neutrino-Nucleus Scattering.\n", |
54 |
| - " \n", |
55 |
| - " Parameters\n", |
56 |
| - " ----------\n", |
57 |
| - " E_R : float\n", |
58 |
| - " Recoil energy (in keV)\n", |
59 |
| - " E_nu : float\n", |
60 |
| - " Neutrino energy (in MeV)\n", |
61 |
| - " A : int\n", |
62 |
| - " Mass number of target nucleus\n", |
63 |
| - " Z : int\n", |
64 |
| - " Atomic number of target nucleus\n", |
65 |
| - " \n", |
66 |
| - " g_med : float, optional\n", |
67 |
| - " Coupling of the new mediator to quarks and neutrinos\n", |
68 |
| - " (assumed equal). Set to zero by default.\n", |
69 |
| - " m_med : float, optional\n", |
70 |
| - " Mass of new mediator (in MeV). Set to 1000 MeV\n", |
71 |
| - " by default.\n", |
72 |
| - " \n", |
73 |
| - " \n", |
74 |
| - " Returns\n", |
75 |
| - " -------\n", |
76 |
| - " float\n", |
77 |
| - " Differential scattering cross section \n", |
78 |
| - " (in cm^2/keV)\n", |
79 |
| - "\n", |
80 |
| - "DATA\n", |
81 |
| - " G_Fermi = 1.1664e-05\n", |
82 |
| - " sin2thetaW = 0.2387\n", |
83 |
| - "\n", |
84 |
| - "\n" |
85 |
| - ] |
86 |
| - } |
87 |
| - ], |
| 21 | + "outputs": [], |
88 | 22 | "source": [
|
89 |
| - "help(CEvNS)" |
| 23 | + "#help(CEvNS)" |
90 | 24 | ]
|
91 | 25 | },
|
92 | 26 | {
|
|
103 | 37 | "%matplotlib inline"
|
104 | 38 | ]
|
105 | 39 | },
|
| 40 | + { |
| 41 | + "cell_type": "markdown", |
| 42 | + "metadata": {}, |
| 43 | + "source": [] |
| 44 | + }, |
106 | 45 | {
|
107 | 46 | "cell_type": "code",
|
108 | 47 | "execution_count": 17,
|
|
0 commit comments