On Thu, Dec 27, 2012 at 10:37 AM, Matthias Troyer <troyer@phys.ethz.ch> wrote: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.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.Also MEASURE_LOCAL is ignored, and MEASURE_AVERAGE gives me an average for each site. I'm confused by this.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 helphelp(pyalps.flatten)Best regardsMatthias 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!
DeepakOn Thu, Dec 27, 2012 at 6:29 AM, Matthias Troyer <troyer@phys.ethz.ch> wrote:
Hi Deepak,
The pyalps functions are listed at http://alps.comp-phys.org/mediawiki/index.php/Documentation:The_palps_Python_modules . 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