Cobaya: DV_over_rs bug when using the BAO data

Use of Cobaya. camb, CLASS, cosmomc, compilers, etc.
Post Reply
gongbo zhao
Posts: 73
Joined: January 04 2005
Affiliation: NAOC
Contact:

Cobaya: DV_over_rs bug when using the BAO data

Post by gongbo zhao » February 01 2024

Dear all,

I find that when using the BAO data in the format of DV_over_rs, Cobaya fails to extract the redshift of that data point, so crashes with an error message. To see this, simply replace DM_over_rs with DV_over_rs for the first data point in sdss_DR12_LRG_BAO_DMDH.dat for example, and the system returns: "ValueError: Could not find some of [0.38] in pool [0.51]. If there appear to be a values close to the values in the pool, increase max tolerances."

Any easy fix for this?

Thanks,
GB

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

Re: Cobaya: DV_over_rs bug when using the BAO data

Post by Antony Lewis » February 02 2024


gongbo zhao
Posts: 73
Joined: January 04 2005
Affiliation: NAOC
Contact:

Re: Cobaya: DV_over_rs bug when using the BAO data

Post by gongbo zhao » February 02 2024

Thanks Antony. I updated to the latest commit (the version updated 3 weeks ago) and the problem solved!

Cheers,
GB

Post Reply