isonav 1.6.8__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,540 @@
1
+ Metadata-Version: 2.4
2
+ Name: isonav
3
+ Version: 1.6.8
4
+ Summary: Command line nuclear reactions calculator
5
+ Author-email: Francisco Favela <ffavela@gmail.com>
6
+ License: GPL-3.0-or-later
7
+ Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
8
+ Classifier: Programming Language :: Python :: 3
9
+ Classifier: Environment :: Console
10
+ Classifier: Topic :: Scientific/Engineering :: Physics
11
+ Requires-Python: >=3.9
12
+ Description-Content-Type: text/markdown
13
+ License-File: COPYING
14
+ Requires-Dist: docopt==0.6.2
15
+ Dynamic: license-file
16
+
17
+ # isonav
18
+
19
+ A command line tool for making quick and easy nuclear reactions
20
+ calculator.
21
+
22
+ ## About
23
+
24
+ `isonav` (formerly isotope-navigator) is intended to be a command line
25
+ interface program for making calculations for nuclear reactions.
26
+
27
+ As any other command line software, the main advantage is that the
28
+ program is callable either from a user or from another program. This
29
+ is very attractive for various applications. See the "isonavScripts/"
30
+ directory for just a few script examples made for BaSH.
31
+
32
+ Works with Python >= 3.9.
33
+
34
+ ## Installation
35
+
36
+ ```bash
37
+ pip install isonav
38
+ ```
39
+
40
+ Or, if you prefer an isolated environment (recommended):
41
+
42
+ ```bash
43
+ pipx install isonav
44
+ ```
45
+
46
+ To install from source for development:
47
+
48
+ ```bash
49
+ git clone <repo>
50
+ cd isonav
51
+ pip install -e .
52
+ ```
53
+
54
+ If you have a previous installation done via the deprecated
55
+ installScript.sh, see [LEGACY](LEGACY.md) for uninstall instructions.
56
+
57
+ Resources:
58
+
59
+ The program is far from finished, here are some resources online that
60
+ where partially used for building it.
61
+
62
+ The Isotope Explorer:
63
+ http://ie.lbl.gov/isoexpl/isoexpl.htm
64
+
65
+ Main inspiration for the program, the main problem with it is that is
66
+ only for windows, isonav does not do everything isotope explorer does
67
+ nor is it the intention.
68
+
69
+ Most of the data of isonav was taken from the ENSDF data files that the
70
+ isotope explorer uses.
71
+
72
+ TUNL:
73
+
74
+ http://www.tunl.duke.edu/
75
+
76
+ Provides an easy to use webapp for accessing nuclear data.
77
+
78
+ NNDC:
79
+
80
+ http://www.nndc.bnl.gov/
81
+
82
+ Another important resource.
83
+
84
+ USAGE:
85
+
86
+ The typical abbreviations for some isotopes can be used:
87
+
88
+ ```console
89
+ 1n==n #neutron
90
+ 1H==p
91
+ 2H==d
92
+ 3H==t
93
+ 4He==a
94
+ ```
95
+
96
+ Examples:
97
+
98
+ Note: All energies are in MeV The next gives a printout of the general
99
+ usage (not all functions have been implemented yet). The -v option can
100
+ be used in almost all cases (verbose).
101
+
102
+ ```bash
103
+ $ isonav
104
+ Usage:
105
+ isonav <number> [-v] (-s|--symbol)
106
+ isonav <symbol> [-v] ([-p|--protons])
107
+ isonav <symbol> [-v] (--name)
108
+ isonav <iso> [-v] [-n|--neutrons] [[-i|--isotopes] [-m --amu]]
109
+ isonav <iso> [-v] ([-m|--mass]|--compton) [--amu --liquidDrop]
110
+ isonav <iso> [-v] --mirror
111
+ isonav <iso> [-v] ([-r | --radius]|[(-l|--levels) [--limit=val]])
112
+ isonav <iso> [-v] --Elab=val (--deBroglie | --redDeBroglie)
113
+ isonav <iso> [-v] --Elab=val --L4TOF=L
114
+ isonav <iso> [-v] --decay [--Ex=val]
115
+ isonav <iso> [-v] (--alpha | --nEmission | --pEmission ) [--num=val]
116
+ isonav <iso> [-v] --Emission=val [--num=val]
117
+ isonav <iso> [-v] (--BE | --BEperNucleon) [--liquidDrop]
118
+ isonav <iso1> <iso2> [-v] (--coulomb | --reactions [--latex] )
119
+ isonav <iso1> <iso2> [-v] (--gamowEnergy | --T=temp --gamowPeak )
120
+ isonav <iso1> <iso2> [-v] --fussion [--Elab=val]
121
+ isonav <iso1> <iso2> [-v] --Elab=val --angle=val [[--xTreme|-x] --latex]
122
+ isonav <iso1> <iso2> [-v] --scatE=val --angle=val
123
+ isonav <isop> <isot> <isoEject> <isoRes> [-v] (-q|--QVal) [--amu]
124
+ isonav <isop> <isot> <isoEject> <isoRes> [-v] --Elab=val --maxAng
125
+ isonav <isop> <isot> <isoEject> <isoRes> [-v] --Elab=val --angle=val ([--xEje=val] [--xRes=val])
126
+ isonav <isop> <isot> <isoEject> <isoRes> [-v] --Elab=val --angle=val [(-x|--xTreme) [--xF1=xFileEject.txt] [--xF2=xFileRes.txt]]
127
+ isonav <ion> [-v] --material=matName --Elab=val (--thickness=val [--depositedE] | --range) [--bloch] [--density=dens]
128
+ isonav [-v] --listMaterials [--material=matName]
129
+ isonav -h | --version
130
+ ```
131
+
132
+ ```bash
133
+ $ isonav 22 -s
134
+ Ti
135
+ ```
136
+
137
+ ```bash
138
+ $ isonav Au --protons #A value can be ommited here
139
+ 79
140
+ ```
141
+
142
+ ```bash
143
+ $ isonav Ag --name
144
+ Silver
145
+ ```
146
+
147
+ ```bash
148
+ $ isonav 195Au --neutrons
149
+ 116
150
+ ```
151
+
152
+ ```bash
153
+ $ isonav Pb -i
154
+ 178Pb
155
+ 179Pb
156
+ 180Pb
157
+ 181Pb
158
+ 182Pb
159
+ 183Pb
160
+ 184Pb
161
+ 185Pb
162
+ 186Pb
163
+ 187Pb
164
+ 188Pb
165
+ 189Pb
166
+ 190Pb
167
+ ...
168
+ 215Pb
169
+ 216Pb
170
+ 217Pb
171
+ 218Pb
172
+ 219Pb
173
+ 220Pb
174
+ ```
175
+
176
+ Being verbose:
177
+
178
+ ```bash
179
+ $ isonav Pb -iv
180
+ Isotopes and masses, in MeV by default
181
+ 178Pb
182
+ 179Pb
183
+ 180Pb
184
+ 181Pb
185
+ 182Pb
186
+ 183Pb
187
+ 184Pb
188
+ 185Pb
189
+ 186Pb
190
+ ...
191
+ 216Pb
192
+ 217Pb
193
+ 218Pb
194
+ 219Pb
195
+ 220Pb
196
+ ```
197
+
198
+ Getting the masses and forcing to display in amu (not MeVs):
199
+
200
+ ```bash
201
+ $ isonav Au -im --amu
202
+ 169Au 168.99808
203
+ 170Au 169.995972
204
+ 171Au 170.991875791
205
+ 172Au 171.989942284
206
+ 173Au 172.986240924
207
+ 174Au 173.984717
208
+ 175Au 174.981303712
209
+ ...
210
+ 206Au 205.98474
211
+ 207Au 206.9884
212
+ 208Au 207.99345
213
+ 209Au 208.99735
214
+ 210Au 210.0025
215
+ ```
216
+
217
+ ```bash
218
+ $ isonav 22Ne --mass
219
+ 20484.845484518828
220
+ ```
221
+
222
+ ```bash
223
+ $ isonav 22Ne --mass --liquidDrop #Using the LD model
224
+ 20477.90454623588
225
+ ```
226
+
227
+ ```bash
228
+ $ isonav 22Ne --mirror
229
+ 22Mg
230
+ ```
231
+
232
+ ```bash
233
+ $ isonav 40Ca -r #Nuclear radius in fm
234
+ 4.103942272024073
235
+ ```
236
+
237
+ ```bash
238
+ $ isonav 12C --levels --limit=10
239
+ 1 0.0
240
+ 2 4.43891
241
+ 3 7.6541999999999994
242
+ 4 9.641
243
+ 5 10.3
244
+ 6 10.844
245
+ 7 11.16
246
+ 8 11.828
247
+ 9 12.71
248
+ 10 13.352
249
+ ```
250
+
251
+ ```bash
252
+ $ isonav 12C --Elab=2.0 --redDeBroglie
253
+ 9.332022523394577e-06
254
+ ```
255
+
256
+ These next parts are useful for identifying particles in terms of
257
+ their energy in a nuclear scattering experiment.
258
+
259
+ ```bash
260
+ $ isonav d 14N a 12C --Elab=3.0 --angle=35
261
+ 4He 12C
262
+ 13.929 -130.521 2.645
263
+
264
+ 12C 4He
265
+ 5.881 -132.566 10.693
266
+ ```
267
+
268
+ ```bash
269
+ $ isonav d 14N a 12C --Elab=3.0 --angle=35 --xTreme
270
+ *4He 12C
271
+ 1 0.000 13.929 -130.521 2.645
272
+
273
+ 4He *12C
274
+ 1 0.000 13.929 -130.521 2.645
275
+ 2 4.439 10.341 -127.323 1.794
276
+ 3 7.654 7.710 -123.304 1.210
277
+ 4 9.641 6.061 -119.175 0.872
278
+ 5 10.300 5.509 -117.282 0.765
279
+ 6 10.844 5.051 -115.418 0.679
280
+ 7 11.160 4.784 -114.177 0.630
281
+ 8 11.828 4.216 -111.055 0.531
282
+ 9 12.710 3.456 -105.431 0.408
283
+ 10 13.352 2.896 -99.612 0.326
284
+ 11 14.083 2.245 -89.914 0.246
285
+ 12 15.110 1.293 -65.497 0.171
286
+ 13 15.440 0.969 -53.181 0.166
287
+ 14 16.106 0.198 -16.445 0.271
288
+
289
+ 14 16.106 0.003 -1.617 0.465
290
+
291
+ *12C 4He
292
+ 1 0.000 5.881 -132.566 10.693
293
+ 2 4.439 4.507 -130.226 7.628
294
+ 3 7.654 3.478 -127.424 5.442
295
+ 4 9.641 2.819 -124.675 4.114
296
+ 5 10.300 2.595 -123.450 3.679
297
+ 6 10.844 2.407 -122.262 3.323
298
+ 7 11.160 2.297 -121.480 3.118
299
+ 8 11.828 2.060 -119.539 2.687
300
+ 9 12.710 1.737 -116.108 2.127
301
+ 10 13.352 1.493 -112.597 1.729
302
+ 11 14.083 1.200 -106.670 1.291
303
+ 12 15.110 0.737 -89.285 0.728
304
+ 13 15.440 0.556 -77.047 0.578
305
+
306
+ 12 15.110 0.000 -0.625 1.464
307
+ 13 15.440 0.016 -6.794 1.118
308
+
309
+ 12C *4He
310
+ 1 0.000 5.881 -132.566 10.693
311
+ ```
312
+
313
+ It can also see Coulomb excitations
314
+
315
+ ```bash
316
+ $ isonav d 14N d 14N --Elab=5.5 --angle=25 --xTreme
317
+ *2H 14N
318
+ 1 0.000 5.354 -75.758 0.146
319
+ 2 2.225 3.116 -45.059 0.160
320
+
321
+ 2H *14N
322
+ 1 0.000 5.354 -75.758 0.146
323
+ 2 2.313 3.024 -43.689 0.163
324
+ 3 3.948 1.267 -19.738 0.285
325
+
326
+ *14N 2H
327
+ 1 0.000 1.987 -123.078 3.513
328
+ 2 2.313 1.342 -108.138 1.845
329
+ 3 3.948 0.513 -51.516 1.039
330
+
331
+ 2 2.313 0.063 -9.113 3.124
332
+ 3 3.948 0.481 -48.333 1.071
333
+
334
+ 14N *2H
335
+ 1 0.000 1.987 -123.078 3.513
336
+ 2 2.225 1.371 -109.124 1.905
337
+
338
+ 2 2.225 0.057 -8.519 3.219
339
+ ```
340
+
341
+ ```bash
342
+ $ isonav d 14N --reactions -v
343
+ #Given two isotopes it returns the coulomb energy barrier
344
+ #Or the possible reactions.
345
+ #Eject Residue Thres QValue coulombE
346
+ 0None 16O None 20.74 None
347
+ 4He 12C 0.00 13.57 3.71
348
+ 1H 15N 0.00 8.61 2.42
349
+ 8Be 8Be 0.00 6.12 4.80
350
+ 1n 15O 0.00 5.07 0.00
351
+ 2H 14N 0.00 0.00 2.29
352
+ 3He 13C 2.35 -2.06 3.80
353
+ 3H 13N 4.91 -4.30 2.21
354
+ 5Li 11B 4.97 -4.35 4.58
355
+ 5He 11C 6.73 -5.88 3.66
356
+ 6Li 10B 11.60 -10.14 4.53
357
+ 7Be 9Be 12.72 -11.12 4.81
358
+ 7Li 9B 12.95 -11.32 4.51
359
+ 6Be 10Be 17.14 -14.98 4.83
360
+ 6He 10C 19.78 -17.29 3.63
361
+ 4Li 12B 25.95 -22.69 4.64
362
+ 4H 12N 29.69 -25.96 2.17
363
+ 8Li 8B 31.87 -27.87 4.50
364
+ 3Li 13B 33.42 -29.23 4.74
365
+ 9Li 7B 41.89 -36.63 4.51
366
+ ...
367
+ ```
368
+
369
+ ```bash
370
+ $ isonav p 14N --fussion
371
+ 15O 7 7.276 0.021
372
+ ```
373
+
374
+ ```bash
375
+ $ isonav p 14N --fussion --Elab=0.1 -v
376
+ #Prints the fused element, if isotope exists.
377
+ #Max populated level, and energy, and remaining KE in lab
378
+ 15O 7 7.276 0.121
379
+ ```
380
+
381
+ ```bash
382
+ $ isonav d 14N --Elab=3.0 --angle=35
383
+ 4He 12C
384
+ 13.929 -130.521 2.645
385
+
386
+ 12C 4He
387
+ 5.881 -132.566 10.693
388
+
389
+ 1H 15N
390
+ 11.351 -99.191 0.257
391
+
392
+ 15N 1H
393
+ 1.576 -118.695 10.032
394
+
395
+ 8Be 8Be
396
+ 5.910 -128.846 3.205
397
+
398
+ 8Be 8Be
399
+ 5.910 -128.846 3.205
400
+
401
+ 1n 15O
402
+ 7.896 -84.863 0.176
403
+
404
+ 15O 1n
405
+ 1.197 -112.642 6.875
406
+
407
+ 2H 14N
408
+ 2.848 -70.134 0.152
409
+
410
+ 14N 2H
411
+ 0.885 -101.910 2.115
412
+
413
+ 3He 13C
414
+ 0.772 -35.903 0.171
415
+
416
+ 13C 3He
417
+ 0.280 -50.709 0.663
418
+
419
+ 0.143 -30.168 0.800
420
+ ```
421
+
422
+ Where the first row after the expression is when the ejectile is
423
+ expected at the given angle and the recond is when the residual is
424
+ expected.
425
+
426
+ ```bash
427
+ $ isonav d 14N --Elab=3.0 --angle=35 --xTreme
428
+ *4He 12C
429
+ 1 0.000 13.929 -130.521 2.645
430
+
431
+ 4He *12C
432
+ 1 0.000 13.929 -130.521 2.645
433
+ 2 4.439 10.341 -127.323 1.794
434
+ 3 7.654 7.710 -123.304 1.210
435
+ 4 9.641 6.061 -119.175 0.872
436
+ 5 10.300 5.509 -117.282 0.765
437
+ 6 10.844 5.051 -115.418 0.679
438
+ 7 11.160 4.784 -114.177 0.630
439
+ 8 11.828 4.216 -111.055 0.531
440
+ 9 12.710 3.456 -105.431 0.408
441
+ 10 13.352 2.896 -99.612 0.326
442
+ 11 14.083 2.245 -89.914 0.246
443
+ 12 15.110 1.293 -65.497 0.171
444
+ 13 15.440 0.969 -53.181 0.166
445
+ 14 16.106 0.198 -16.445 0.271
446
+
447
+ 14 16.106 0.003 -1.617 0.465
448
+
449
+ *12C 4He
450
+ 1 0.000 5.881 -132.566 10.693
451
+ 2 4.439 4.507 -130.226 7.628
452
+ ...
453
+ *1H 15N
454
+ 1 0.000 11.351 -99.191 0.257
455
+
456
+ 1H *15N
457
+ 1 0.000 11.351 -99.191 0.257
458
+ 2 5.270 6.190 -73.974 0.148
459
+ 3 5.299 6.162 -73.766 0.148
460
+ 4 6.324 5.148 -65.626 0.137
461
+ 5 7.155 4.321 -57.981 0.133
462
+ 6 7.301 4.175 -56.542 0.133
463
+ ...
464
+ *15O 1n
465
+ 1 0.000 1.197 -112.642 6.875
466
+ 2 5.183 0.478 -80.290 2.411
467
+ 3 5.241 0.466 -79.106 2.365
468
+
469
+ 2 5.183 0.080 -21.882 2.810
470
+ 3 5.241 0.085 -22.900 2.746
471
+
472
+ 15O *1n
473
+ 1 0.000 1.197 -112.642 6.875
474
+
475
+ *2H 14N
476
+ 1 0.000 2.848 -70.134 0.152
477
+ 2 2.225 0.570 -21.267 0.205
478
+
479
+ 2H *14N
480
+ 1 0.000 2.848 -70.134 0.152
481
+ 2 2.313 0.468 -18.499 0.220
482
+
483
+ *14N 2H
484
+ 1 0.000 0.885 -101.910 2.115
485
+ ...
486
+ .............. You get the idea.
487
+ ```
488
+
489
+ ```bash
490
+ $ isonav 235U --decay
491
+ 76Zn 159Sm 111.947 53.485 165.431
492
+ 77Zn 158Sm 110.923 54.037 164.960
493
+ 75Zn 160Sm 111.483 52.232 163.714
494
+ 74Zn 161Sm 111.932 51.417 163.349
495
+ 73Zn 162Sm 111.038 50.006 161.044
496
+ 72Zn 163Sm 110.853 48.933 159.786
497
+ 75Cu 160Eu 108.181 50.692 158.872
498
+ 74Cu 161Eu 108.753 49.966 158.718
499
+ 73Cu 162Eu 109.351 49.252 158.603
500
+ 76Cu 159Eu 106.871 51.069 157.940
501
+ 72Cu 163Eu 109.153 48.190 157.343
502
+ 71Cu 164Eu 109.562 47.404 156.965
503
+ .
504
+ .Lots of stuff
505
+ .
506
+ ```
507
+
508
+ ```bash
509
+ $ isonav 151Lu --pEmission
510
+ 1(1H) 150Yb 1.241
511
+ ```
512
+
513
+ ```bash
514
+ $ isonav 13Be --nEmission
515
+ 1(1n) 12Be 0.510
516
+ ```
517
+
518
+ ```
519
+ #Double proton emission
520
+ $ isonav 45Fe --pEmission --num=2
521
+ 2(1H) 43Cr 1.154
522
+ ```
523
+
524
+ ```bash
525
+ $ isonav n --compton -v
526
+ #The compton wavelength in fm
527
+ 1.3195908515350636
528
+ ```
529
+
530
+ The --xTreme cases can take some time and the outputs can become very
531
+ large, here is an example of one case:
532
+
533
+ ```bash
534
+ $ isonav 14N 167Yb --Elab=5.5 --angle=20 --xTreme>14N167YbxTreme5p5MeVAngle20.txt
535
+ ```
536
+
537
+ Note the redirection `>` you may want to use it in order to save long
538
+ outputs.
539
+
540
+ #This took about 80 min in my computer
@@ -0,0 +1,24 @@
1
+ isonav.py,sha256=8kmBF4eHXxCHKVEcBcq5oHkzjsJeD5isBRPl62dCYp8,2433
2
+ isonav-1.6.8.dist-info/licenses/COPYING,sha256=jOtLnuWt7d5Hsx6XXB2QxzrSe2sWWh3NgMfFRetluQM,35147
3
+ lib/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
+ lib/argumentHandling.py,sha256=n11lpFRUTfcVx8BE8HyEKVsz5USInXwfIP5BxMuMYg8,19994
5
+ lib/db2DictTest.py,sha256=N_1CxTpURUQDiUaqW0OiY8ftujjJfW3D4GY1urFJZko,1484
6
+ lib/dbOpenTest.py,sha256=jLXKnAycUJab8qwxQRVszCAK_ldluWhij_f8nLOJ3e8,1131
7
+ lib/enxParser.py,sha256=8-CaACYoRAxmZh5DaLDlGy4PMYs2lBIwQtEcYlOHSgA,1648
8
+ lib/isoParser.py,sha256=a6SSEFvQGKBxGStYZq7cqVY022ZOUG3QF0HkdhAeBBQ,3581
9
+ lib/isonavBase.py,sha256=Y7hznwfV6Llm3RY6D5xRVpRAWdxEHHnw5ZC4FDTwliE,57551
10
+ lib/loadingStuff.py,sha256=xfbTY_HKVvGVsNyjuyVq_mBuUzzOuSiL97ZF8diUXG0,10928
11
+ lib/misc.py,sha256=8e8QG5ndynxTEIZBXPPxcpfXWeJ6DWugvveW30r3JLk,1760
12
+ lib/outputFunctions.py,sha256=egTJZSUOGWCwgRVmoPfeM1guzDBk2LznnNet1PU0lIw,10182
13
+ lib/data1p4p5/isoData.db,sha256=EA8etmLHWfWS1u1uaPPL8qZ3rKzClx4nmATRLfQ0RxU,3836928
14
+ lib/data1p4p5/isoDictMass.pkl,sha256=UKGL3u304krum4hagtZiR0DJKr5_SkAKqTL4bUFtI-I,97264
15
+ lib/data1p4p5/isoMasses.txt,sha256=cP_Gc3u4UBe2AGEpW_EnOzRjqTI0emR8hcBAWf5NgSo,67441
16
+ lib/data1p4p5/isonavQR.png,sha256=x3dQZljw3B2gcHV386gIDfIOh8SxsHfZkN9XdjWspyo,1313
17
+ lib/data1p4p5/matTab.pkl,sha256=KPDPQwK3IIP2Vshb9iWidTZI28N9Te01cXSjaka11o8,3939
18
+ lib/data1p4p5/materialTable.txt,sha256=g-uGhhT83HTBtYqbSbt2m9LxvE78ltn8NVvOPtmw1_4,5962
19
+ lib/data1p4p5/webMasses.txt,sha256=m5OqbW2jTa963cE1tppm5OvOzggW1nQCju9Fc2IweLY,408783
20
+ isonav-1.6.8.dist-info/METADATA,sha256=dwh_PjT-2tBLVm7QWDODcA615MkZASy1yFkjR8-Nxd4,13027
21
+ isonav-1.6.8.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
22
+ isonav-1.6.8.dist-info/entry_points.txt,sha256=x-n1sbItp5Y48X3RH6AcYXI_VlDh1x8aVeoHLMDH4GU,39
23
+ isonav-1.6.8.dist-info/top_level.txt,sha256=jmHxKfi9euKo08y-t8v2aAS_O3zyb2H91--biKkskkQ,11
24
+ isonav-1.6.8.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (82.0.1)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ isonav = isonav:main