Skip to content

Commit

Permalink
update post_sigma_OHE.py
Browse files Browse the repository at this point in the history
  • Loading branch information
quanshengwu committed May 7, 2024
1 parent d807821 commit 9fdb898
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
7 changes: 5 additions & 2 deletions examples/Cu/post_sigma_OHE.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# ( in testing )

'''
0. Required Packages: numpy, matplotlib, scipy, re, os
0. Required Packages: PYTHON3, numpy, matplotlib, scipy, re, os
Required files : wt.in, sigma_bands_mu_*.dat
Copy this file to your work folder where contains wt.in and sigma files
Usage : python post_sigma_OHE.py
Expand Down Expand Up @@ -83,7 +83,10 @@ def readwtin():
OmegaMax = parameters['OMEGAMAX']
OmegaNum = parameters['OMEGANUM']
BTauMax = parameters['BTAUMAX']
BTauNum = parameters['BTAUNUM']
try:
BTauNum = parameters['BTAUNUM']
except:
BTauNum = parameters['NBTAU']

print('Tmin = ',Tmin, '\nTmax = ',Tmax, '\nNumT = ',NumT, '\nOmegaMin = ',OmegaMin, '\nOmegaMax = ',
OmegaMax, '\nOmegaNum = ',OmegaNum, '\nBTauMax = ',BTauMax, '\nBTauNum = ',BTauNum)
Expand Down
4 changes: 2 additions & 2 deletions useful_scripts/post_sigma_OHE/post_sigma_OHE.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# ( in testing )

'''
0. Required Packages: numpy, matplotlib, scipy, re, os
0. Required Packages: PYTHON3, numpy, matplotlib, scipy, re, os
Required files : wt.in, sigma_bands_mu_*.dat
Copy this file to your work folder where contains wt.in and sigma files
Usage : python post_sigma_OHE.py
Expand Down Expand Up @@ -85,7 +85,7 @@ def readwtin():
BTauMax = parameters['BTAUMAX']
try:
BTauNum = parameters['BTAUNUM']
except
except:
BTauNum = parameters['NBTAU']

print('Tmin = ',Tmin, '\nTmax = ',Tmax, '\nNumT = ',NumT, '\nOmegaMin = ',OmegaMin, '\nOmegaMax = ',
Expand Down

0 comments on commit 9fdb898

Please sign in to comment.