SHTOOLS/SHTOOLS: Version 4.1

Mark A. Wieczorek, MMesch, Elliott Sales de Andrade, Ilya Oshchepkov, Benda Xu, Andrew Walker · Zenodo (CERN European Organization for Nuclear Research) · 2017

This version adds improved functionality to SHTOOLS and fixes a couple of minor bugs. In addition, this release will be the first where pre-built wheels for unix/macOS/windows will be distributed via PYPI. Change Log Added an optional argument lmax to SHCoeffs.from_array(). Coefficients are zero-padded when lmax is greater than the maximum degree in SHCoeffs.to_array(). The method pad() was added to the SHCoeffs class that zero pads or truncates the coefficients to a different lmax. Fixed the method SHCoeffs.from_file() such that the maximum spherical harmonic degree of the class is the maximum spherical harmonic degree of the coeffs (and not lmaxin as before). Fixed formatting issues with error messages in SHCoeffs. Removed print statements from the fortran code in BAtoHilm and BAtoHilmRohH that served no purpose. Fixed a bug in the argument order of the python wrappers of CilmPlusRhoDH and BAtoHilmRhoDH. Fixed the makefile to remove the dist directory during clean. Fixed a bug in the python routine cross_spectrum(), where the numpy arange function was incorrectly called. Fixed theSHWindow plotting methods to work when the number of rows is equal to 1. Conditional tests in the routine Wigner3j were reordered to avoid a division by zero. Numpy's auto-configuration is now used to detect the LAPACK libraries. Many minor updates to the python documentation and unix man pages. Citation: M. A. Wieczorek, M. Meschede, I. Oshchepkov, E. Sales de Andrade (2016). SHTOOLS: Version 3.4. Zenodo. doi:10.5281/zenodo.61180

Read the paper · More papers on PaperTik