mlafarga/raccoon

Inconsistent BJD

Closed this issue · 1 comments

Hey,
When I want to use the SERVAL outputs as a reference for the rvshifts, I get the error:
KeyError: "None of ['bjd'] are in the columns"

I think this is because you simply take the midpoint of exposure from the header and SERVAL uses the photonweighted midpoint. This is in general inconsistent and you should use also the photoweighted midpoint (see line 176 of read_spec.py from SERVAL, which is passed to barycorrpy, which yields than the correct BJD from the jd_utc).

Best,
Jonas

Hey,
I found the solution myself. Keyword --bjd serval did the trick ;) You should however mention, that the target-name must match the SERVAL output name to work.