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 log
exitstatusthat 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.
powerspectrumroutines have been removed from pyshtools, and have been replaced with Python native routines
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
SHCoeffsto plot the power as a function of degree and order.
localizedpsectralanalysishas been merged into
spectralanalysis, and the subpackage
otherhas been renamed
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
MakeGridPointCwas created for complex coefficients.
SHWindowhave been rename for consistency (see documentation!). Also, the classes now give the option of reading or saving to files as numpy arrays.
read_icgen_gfcfor reading ICGEM-format gravity coefficient files.
powwas added to the class
potas a mandatory return argument for the Python routine
other.PreGLQwere removed from pyshtools, as these can be found in other scipy packages.
DHajwas added to the pyshtools subpackage