-
Notifications
You must be signed in to change notification settings - Fork 6
ChangeLog
- Bug fix: Added the pyerfa (>=1.7.3) requirement in barycorrpy
Note: This version has been tested with the new astropy
(v5.0), and newer numpy version (v1.21.4) and all the unit tests pass as expected (20220201).
- Query Horizons using TDB JD float instead of using Astropy Time Object
- Add a warning based on the target name queried from Horizons. Can use this to help troubleshoot if the correct target was queried, especially in light of the majorbody/smallbody ambiguity.
- Remove print message for warning in reflected light calculations. Instead use the standard warning variable.
- Use separate erfa package instead of astropy.erfa
Deprecate leap update keywords leap_update
and leap_dir
, since the leap second update has now been offloaded to astropy.
Referenced in issue #40, barycorrpy will now use astropy for leap second management.
- Reshape output of JPL Ephemeris call through astropy get_body_barycentric_posvel()
- Change function name for
JDUTC_to_SolarEmissionTDB
toJDUTC_to_HJDTDB
- Minor formatting
As recommended in Wright and Kanodia (2020), the time stamp for Solar RV observations should be the time of emission of the photons, and we've implemented a function JDUTC_to_SolarEmissionTDB()
in v0.3.6 to perform this time conversion. This conversion accounts for the light travel time to place the clock at the heliocenter, in addition the Einstein delay correction.
Example -
result = utc_tdb.JDUTC_to_SolarEmissionTDB(JDUTC=2458000, obsname='KPNO')
Bug with finding size of len==1 Astropy Time object after numpy and astropy update https://github.com/shbhuk/barycorrpy/issues/36
For the solar system barycentric corrections, the code tried to update the leap second, since the flag didn't propagate through
Warning not propagating https://github.com/shbhuk/barycorrpy/pull/35
- Add
build/
to gitignore and remove from github. - Do not check for leap_update in loop for every iteration, instead just check for max(JDUTC) before the loop runs, and then set leap_update = False for every iter.
- Add timeout of 10s for leap update from USNO
https://github.com/shbhuk/barycorrpy/pull/34
- Include barycentric correction for the Sun in
get_BC_vel()
andexposure_meter_BC_vel()
, by usingSolarBarycentricCorrection()
function. We also include aReflectedLightBarycentricCorrection()
function for reflected light observations of Solar system objects to measure Solar RVs, based on the same principles as the Solar barycentric correcction. However, this last Reflected light routine has not been tested yet. - Switch from using Scipy constants to Astropy constants.
- Cache File IO for Leap second management.
- Predictive mode.
- Include
PhysicalConstants
module
Merged with master using pull request. By introducing a requirement for Astropy version to be >3.2.3 we are also imposing a requirement on Python 3.x and phasing out support to 2.x.
Incorporate unit testing. Hasn't been put on PyPI yet.
Last version that supports Python 2 (modulo Issue 27)
Bug found in the bulk motion correction. Error ~ 15 cm/s for Barnard star. Fixed with commit.
Merged with master using pull request.
Discussed in issue.
To install v0.2, you might need to uninstall v0.1
pip uninstall barycorrpy pip install barycorrpy -U
- Formatting and cleaning up
- Include Exposure meter calculation
- UTC_to_BJDTDB time converter
- Reduced ephem calls
- JDUTC input as float
- /data folder
- vector zmeas
- Flux weighting function
- Using Astroquery to query SIMBAD catalogue for target input
- Check output of sample_script and print a statement