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
numpy.vectorize(). These include:
MakeGradientDHwas added to compute the horizontal gradient of a real scalar function. The method
.gradient()was added to the
SHCoeffsclass, and a new class
SHGradientwas created to store and plot the two horizontal components of the gradient.
MakeMagGridPointto compute the gravity and magnetic field vector at a single point.
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.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
SHGridclass instance. Optional parameters include the azimuth of the shading (
shading_azimuth), as well as the maximum amplitude of the intensity (
colatwas specified in radians.
iso_fortran_env. Furthermore, the python wrapper and signature files have been updated to be explicit when defining the Fortran variables.
constantneeded to be updated to
constantsin the method
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
nameto the coefficient classes
SlepianCoeffs. All datasets now explicity set
nameto the function call of the dataset.
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