allesfitter is a convenient wrapper around the packages ellc (light curve and RV models), dynesty (static and dynamic nested sampling) emcee (Markov Chain Monte Carlo sampling) and celerite (Gaussian Process models).
MIT License
60
stars
36
forks
source link
Small bug creating keys for baseline offsets (RV) #50
Was trying to set RV offsets for an instrument and kept getting a key error, the key being created was using 'flux' instead of 'rv' in the string. Here's the error message:
Did some poking around, looks like in lines 284, 288, and 289 of the 3rd section of Parameters, the string being created was defaulting to using 'flux' instead of looking at the key ('flux' or 'rv'). Here's what they looked like originally:
It was an easy fix, I switched it to match the formatting of the above parameters and it works fine for me now. Here's what it looked like when I got it working:
Not sure if this is just something I've experienced or if this is a wider issue, just letting you know!
Ah fantastic, thanks a lot for finding this bug and already providing the solution, @mycojo! Will be fixed in the next GitHub push and pip-release asap!
Was trying to set RV offsets for an instrument and kept getting a key error, the key being created was using 'flux' instead of 'rv' in the string. Here's the error message:
Did some poking around, looks like in lines 284, 288, and 289 of the 3rd section of Parameters, the string being created was defaulting to using 'flux' instead of looking at the key ('flux' or 'rv'). Here's what they looked like originally:
It was an easy fix, I switched it to match the formatting of the above parameters and it works fine for me now. Here's what it looked like when I got it working:
Not sure if this is just something I've experienced or if this is a wider issue, just letting you know!