Dear Antony,
Sometimes, when I compile test_2D.py or test_tri.py, I obtain errors like this:
alessandro@Alessandrohp-laptop:~/Codici/cosmomc$ python test1_2D.py
Traceback (most recent call last):
File "test1_2D.py", line 19, in <module>
g.plots_2d(roots,param_pairs=pairs)
File "/home/alessandro/Codici/cosmomc/python/GetDistPlots.py", line 560, in plots_2d
pairs.append((self.check_param(roots[0], pair[0]), self.check_param(roots[0], pair[1])))
File "/home/alessandro/Codici/cosmomc/python/GetDistPlots.py", line 456, in check_param
if not isinstance(param, paramNames.paramInfo): return self.paramNamesForRoot(root).parWithName(param, error=True)
File "/home/alessandro/Codici/cosmomc/python/paramNames.py", line 76, in parWithName
if error: raise Exception("parameter name not found:" + name)
Exception: parameter name not found:sigma8
In this case with sigma 8, in other cases with tau or H_0.
What is or what are the roots of these type of problems?
Thanks a lot in advance!
Error: Parameter name not found
-
- Posts: 15
- Joined: April 01 2015
- Affiliation: University of Rome - Tor Vergata
-
- Posts: 1944
- Joined: September 23 2004
- Affiliation: University of Sussex
- Contact:
Re: Error: Parameter name not found
Either the chain not containing the parameter, or, if using getdist, the corresponding 2D data has not be computed. The latter should not happen if the _2D script has been generated by getdist, but might if you then edited it afterwards.
You can use the GUI and scripts directly; e.g. you can run python/getdist/gui.py, select the plot you want, and use the menu option to make a script file. Or follow the script info at
http://cosmologist.info/cosmomc/readme_python.html
You can use the GUI and scripts directly; e.g. you can run python/getdist/gui.py, select the plot you want, and use the menu option to make a script file. Or follow the script info at
http://cosmologist.info/cosmomc/readme_python.html
-
- Posts: 15
- Joined: April 01 2015
- Affiliation: University of Rome - Tor Vergata
Error: Parameter name not found
Ok!finally I understand!
Thank you very much Antony!
Thank you very much Antony!