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 aCircularAperture
from any otherAperture
given 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.SpectralSource
now correctly raises
RequiredPackageUnavailable
whensynphot
is not available, replacing a
locally definedSynphotRequired
or the genericImportError
. [#383] -
Fix
sbpy.photometry.bandpass
crash when reading in SDSS filter transmission
curves usingsynphot
1.4. [#400] -
Fixed missing CALSPEC solar spectrum from
sbpy.calib.solar_sources
. [#387]
Developer notes
sbpy.utils
- New
required_packages
andoptional_packages
functions to test for the
presence of required and optional packages. [#383]
sbpy.utils.decorators
- New
requires
andoptionally_uses
function decorators to simplify testing
for required and optional packages. [#383]