Software Open Access
Mark Wieczorek; MMesch; Elliott Sales de Andrade; Ilya Oshchepkov; heroxbd
This is a major update that fixes bugs, adds new functionality, and improves Python error handing. All users are requested to upgrade to 4.0.
Change logexitstatus
that allows Python to raise an exception. This technique does not work with the few Fortran functions that pyshtools calls, but these functions are relatively benign, and will soon be phased out for Python native functions.powerspectrum
routines have been removed from pyshtools, and have been replaced with Python native routines spectrum
and cross_spectrum
. The Python routines allow to specify the normalization, whether the output should be power, energy or l2norm, and whether the spectrum is per degree, per coefficient, or per log bandwidth.plot_spectrum2d()
was added to the class SHCoeffs
to plot the power as a function of degree and order.localizedpsectralanalysis
has been merged into spectralanalysis
, and the subpackage other
has been renamed utils
.SHCoeffs.expand()
now can evaluate the function either on an SHGrid or for a list of latitude and longitude points. As part of this change, a new fortran function MakeGridPointC
was created for complex coefficients.SHCoeffs
, SHGrid
and SHWindow
have been rename for consistency (see documentation!). Also, the classes now give the option of reading or saving to files as numpy arrays.read_icgen_gfc
for reading ICGEM-format gravity coefficient files.pow
was added to the class SHCoeffs
.copy
.pot
as a mandatory return argument for the Python routine MakeGravGridDH
.other.EigValSym
, other.EigValVecSym
, other.EigValVecSymTri
, other.RandomGaussian
, other.RandomN
and other.PreGLQ
were removed from pyshtools, as these can be found in other scipy packages.DHaj
was added to the pyshtools subpackage utils
.Name | Size | |
---|---|---|
SHTOOLS/SHTOOLS-v4.0.zip
md5:481cbb6c47e294d077cc0c6ef2fbf506 |
18.3 MB | Download |
All versions | This version | |
---|---|---|
Views | 2,668 | 229 |
Downloads | 380 | 23 |
Data volume | 9.3 GB | 420.9 MB |
Unique views | 2,320 | 217 |
Unique downloads | 258 | 19 |