Public repository of the Cosmic Linear Anisotropy Solving System (master for the most recent version of the standard code; GW_CLASS to include Cosmic Gravitational Wave Background anisotropies; classnet branch for acceleration with neutral networks; ExoCLASS branch for exotic energy injection; class_matter branch for FFTlog)
218
stars
291
forks
source link
DE equation of state inside wrapper not working #537
I'm having a small problem involving a fluid equation of state, in particular a DE eos. I tried to plot some basic plots using the
classy wrapper via a jupyter notebook. Using class v. 3.2.0.
And then obtained parameters, and plotted succesfully (i wont be putting those here, for the sake of clarity)
Then i tried an EoS i succesfully added into CLASS which works ok, and even MontePython reads it and runs ok. But as soon as i tried to declare some basic parameters inside classy, it didnt detect it:
CosmoSevereError Traceback (most recent call last)
Input In [5], in <cell line: 4>()
2 b0b1b2.set({'Omega_cdm':0.25,'Omega_b':0.05,'Omega_fld':0})
3 b0b1b2.set({'b0_fld':-0.91})
----> 4 b0b1b2.compute()
File classy.pyx:372, in classy.Class.compute()
CosmoSevereError:
Error in Class: Class did not read input parameter(s): b0_fld
Ok, so maybe CLASS is not detecting MY equation of state, what if i run CPL, that is coded into CLASS? Let's see:
Hello,
I'm having a small problem involving a fluid equation of state, in particular a DE eos. I tried to plot some basic plots using the classy wrapper via a jupyter notebook. Using class v. 3.2.0.
First i tried LCDM, in this way:
And then obtained parameters, and plotted succesfully (i wont be putting those here, for the sake of clarity)
Then i tried an EoS i succesfully added into CLASS which works ok, and even MontePython reads it and runs ok. But as soon as i tried to declare some basic parameters inside classy, it didnt detect it:
with the following output:
Ok, so maybe CLASS is not detecting MY equation of state, what if i run CPL, that is coded into CLASS? Let's see:
Output:
so... maybe i didn't declare explicitly that im using an EoS, so i proceed and do it:
and still, nothing:
Im sure i'm not doing it correctly, any ideas? Thanks in advance!