Software Open Access
markwieczorek; Matthias Meschede; Ilya Oshchepkov; Elliott Sales de Andrade; Armin Corbin; xoviat; Benda Xu; Stefan Schröder; Akihisa Hattori; Aaryaman Vasishta; Andrew Walker; Katrin Leinweber
Version 4.8
numpy.vectorize()
. These include: spharm_lm()
, legendre_lm()
, MakeGridPoint()
, MakeGridPointC()
, DownContFilterMA()
, DownContFilterMC()
, NormalGravity()
, SHConfidence()
, and PlmIndex()
.MakeGradientDH
was added to compute the horizontal gradient of a real scalar function. The method .gradient()
was added to the SHCoeffs
class, and a new class SHGradient
was created to store and plot the two horizontal components of the gradient.MakeGravGridPoint
and MakeMagGridPoint
to compute the gravity and magnetic field vector at a single point.SHGravCoeffs.expand()
and SHMagCoeffs.expand()
.plot_spectrum2d()
routines have been updated to include more plotting options, including placement of the origin, tick intervals, and colormaps. Most optional parameters are the same as in the SHGrid.plot()
method.SHGrid.plotgmt()
routine. The shading can be derived from the gradient of the input grid (by setting shading=True
) or from a different map by supplying an SHGrid
class instance. Optional parameters include the azimuth of the shading (shading_azimuth
), as well as the maximum amplitude of the intensity (shading_amplitude
).SHCoeffs.expand()
when colat
was specified in radians.iso_fortran_env
. Furthermore, the python wrapper and signature files have been updated to be explicit when defining the Fortran variables.constant
needed to be updated to constants
in the method SHCoeffs.centroid()
.SHGrid.from_ellipsoid()
. Though this method was introduced in v4.7, it was not mentioned in the release notes.SHCoeffs.to_array()
so that the default value is not to return the errors by setting errors=False
.name
to the coefficient classes SHGrid
, SHGravCoeffs
, SHMagCoeffs
and SlepianCoeffs
. All datasets now explicity set name
to the function call of the dataset.shtools.h
from src/
to include/
and updated the Makefiles accordingly.M. A. Wieczorek, M. Meschede, E. Sales de Andrade, A. Corbin, I. Oshchepkov, B. Xu, and A. Walker, A. Hattori, S. Schröder, K. Leinweber, A. Vasishta (2021). SHTOOLS: Version 4.8, Zenodo, doi:10.5281/zenodo.592762
Name | Size | |
---|---|---|
SHTOOLS/SHTOOLS-v4.8.zip
md5:b579d466d5f81b05183f3f6325d7f8b9 |
41.3 MB | Download |
All versions | This version | |
---|---|---|
Views | 1,848 | 35 |
Downloads | 253 | 12 |
Data volume | 5.9 GB | 495.3 MB |
Unique views | 1,600 | 33 |
Unique downloads | 174 | 5 |