在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:ziotom78/Healpix.jl开源软件地址:https://github.com/ziotom78/Healpix.jl开源编程语言:Julia 99.8%开源软件介绍:HealpixHealpix.jl is a set of Julia functions that implement the HEALPix algorithms to pixelate a 2-sphere. The HEALPix pixelisation has a number of features that make it efficient for the following tasks:
HEALPix is widely used in cosmology to store maps of the CMB temperature and polarization anisotropies, which is the field studied by the authors of this package. Supported platformsThe purpose of Healpix.jl, is to implement a Julia-only library, instead of providing bindings to the original implementation of the C/C++/Fortran/Python Healpix library. This means that, unlike the original implementation, Healpix.jl is fully supported on Windows systems, among with Linux and Mac OS X. InstallationFrom the Julia REPL, run import Pkg
Pkg.add("Healpix.jl") Usage examplesHere are some code snippets that show how to use Refer to the documentation for more examples. Dealing with resolutionsThe resolution of a HEALPix map is uniquely determined by the import Healpix
res = Healpix.Resolution(256)
print("The pixel index is $(Healpix.ang2pixNest(res, 0.1, 0.2))\n") Reading a map from a FITS fileThis snippet loads a map named import Healpix
m = Healpix.readMapFromFITS("planck_70GHz.fits", 1, Float64)
print("average: $(mean(m.pixels))\n") How to contributeSee the document CONTRIBUTING.md. Citing Healpix.jlIf you have used Healpix.jl in your research and want to acknowledge the library in your academic publications, you can reference its ASCL entry through the code
Be sure to append Here is a BibTeX entry ready to be used, generated by ADS:
Please update the version number ( See the ASCL guidelines for more information. LicenseHealpix.jl is released under the GPL license. Versions before 2.3.0 were released under a MIT license, but this was considered incompatible with the way the code has been written (#15). |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论