Skip to content

ChangeLog

Shubham edited this page Feb 1, 2022 · 19 revisions

v0.4.4 (20210730)

  1. 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).

v0.4.3 (20210729)

  1. Query Horizons using TDB JD float instead of using Astropy Time Object
  2. 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.

v0.4.2 (20210729)

  1. Remove print message for warning in reflected light calculations. Instead use the standard warning variable.
  2. Use separate erfa package instead of astropy.erfa

v0.4.1 (20210303)

Deprecate leap update keywords leap_update and leap_dir, since the leap second update has now been offloaded to astropy.

v0.4.0 (20210303)

Referenced in issue #40, barycorrpy will now use astropy for leap second management.

v0.3.7 (20210301)

  • Reshape output of JPL Ephemeris call through astropy get_body_barycentric_posvel()
  • Change function name for JDUTC_to_SolarEmissionTDB to JDUTC_to_HJDTDB
  • Minor formatting

v0.3.6 (20210222)

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')

v0.3.5 (20210206)

Bug with finding size of len==1 Astropy Time object after numpy and astropy update https://github.com/shbhuk/barycorrpy/issues/36

v0.3.4

For the solar system barycentric corrections, the code tried to update the leap second, since the flag didn't propagate through

v0.3.2

Warning not propagating https://github.com/shbhuk/barycorrpy/pull/35

v0.3.1

  1. Add build/ to gitignore and remove from github.
  2. 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.
  3. Add timeout of 10s for leap update from USNO

https://github.com/shbhuk/barycorrpy/pull/34

v0.3

  1. Include barycentric correction for the Sun in get_BC_vel() and exposure_meter_BC_vel(), by using SolarBarycentricCorrection() function. We also include a ReflectedLightBarycentricCorrection() 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.
  2. Switch from using Scipy constants to Astropy constants.
  3. Cache File IO for Leap second management.
  4. Predictive mode.
  5. 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.

v0.2.3

Incorporate unit testing. Hasn't been put on PyPI yet.

Last version that supports Python 2 (modulo Issue 27)

v0.2.1

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.

v0.2

To install v0.2, you might need to uninstall v0.1

pip uninstall barycorrpy pip install barycorrpy -U