-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
zettergm
authored and
zettergm
committed
Feb 20, 2024
1 parent
877af5b
commit 95e0cfb
Showing
1 changed file
with
19 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/usr/bin/env python3 | ||
# -*- coding: utf-8 -*- | ||
""" | ||
Created on Fri Feb 16 21:12:57 2024 | ||
Physical constants used in many calculations | ||
@author: zettergm | ||
""" | ||
|
||
import numpy as np | ||
|
||
kB=1.3806503e-23 | ||
elchrg=1.60217646e-19 | ||
amu=1.66053886e-27 | ||
ms=np.array([16.,30.,28.,32.,14.,1.,9.1e-31/amu])*amu | ||
gammas=np.array([5/3,7/5,7/5,7/5,5/3,5/3,5/3]) | ||
qs=np.array([1.,1.,1.,1.,1.,1.,-1.])*elchrg | ||
|