Releases: NASA-Planetary-Science/sbpy
v0.5.0
Revised required and optional packages:
-
Only numpy and astropy are required; scipy, synphot, ads, and astroquery are
now optional dependencies. [#383] -
Created an option to install a recommended list of packages, e.g.,
pip install sbpy[recommended]. [#383] -
Require
astropy>= 5.3.3 to avoid a security vulnerability. [#400]
New Features
sbpy.activity
- New
sbpy.activity.CircularAperture.from_coma_equivalent()to immediately
create aCircularAperturefrom any otherAperturegiven a nominal coma
surface brightness distribution. [#393]
sbpy.dynamics
-
New class to encapsulate dynamical state vectors:
sbpy.dynamics.state.State. [#394] -
New support for dynamical integrations:
sbpy.dynamics.models. Three models
are implemented:FreeExpansion,SolarGravity, andSolarGravityAndRadiationPressure. [#394] -
New ability to produce dust syndynes and synchrones:
sbpy.dynamics.syndynes. [#394]
sbpy.time
- New sub-module to support conversions to NAIF SPICE ephemeris time. [#394]
API Changes
sbpy.sources
- Deprecated
SynphotRequired. Use
sbpy.execptions.RequiredPackageUnavailable. [#383]
Bug Fixes
-
sbpy.sources.SpectralSourcenow correctly raises
RequiredPackageUnavailablewhensynphotis not available, replacing a
locally definedSynphotRequiredor the genericImportError. [#383] -
Fix
sbpy.photometry.bandpasscrash when reading in SDSS filter transmission
curves usingsynphot1.4. [#400] -
Fixed missing CALSPEC solar spectrum from
sbpy.calib.solar_sources. [#387]
Developer notes
sbpy.utils
- New
required_packagesandoptional_packagesfunctions to test for the
presence of required and optional packages. [#383]
sbpy.utils.decorators
- New
requiresandoptionally_usesfunction decorators to simplify testing
for required and optional packages. [#383]
v0.4.0
- Updated minimum supported versions:
- Python 3.8
numpy1.18astropy4.3synphot1.1astroquery0.4.5
New Features
sbpy.activity
-
Added
VectorialModel.binned_productionconstructor for compatibility with
time-dependent production implemented in the original FORTRAN vectorial model
code by Festou. [#336] -
Added
VMResult,VMFragmentSputterPolar,VMParams,
VMGridParams,VMFragment, andVMParentdataclasses to expose
details ofVectorialModelresults 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.tisserandto calculate the Tisserand parameter of small body's
orbits with respect to planets. [#325] -
Added
Orbit.D_criterionto evaluate the D-criterion between two sets of
orbital elements. [#325] -
Added
DataClass.__contains__to enableinoperator forDataClass
objects. [#357] -
Added
DataClass.add_row,DataClass.vstackmethods. [#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
VectorialModelnow no longer takes anangular_substepsparameter. [#336]
sbpy.data
- IAU HG series functions moved from
sbpy.photometry.coretosbpy.photometry.iau. [#354]
sbpy.photometry
- Replaced
NonmonotonicPhaseFunctionWarningwith
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
Namesas asteroids. Improved handling of interstellar object (I/)
designations: they do not parse as cometary or asteroidal. [#334, #340]
v0.3.1
v0.3.0
v0.2.2
First Year of Development (v0.2)
This release includes mostly complete functionality for dealing with data, calibrations, and bibliography. Limited functionality is available for the modeling of gas and dust activity, as well as disk-integrated photometry.
Future releases are expected to be backward-compatible to this release.
JOSS publication
minor updates from version 0.1 from JOSS review process
first official release
First release with limited and preliminary functionality in data, photometry, activity, and spectroscopy.