Skip to content

Commit 39b0c3c

Browse files
authored
Merge pull request #375 from mkelley/prepare-v0.4
Prepare v0.4 release
2 parents 39451c6 + 343786a commit 39b0c3c

File tree

12 files changed

+73
-46
lines changed

12 files changed

+73
-46
lines changed

CHANGES.rst

Lines changed: 46 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
1-
0.4.0 (release date TBD)
2-
========================
3-
4-
* Dropped support for Python 3.7, minimum supported version is 3.8.
1+
0.4.0 (2023-06-30)
2+
==================
53

6-
* Bumped minimum supported versions for `numpy` to 1.18, `astropy` to 4.3, `synphot`
7-
to 1.1, `astroquery` to 4.6.
4+
* Updated minimum supported versions:
5+
- Python 3.8
6+
- `numpy` 1.18
7+
- `astropy` 4.3
8+
- `synphot` 1.1
9+
- `astroquery` 0.4.5
810

911

1012
New Features
@@ -21,34 +23,66 @@ sbpy.activity
2123
``VMGridParams``, ``VMFragment``, and ``VMParent`` dataclasses to expose
2224
details of ``VectorialModel`` results that may be of interest. [#336]
2325

26+
sbpy.calib
27+
^^^^^^^^^^
28+
29+
- Added a model spectrum of the Sun from STScI's CALSPEC database (Bohlin et al.
30+
2014, PASP 126, 711, DOI:10.1086/677655). [#371]
31+
2432
sbpy.data
2533
^^^^^^^^^
2634

27-
- Added ``Orbit.tisserand`` to calculate the Tisserand parameter of small
28-
body's orbits with respect to planets. [#325]
35+
- Added ``Orbit.tisserand`` to calculate the Tisserand parameter of small body's
36+
orbits with respect to planets. [#325]
2937

30-
- Added ``Orbit.D_criterion`` to evaluate the D-criterion between two sets
31-
of orbital elements. [#325]
38+
- Added ``Orbit.D_criterion`` to evaluate the D-criterion between two sets of
39+
orbital elements. [#325]
3240

3341
- Added ``DataClass.__contains__`` to enable `in` operator for ``DataClass``
3442
objects. [#357]
3543

36-
- Added ``DataClass.add_row``, ``DataClass.vstack``
37-
methods. [#367]
44+
- Added ``DataClass.add_row``, ``DataClass.vstack`` methods. [#367]
3845

3946
sbpy.photometry
4047
^^^^^^^^^^^^^^^
4148

4249
- Added parameter constraints to the IAU disk-integrated phase function models,
4350
such as ``HG``, ``HG1G2``, ``HG12``, and ``HG12_Pen16``. [#366]
4451

52+
Documentation
53+
^^^^^^^^^^^^^
54+
55+
- Index page has been reorganized. [#337]
56+
57+
58+
API Changes
59+
-----------
60+
61+
sbpy.activity
62+
^^^^^^^^^^^^^
63+
64+
- ``VectorialModel`` now no longer takes an ``angular_substeps`` parameter. [#336]
65+
66+
sbpy.data
67+
^^^^^^^^^
68+
69+
- IAU HG series functions moved from `sbpy.photometry.core` to `sbpy.photometry.iau`. [#354]
70+
71+
sbpy.photometry
72+
^^^^^^^^^^^^^^^
73+
4574
- Replaced ``NonmonotonicPhaseFunctionWarning`` with
4675
``InvalidPhaseFunctionWarning``. [#366]
4776

4877

4978
Bug Fixes
5079
---------
5180

81+
sbpy.calib
82+
^^^^^^^^^^
83+
84+
- Updated STScI URLs for solar spectra (Castelli and Kurucz models). [#345]
85+
5286
sbpy.data
5387
^^^^^^^^^
5488

@@ -60,15 +94,6 @@ sbpy.data
6094
designations: they do not parse as cometary or asteroidal. [#334, #340]
6195

6296

63-
API Changes
64-
-----------
65-
66-
sbpy.activity
67-
^^^^^^^^^^^^^
68-
69-
- ``VectorialModel`` now no longer takes an ``angular_substeps`` parameter. [#336]
70-
71-
7297
0.3.0 (2022-04-28)
7398
==================
7499

docs/about.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ are always given in km. This makes sense for large objects - but what about
311311
meter-sized objects like near-Earth asteroids?
312312

313313
Following the
314-
`Zen of Python <https://www.python.org/dev/peps/pep-0020/>`_ (explicit
314+
`Zen of Python <https://peps.python.org/pep-0020/>`_ (explicit
315315
is better than implicit), we require that units are explicitly
316316
defined:
317317

@@ -389,16 +389,16 @@ methods.
389389

390390

391391

392-
.. _JPL Horizons: https://ssd.jpl.nasa.gov/horizons.cgi
392+
.. _JPL Horizons: https://ssd.jpl.nasa.gov/horizons/
393393
.. _Minor Planet Center: https://minorplanetcenter.net/
394394
.. _IMCCE: http://vo.imcce.fr/webservices/miriade/
395-
.. _Lowell Observatory: https://asteroid.lowell.edu
395+
.. _Lowell Observatory: https://asteroid.lowell.edu/gui/
396396
.. _PyEphem: https://rhodesmill.org/pyephem
397397
.. _REBOUND: https://github.com/hannorein/rebound
398398
.. _OpenOrb: https://github.com/oorb/oorb
399399
.. _SpiceyPy: https://github.com/AndrewAnnex/SpiceyPy
400400
.. _web-API: https://minorplanetcenter.net/search_db
401-
.. _Solar System Object Image Search function of the Canadian Astronomy Data Centre: http://www.cadc-ccda.hia-iha.nrc-cnrc.gc.ca/en/ssois/
401+
.. _Solar System Object Image Search function of the Canadian Astronomy Data Centre: https://www.cadc-ccda.hia-iha.nrc-cnrc.gc.ca/en/ssois/
402402
.. _skybot: http://vo.imcce.fr/webservices/skybot/
403403
.. _small bodies data ferret: https://sbnapps.psi.edu/ferret
404404
.. _github wiki: https://github.com/mommermi/sbpy/wiki

docs/development/index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Communicating with the developers
1515

1616
We would prefer any communication with the development team to go
1717
through the `github issue system
18-
<https://guides.github.com/features/issues/>`_. This way, all
18+
<https://docs.github.com/issues>`_. This way, all
1919
communications are centralized in one place and accessible to
2020
everyone. `sbpy` issues can be posted `here
2121
<https://github.com/NASA-Planetary-Science/sbpy/issues>`__.
@@ -96,7 +96,7 @@ Technical requirements
9696
* code must adhere to `astropy's contributing guidelines
9797
<https://www.astropy.org/contribute.html>`__, the guidelines
9898
described in this document and `PEP8
99-
<https://www.python.org/dev/peps/pep-0008/>`_
99+
<https://peps.python.org/pep-0008/>`_
100100
* code must be accompanied by corresponding tests; 100% of the
101101
implemented tests must pass, a test coverage >= 90% is required; if
102102
possible, results should be checked against results from the

docs/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Current Status
3434
:alt: GitHub testing status
3535

3636
.. image:: https://codecov.io/gh/NASA-Planetary-Science/sbpy/branch/main/graph/badge.svg
37-
:target: https://codecov.io/gh/NASA-Planetary-Science/sbpy
37+
:target: https://app.codecov.io/gh/NASA-Planetary-Science/sbpy
3838
:alt: codecov status
3939

4040

docs/install.rst

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,13 @@ Requirements
88
`sbpy` has the following requirements that will be automatically taken
99
care of with installation using pip:
1010

11-
* Python 3.7 or later
12-
* `numpy <https://numpy.org/>`__ 1.17.0 or later
13-
* `astropy <https://www.astropy.org/>`__ 4.0 or later
14-
* `astroquery <https://astroquery.readthedocs.io/en/latest/>`__ 0.4.5 or later: For retrieval of online data, e.g., ephemerides and orbits.
15-
* `scipy <https://www.scipy.org/>`__: For numerical integrations in `sbpy.activity.gas` and `sbpy.photometry`, among others.
16-
* `synphot <https://github.com/spacetelescope/synphot_refactor>`__ 1.0.0 or later: For calibration with respect to the Sun and Vega, filtering spectra through bandpasses.
11+
* Python 3.8 or later
12+
* `ads <https://github.com/andycasey/ads/>`__ 0.12 or later, to fetch citation details for bibliography tracking.
13+
* `astropy <https://www.astropy.org/>`__ 4.3 or later.
14+
* `astroquery <https://astroquery.readthedocs.io/en/latest/>`__ 0.4.5 or later, for retrieval of online data, e.g., ephemerides and orbits.
15+
* `numpy <https://numpy.org/>`__ 1.18 or later.
16+
* `scipy <https://scipy.org/>`__: 1.3 or later, for numerical integrations in `sbpy.activity.gas` and `sbpy.photometry`, among others.
17+
* `synphot <https://github.com/spacetelescope/synphot_refactor>`__ 1.1.1 or later, for calibration with respect to the Sun and Vega, filtering spectra through bandpasses.
1718

1819
Optional dependencies
1920
^^^^^^^^^^^^^^^^^^^^^
@@ -23,7 +24,7 @@ Optional dependencies
2324
(`~sbpy.data.Orbit.oo_propagate`), as well as ephemerides calculations
2425
(`~sbpy.data.Ephem.from_oo`).
2526
* `pyradex <https://github.com/keflavich/pyradex>`__: For non-LTE production
26-
rate calculation related to cometary activity (`~sbpy.activity.gas.NonLTE`).
27+
rate calculations related to cometary activity (`~sbpy.activity.gas.NonLTE`).
2728
* `ginga <https://ejeschke.github.io/ginga/>`__ and `photutils
2829
<https://photutils.readthedocs.io/en/stable/>`__: To interactively enhance
2930
images of comets with the `~sbpy.imageanalysis.CometaryEnhancement` Ginga

docs/sbpy/data/ephem.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ JPL Horizons (`~sbpy.data.Ephem.from_horizons`)
1414
location, and the ephemeris epoch. For instance, the following few lines will
1515
query for ephemerides of asteroid Ceres on a given date and for the position of
1616
Mauna Kea Observatory (IAU observatory code 568) from the `JPL Horizons service
17-
<https://ssd.jpl.nasa.gov/horizons.cgi>`_:
17+
<https://ssd.jpl.nasa.gov/horizons/>`_:
1818

1919
.. doctest-remote-data::
2020

docs/sbpy/data/orbit.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Orbit Queries
77

88
`~sbpy.data.Orbit.from_horizons` enables the query of Solar System
99
body osculating elements from the `JPL Horizons service
10-
<https://ssd.jpl.nasa.gov/horizons.cgi>`_:
10+
<https://ssd.jpl.nasa.gov/horizons/>`_:
1111

1212
.. doctest-remote-data::
1313

docs/sbpy/data/phys.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Physical Data Objects (`sbpy.data.Phys`)
55
`~sbpy.data.Phys` is designed to contain and query physical properties for
66
small bodies; functions to query these properties are
77
available. `~sbpy.data.Phys.from_sbdb` queries the `JPL Small-body
8-
Database Browser (SBDB) <https://ssd.jpl.nasa.gov/sbdb.cgi>`_ for physical
8+
Database Browser (SBDB) <https://ssd.jpl.nasa.gov/tools/sbdb_lookup.html>`_ for physical
99
properties and stores the data in a `~sbpy.data.Phys` object, offering
1010
the same functionality as all the other `~sbpy.data` functions,
1111
including the use of `~astropy.units`.

docs/status.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,16 @@ Status Page
44
===========
55

66
This page indicates the development status of `sbpy`. The development
7-
is expected to conclude in 2021.
7+
is expected to conclude in 2024.
88

9-
The current development version is **v0.4dev**; its status is as follows:
9+
The current development version is **v0.5.dev**; its status is as follows:
1010

1111
.. image:: https://github.com/NASA-Planetary-Science/sbpy/actions/workflows/ci_cron_weekly.yml/badge.svg
1212
:target: https://github.com/NASA-Planetary-Science/sbpy/actions
1313
:alt: GitHub testing status
1414

1515
.. image:: https://codecov.io/gh/NASA-Planetary-Science/sbpy/branch/main/graph/badge.svg
16-
:target: https://codecov.io/gh/NASA-Planetary-Science/sbpy
16+
:target: https://app.codecov.io/gh/NASA-Planetary-Science/sbpy
1717
:alt: codecov status
1818

1919
.. image:: https://readthedocs.org/projects/sbpy/badge/?version=latest
@@ -237,13 +237,13 @@ classes.
237237
<em>sbpy.activity.gas</em>
238238
</td>
239239
<td align='center'>
240-
<span class="dev"></span>
240+
<span class="stable"></span>
241241
</td>
242242
<td align='center'>
243243
MSK / MdVB
244244
</td>
245245
<td>
246-
Haser model implemented; Vectorial model partially tested;
246+
Haser and Vectorial models implemented
247247
</td>
248248
</tr>
249249
<tr>

sbpy/data/obs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ def supplement(self, service='jplhorizons', id_field='targetname',
107107
service : str, optional
108108
Service from which to acquire data: ``'jplhorizons'``,
109109
``'mpc'``, or ``'miriade'``, corresponding to the
110-
`JPL Horizons system <https://ssd.jpl.nasa.gov/horizons.cgi>`_
110+
`JPL Horizons system <https://ssd.jpl.nasa.gov/horizons/>`_
111111
(using `~sbpy.data.Ephem.from_horizons`),
112112
the `Minor Planet Center ephemeris service
113113
<https://minorplanetcenter.net/iau/MPEph/MPEph.html>`_

0 commit comments

Comments
 (0)