Adding science function to estimate colours. The function adler.science.Colour.col_obs_ref compares a new observation in filter filt_obs to the mean of the previous N observations in filt_ref, thus estimating the filt_obs - filt_ref colour at that time.
TODO:
[ ] Finish function demo notebook
[ ] Integrate colour function into adler.py script
N.B. there are also commits here that add extra fields to the AdlerPlanetoid class such as (heliocentricX, heliocentricY, heliocentricZ) which were being used to check ephemerides.
Review Checklist for Source Code Changes
[ ] Does pip install still work?
[ ] Have you written a unit test for any new functions?
[ ] Do all the units tests run successfully?
[ ] Does adler run successfully on a test set of input files/databases?
[ ] Have you used black on the files you have updated to confirm python programming style guide enforcement?
Adding science function to estimate colours. The function
adler.science.Colour.col_obs_ref
compares a new observation in filter filt_obs to the mean of the previous N observations in filt_ref, thus estimating the filt_obs - filt_ref colour at that time.TODO:
N.B. there are also commits here that add extra fields to the AdlerPlanetoid class such as (heliocentricX, heliocentricY, heliocentricZ) which were being used to check ephemerides.
Review Checklist for Source Code Changes