On Thu, Dec 27, 2012 at 10:37 AM, Matthias Troyer troyer@phys.ethz.chwrote:
Each function has built-in help.
Thanks! That makes life much easier :)
In particular, I can't get the functions loadObservableList and loadMeasurements to work (i.e. the return empty lists) with custom observables in sparsediag. Does it work only for internal hardcoded measurements, or am I doing something wrong?
No, it loads everything that has been measured.
Will have to play with this - still coming up with empty lists.
Also MEASURE_LOCAL is ignored, and MEASURE_AVERAGE gives me an average for each site. I'm confused by this.
MEASURE_LOCAL is not used when the lattice is translation invariant, as it is the same as MEASURE_AVERAGE in that case. MEASURE_AVERAGE, as the name says, averages over all sites.
I'm confused. So say I'm doing a MEASURE_AVERAGE[mag] : 'Sz', am I
expected to get $\sum_j <Sz(j)>$ ? I get a list of 12 values for a L=12 chain.
Thanks again!
Look at the built-in documentation of these functions. This can. e,g, be
done by:
from pydoc import help help(pyalps.flatten)
Best regards
Matthias Troyer
Also other functions like flatten etc that are used in the tutorials are not described on this page. Where can I find docs for them?
Thanks and sorry for the trouble! Deepak
On Thu, Dec 27, 2012 at 6:29 AM, Matthias Troyer troyer@phys.ethz.chwrote:
Hi Deepak,
The pyalps functions are listed at http://alps.comp-phys.org/mediawiki/index.php/Documentation:The_palps_Python.... The hard coded measurements depend on the code that you run, and are documented with the codes.
Matthias Troyer
On Dec 27, 2012, at 4:04 AM, Deepak Iyer deepak.g.iyer@gmail.com wrote:
Hi
New user here.
I've been looking for some docs where there is a complete list of all
the pyalps functions with descriptions. Also, is there some place I can find a list of all the hardcoded measurements, etc.?
Thanks! Deepak