importance sampling from txt file

Use of Healpix, camb, CLASS, cosmomc, compilers, etc.
Post Reply
Anze Slosar
Posts: 183
Joined: September 24 2004
Affiliation: Brookhaven National Laboratory

importance sampling from txt file

Post by Anze Slosar » May 17 2008

When I try to importance sample from txt file, cosmomc warns:

redo_thin only OK with redo_from_text if input weights are 1

What exactly does this mean? I've looked at the code and don't see a good reason why redo_thin shouldn't be >1 in this case... What am I missing?


Antony Lewis
Posts: 1501
Joined: September 23 2004
Affiliation: University of Sussex

Re: importance sampling from txt file

Post by Antony Lewis » May 17 2008

It means the input chain .txt files have input weight bigger than 1. If you only have raw chain files, you can generate a file of thinned single samples using GetDist and then use that. Or you could try to generalize the code...

Post Reply