Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in Class: Class did not read input parameter(s): n_scf, CC_scf, f_scf, m_scf, thetai_scf #614

Open
cerqueirata opened this issue Feb 12, 2025 · 0 comments

Comments

@cerqueirata
Copy link

cerqueirata commented Feb 12, 2025

I'm trying to plot a graph using an EDE model available at:
https://github.com/mwt5345/class_ede/blob/class_ede/notebooks-ede/1-Introduction.ipynb

When I copy and paste the code, I get the following error:

M.set({'Omega_Lambda':0,
'Omega_fld':0,
'Omega_scf':-1,
'scf_parameters':'1, 1, 1, 1, 1, 0.0',
'scf_tuning_index':3,
'attractor_ic_scf':'no',
'output':'tCl pCl lCl',
'n_scf':3,
'CC_scf':1,
'f_scf': np.power(10,26.59913),
'm_scf': np.power(10,-27.28708),
'thetai_scf': 2.83})
M.compute()
baM = M.get_background()

CosmoSevereError Traceback (most recent call last)
in <cell line: 0>()

 35        'm_scf': np.power(10,-27.28708),
 36        'thetai_scf': 2.83})

---> 37 M.compute()
38 baM = M.get_background()

classy.pyx in classy.Class.compute()

CosmoSevereError:

Error in Class: Class did not read input parameter(s): n_scf, CC_scf, f_scf, m_scf, thetai_scf
It seems that Class is not reading the input parameters related to the scalar field, such as n_scf, thetai_scf, and others...

P.S: I'm using google colab.

Any suggestions?

Thank you very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant