I am running the CERES pipeline on FEROS data and I get the following error message when including the estimation of atmospheric parameters in the analysis:
Traceback (most recent call last):
File "ferospipe.py", line 1199, in
T_eff, logg, Z, vsini, vel0, ccf = correlation.CCF(spec2,model_path=models_path,npools=npools)
File "../utils/Correlation/correlation.py", line 364, in CCF
ajustep=optimize.leastsq(res_gauss1,guess1,args=(ccf,vv))
File "/Users/galli/miniconda2/lib/python2.7/site-packages/scipy/optimize/minpack.py", line 394, in leastsq
gtol, maxfev, epsfcn, factor, diag)
TypeError: Cannot cast array data from dtype('O') to dtype('float64') according to the rule 'safe'
Hi,
I am running the CERES pipeline on FEROS data and I get the following error message when including the estimation of atmospheric parameters in the analysis:
Traceback (most recent call last): File "ferospipe.py", line 1199, in
T_eff, logg, Z, vsini, vel0, ccf = correlation.CCF(spec2,model_path=models_path,npools=npools)
File "../utils/Correlation/correlation.py", line 364, in CCF
ajustep=optimize.leastsq(res_gauss1,guess1,args=(ccf,vv))
File "/Users/galli/miniconda2/lib/python2.7/site-packages/scipy/optimize/minpack.py", line 394, in leastsq
gtol, maxfev, epsfcn, factor, diag)
TypeError: Cannot cast array data from dtype('O') to dtype('float64') according to the rule 'safe'
Do you have any idea how to fix this ? Thanks!