Comments (6)
Good Morning Reyhanehe,
did you check out the documentation? https://triqs.github.io/maxent/master/guide/srvo3.html
Did you tried to run these examples? They already show pretty detailed how to run maxent and to get nice spectral functions. Are you stuck at a specific point?
Best,
Alex
from maxent.
Dear Alex
Thanks for your comment
Yes I run it , But when I run Tau maxent for srvo3 I have this error that "srvo3-Gtau.dat" is not recognized.
I did not know the meaning of this error because I think srvo3-Gtau.dat is the file that the information of my executatiin shoud save on it.right?
If you can help me ,you help me a lot for solving my problem
Reyhaneh
from maxent.
Hi,
ah no - I assume you did your calculation and the data is stored inside of a h5 archive? Then you need to access the data as follow:
from pytriqs.archive import HDFArchive
# load G_tau from h5
h5 = HDFArchive('svo_filename.h5','r')
# this will show you the content
print h5['DMFT_results']
# loading the desired Gtau, this is is just for me, you have to check what is inside your h5
G_tau = h5['DMFT_results']['it_40']['Gimp_tau_0']
Then you can set and run maxent for example as follow:
tm_bryan = TauMaxEnt(cost_function='bryan', probability='normal')
# this will set the just loaded Gtau, this is just the spin up block and the first orbital!
tm_bryan.set_G_tau(G_tau['up_0'][0,0].real)
tm_bryan.omega = HyperbolicOmegaMesh(omega_min=-15, omega_max=15, n_points=400)
# this is also just a suggestion, play around with the alpha values
tm_bryan.alpha_mesh = LogAlphaMesh(alpha_min=5e-5, alpha_max=500, n_points=20)
# careful about setting the error!
tm_bryan.set_error(1.e-2)
# run it
tm_bryan_res = tm_bryan.run()
after this you can follow with the post-processing and plotting as described in the tutorial.
Best,
Alex
from maxent.
Dear Alex
than you very much for your very useful comment to solving my problem.
yes I have a "case.h5" file and in this file I have the below contents:
"[u'Delta_tau', u'G_0', u'G_iw', u'G_tau', u'Sigma_iw', u'dft_input', u'dft_misc_input', u'dft_parproj_input', u'dft_symmcorr_input', u'dft_symmpar_input', u'dft_transp_input', u'user_data']"
But because I am a beginner programmer I can not understand the mean of "G_tau=h5['DMFT_results][it_40][Gimp_tau_0]"
sorry, can you explain me more a bout this line?
I used in my "DFT+DMF" calculation the below lines:
" ar = HDFArchive(dft_filename +'.h5','a')
ar['G_tau'] = S.G_tau"
so the "DMFT_results" that you write in the last line is "G_tau" for me or not?It is "case.h5" file?
and whats the meaning of 40 and 0 in "[it_40][Gimp_tau_0]"
thans so much
from maxent.
Hi,
yes - so for you the line would just be
G_tau = h5['G_tau']
if I understood the structure of your h5 file correctly. the it_40 refers to the 40th DMFT iteration, that I saved as it_40. Nothing import for you ;-)
from maxent.
Dear Alex
Thanks so much.
It works :))
Best,
Reyhaneh
from maxent.
Related Issues (20)
- Documentation link broken HOT 2
- Continuation of self-energies HOT 3
- Analytical continuation of matrix-valued self-energy HOT 3
- Error during analytic continuation for real-frequency self-energy HOT 3
- Error in tm_bryan.set_omega HOT 1
- ERROR IN CONVERTING Gaux_w from Aaux_w HOT 6
- Crash for matrix-valued self energy HOT 6
- Error during analytical continuation HOT 7
- Failed Test set_G_tau_complex_matrix HOT 2
- Install documentation & python3 HOT 1
- error with triqs3 HOT 14
- s_w from s_iw HOT 6
- IndexError: index 5 is out of bounds for axis 1 with size 5 HOT 45
- Many tests fail on Intel Skylake CPUs HOT 3
- verbosity during run HOT 4
- Sigma_w from Sigma_iw HOT 5
- res is not defined! HOT 3
- S_w HOT 2
- Sigma_w HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from maxent.