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 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]
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]
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
.