Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FEROS: TypeError #24

Open
phillipgalli opened this issue Jul 24, 2019 · 0 comments
Open

FEROS: TypeError #24

phillipgalli opened this issue Jul 24, 2019 · 0 comments

Comments

@phillipgalli
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant