Skip to content

Commit 39451c6

Browse files
authored
Merge pull request #336 from sjoset/vectorial_model_rewrite
Vectorial model rewrite and update associated tests and documentation
2 parents 309ff50 + c0fb4ae commit 39451c6

File tree

5 files changed

+1706
-1168
lines changed

5 files changed

+1706
-1168
lines changed

CHANGES.rst

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,17 @@
1010
New Features
1111
------------
1212

13+
sbpy.activity
14+
^^^^^^^^^^^^^
15+
16+
- Added ``VectorialModel.binned_production`` constructor for compatibility with
17+
time-dependent production implemented in the original FORTRAN vectorial model
18+
code by Festou. [#336]
19+
20+
- Added ``VMResult``, ``VMFragmentSputterPolar``, ``VMParams``,
21+
``VMGridParams``, ``VMFragment``, and ``VMParent`` dataclasses to expose
22+
details of ``VectorialModel`` results that may be of interest. [#336]
23+
1324
sbpy.data
1425
^^^^^^^^^
1526

@@ -21,11 +32,10 @@ sbpy.data
2132

2233
- Added ``DataClass.__contains__`` to enable `in` operator for ``DataClass``
2334
objects. [#357]
24-
35+
2536
- Added ``DataClass.add_row``, ``DataClass.vstack``
2637
methods. [#367]
2738

28-
2939
sbpy.photometry
3040
^^^^^^^^^^^^^^^
3141

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

5262

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

docs/sbpy/activity/gas.rst

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -103,12 +103,6 @@ The gas coma models work with sbpy's apertures:
103103
Vectorial Model
104104
^^^^^^^^^^^^^^^
105105

106-
.. warning::
107-
108-
Literature tests with the Vectorial model are generally in agreement at the
109-
20% level or better. The cause for the differences with the Festou FORTRAN
110-
code are not yet precisely known. Help testing this feature is appreciated.
111-
112106
The Vectorial model (`Festou 1981
113107
<https://ui.adsabs.harvard.edu/abs/1981A%26A....95...69F/abstract>`_) describes
114108
the spatial distribution of coma photolysis products. Unlike the Haser model,
@@ -146,9 +140,9 @@ number of molecules in an aperture. Parent and daughter data is provided via
146140
>>> Q = 1e28 / u.s # water production rate
147141
>>> coma = gas.VectorialModel(Q, water, hydroxyl)
148142
>>> print(coma.column_density(10 * u.km)) # doctest: +FLOAT_CMP
149-
2.951278139718558e+17 1 / m2
143+
2.8976722840952486e+17 1 / m2
150144
>>> print(coma.total_number(1000 * u.km)) # doctest: +FLOAT_CMP
151-
6.96687966256294e+29
145+
6.995158827300034e+29
152146

153147
Production Rate calculations
154148
----------------------------

0 commit comments

Comments
 (0)