I'd like to create a likelihood for cobaya which depends on CAMB sources products (i. e. source counts Cl's). For the moment, I'm trying to define a simple likelihood class with the following requirements block:
Code: Select all
def get_requirements(self):
return {'source_Cl': {'sources': {'source1': {'function': 'spline', 'z': z, 'W': W, 'lmax': 800, 'dlog10Ndm': 0.42, 'bias': 1.5}}}}
Code: Select all
[CAMB] Importing *local* CAMB from /Users/jbermejo/Desktop/DESI/CAMB
[camb] Initialized!
[camb] *ERROR* Needs a 'sources' key, containing a dict with every source name and definition
Any help with this issue would be appreciated.