Skip to content

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

@cerqueirata

Description

@cerqueirata

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions