Skip to content

v0.4.0

Latest
Compare
Choose a tag to compare
@mkelley mkelley released this 30 Jun 16:14
· 33 commits to main since this release
39b0c3c
  • Updated minimum supported versions:
    • Python 3.8
    • numpy 1.18
    • astropy 4.3
    • synphot 1.1
    • astroquery 0.4.5

New Features

sbpy.activity

  • Added VectorialModel.binned_production constructor for compatibility with
    time-dependent production implemented in the original FORTRAN vectorial model
    code by Festou. [#336]

  • Added VMResult, VMFragmentSputterPolar, VMParams,
    VMGridParams, VMFragment, and VMParent dataclasses to expose
    details of VectorialModel results that may be of interest. [#336]

sbpy.calib

  • Added a model spectrum of the Sun from STScI's CALSPEC database (Bohlin et al.
    2014, PASP 126, 711, DOI:10.1086/677655). [#371]

sbpy.data

  • Added Orbit.tisserand to calculate the Tisserand parameter of small body's
    orbits with respect to planets. [#325]

  • Added Orbit.D_criterion to evaluate the D-criterion between two sets of
    orbital elements. [#325]

  • Added DataClass.__contains__ to enable in operator for DataClass
    objects. [#357]

  • Added DataClass.add_row, DataClass.vstack methods. [#367]

sbpy.photometry

  • Added parameter constraints to the IAU disk-integrated phase function models,
    such as HG, HG1G2, HG12, and HG12_Pen16. [#366]

Documentation

  • Index page has been reorganized. [#337]

API Changes

sbpy.activity

  • VectorialModel now no longer takes an angular_substeps parameter. [#336]

sbpy.data

  • IAU HG series functions moved from sbpy.photometry.core to sbpy.photometry.iau. [#354]

sbpy.photometry

  • Replaced NonmonotonicPhaseFunctionWarning with
    InvalidPhaseFunctionWarning. [#366]

Bug Fixes

sbpy.calib

  • Updated STScI URLs for solar spectra (Castelli and Kurucz models). [#345]

sbpy.data

  • Cometary magnitudes obtained via Phys.from_sbdb (i.e., M1 and M2) now have
    appropriate units. [#349]

  • Asteroids with A/ designations (e.g., A/2019 G2) are correctly identified by
    Names as asteroids. Improved handling of interstellar object (I/)
    designations: they do not parse as cometary or asteroidal. [#334, #340]