joezuntz / cosmosis

Other
22 stars 18 forks source link

defining H(z) in class interface #65

Closed asmaamaz closed 1 year ago

asmaamaz commented 1 year ago

Hi, I need to use the bossdr12 likelihood for BAO which needs to have 'h' in section distances which at the moment isn't defined in the class interface. I have already tried multiple ways of defining this quantity but unfortunately nothing has worked. I would really appreciate your help.

joezuntz commented 1 year ago

Hi there ,

Thanks for spotting this omission. I'm testing a fix for it now, here, along with something requested by another user: https://github.com/joezuntz/cosmosis-standard-library/pull/50

If the tests all pass I will merge the fix into the main branch so you should be able to pull it easily.

(Incidenally, please use this page for cosmosis issues: https://github.com/joezuntz/cosmosis/issues - tThe current page is for the documentation.)

joezuntz commented 1 year ago

This is fixed now - the class module outputs H(z) in the same units as camb, so it should work for BAO. Do let me know if not though.

You can get the new version with the command git pull in your cosmosis-standard-library directory.

Cheers, Joe

joezuntz commented 1 year ago

(Also I've just found out I can transfer this issue to the other repo, so I'll do that for posterity)

asmaamaz commented 1 year ago

Thanks a lot :)) I have tried it and it worked.