rabrahm / ceres

A set of pipelines and routines for echelle spectrographs
MIT License
39 stars 27 forks source link

FEROS: TypeError #24

Open phillipgalli opened 5 years ago

phillipgalli commented 5 years ago

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!