v0.4.0
- Updated minimum supported versions:
- Python 3.8
numpy
1.18astropy
4.3synphot
1.1astroquery
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
, andVMParent
dataclasses to expose
details ofVectorialModel
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 enablein
operator forDataClass
objects. [#357] -
Added
DataClass.add_row
,DataClass.vstack
methods. [#367]
sbpy.photometry
- Added parameter constraints to the IAU disk-integrated phase function models,
such asHG
,HG1G2
,HG12
, andHG12_Pen16
. [#366]
Documentation
- Index page has been reorganized. [#337]
API Changes
sbpy.activity
VectorialModel
now no longer takes anangular_substeps
parameter. [#336]
sbpy.data
- IAU HG series functions moved from
sbpy.photometry.core
tosbpy.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]