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]