Hi Emanuel,
thank you for quick answer. I changed my measurement objects from 'SimpleRealVectorObservable' to 'RealVectorObservable' and now it works. To some extent.. I can calculate the covariance matrix of a directly measured quantity like Im G. But when I want to calculate the covariance matrix for the selfenergy (calculated from the equation of motion as F/G) and I run the code on more then one CPU, it fails again. This time, the error is:
Bin number: 87 86 Bin size: 128 128 terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injectorstd::runtime_error
'
what(): both observables need same number of measurements and bins
which sounds a bit surprising since I call it as ReSigma.covariance(ReSigma). Any suggestions?
Thank you again!
Pavel
Hi Pavel,
are you trying to compute covariances of 'SimpleRealVectorObservable' objects or of collected objects? The 'RealVectorObservable' objects should have all the information needed for the covariances.
In the next version, hybridization3, we write out the covariance matrices to the hdf5 by default. In that way they can be used directly in Maxent. This is probably what you need.
Best regards, Emanuel
On Jul 18, 2012, at 10:31 AM, august@fzu.cz wrote:
Hi all,
I would like to calculate the covarince matrix of MC data from CT-HYB. But when I run the method "covarinace" of the SimpleObservableEvaluator class, it fails on "no binning information available for calculation of covariances". Is there some way to fix this and set the number of bins? I am using ALPS 2.0.2-r5790. Thank you,
Pavel