Package: cooltools 2.33

cooltools: Practical Tools for Scientific Computation and Visualisation

Provides utilities for scientific computation and visualisation, with an emphasis on applications in physics and astrophysics. Functionality includes random sampling from spherical and custom distributions, information and entropy analysis, Fourier transforms, two-point correlation estimation, binning and gridding of point sets, two-dimensional interpolation, Monte Carlo integration, vector operations, coordinate transformations, physical constants, and cosmological conversions. Graphics tools support the creation and export of publication-quality plots, animations, colour scales, map projections, and bitmap images. Several of these tools were used by Obreschkow et al. (2020) [doi:10.1093/mnras/staa445](doi:10.1093/mnras/staa445).

Authors:Danail Obreschkow [aut, cre]

cooltools_2.33.tar.gz
cooltools_2.33.zip(r-4.7-x86_64)cooltools_2.33.zip(r-4.7-arm64)cooltools_2.33.zip(r-4.6-x86_64)cooltools_2.33.zip(r-4.6-arm64)cooltools_2.33.zip(r-4.5-x86_64)
cooltools_2.33.tgz(r-4.6-x86_64)cooltools_2.33.tgz(r-4.6-arm64)cooltools_2.33.tgz(r-4.5-x86_64)cooltools_2.33.tgz(r-4.5-arm64)
cooltools_2.33.tar.gz(r-4.7-arm64)cooltools_2.33.tar.gz(r-4.7-x86_64)cooltools_2.33.tar.gz(r-4.6-arm64)cooltools_2.33.tar.gz(r-4.6-x86_64)
cooltools_2.33.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION
card.svg |card.png
cooltools/json (API)

# Install 'cooltools' in R:
install.packages('cooltools', repos = c('https://obreschkow.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/obreschkow/cooltools/issues

Uses libs:
  • c++– GNU Standard C++ Library v3
Datasets:

On CRAN:

Conda:

cpp

3.41 score 1 stars 37 scripts 689 downloads 90 exports 24 dependencies

Last updated from:973fdca0fd. Checks:15 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK217
linux-devel-x86_64OK272
source / vignettesOK198
linux-release-arm64OK219
linux-release-x86_64OK251
macos-release-arm64OK210
macos-release-x86_64OK375
macos-oldrel-arm64OK209
macos-oldrel-x86_64OK387
windows-devel-arm64OK447
windows-devel-x86_64OK245
windows-release-arm64OK303
windows-release-x86_64OK198
windows-oldrel-x86_64OK221
wasm-releaseOK126

Exports:.cooltools.envalpangularmomentumapproxfun2bindatablurcar2polcar2sphcmplx2colcolorbarcontourlevelcosmofctcshiftcstcubehelixdftdftgriddistradiusdpqrentropyerrlineserrorfibonaccispheregetgitgradientgrfgriddatahistcoordinertiainvertis.equaljackknifekappacorotationkde2landyszalaylastlightnesslimlinfunlinuxspacesloadbinmakeframemakemoviemcintegralmidseqmollweidemomentsmutualndftngonnplotpaircountpdf2jpgplanckcolorspol2carprogressquadrupolequietrasterflipreadhdf5rebindensityrngrotation2rotation3runif2runif3scalarproductsigmoidsmartroundsmoothcontoursmoothfunsortlistspectrumcolorssph2carsphereplotsphericalharmonicsstreamlinesstretchsubplotticktocktransparenttranszoomuniquedoubleunitvectoruserattributesvectornormvectorproductwavelength2colwritehdf5

Dependencies:bitbit64celestialcubaturedata.tableFNNgitcredshdf5rjpeglatticeMASSNISTunitspakplotrixpngpracmaR6randtoolboxRANNrasterRcpprngWELLspterra

Readme and manuals

Help Manual

Help pageTopics
Practical Tools for Scientific Computations and Visualizationscooltools-package cooltools
Package environment.cooltools.env
Associated Legendre Polynomialsalp
Compute the total angular momentum of a particle distributionangularmomentum
Bilinear interpolation function of data on a regular gridapproxfun2
Bin two-dimensional data in one dimensionbindata
Gaussian blur for arrays of arbitrary dimensionblur
Cartesian to polar/cylindrical coordinate conversioncar2pol
Cartesian to spherical coordinate conversioncar2sph
Convert complex numbers to colorcmplx2col
Vertical color barcolorbar
Highest-density contour levelscontourlevel
Fast cosmology conversion functionscosmofct
Circularly shift each dimension of an arraycshift
Scientific constantscst
Cube Helix colour palettecubehelix
Discrete Fourier Transformdft
Produce coordinates for Discrete Fourier Transformdftgrid
Radius of a point distributiondistradius
Generate the d/p/q/r family for an arbitrary distributiondpqr
Information entropyentropy
Draw a line with uncertainty regionserrlines
Stop code and produce an error messageerror
Evenly distributed n points on a spherefibonaccisphere
Install a GitHub Packagegetgit
Compute gradientgradient
Gaussian Random Field generatorgrf
Distribute a point set onto a regular gridgriddata
Generate histogram coordinates from mid pointshistcoord
Moment of inertia tensorinertia
Invert and shift colors of an imageinvert
Numerical equality checkis.equal
Jackknife Estimationjackknife
Compute the co-rotational kinetic energy fractionkappacorotation
Multi-dimensional adaptive kernel density estimationkde2
Two-point correlation estimationlandyszalay
Last element of a vectorlast
Change lightness of a colorlightness
Crop values to a custom rangelim
Linear Function Fitterlinfun
Handle spaces in Linux filenameslinuxspaces
Read binary data into arrayloadbin
Display a single movie framemakeframe
Produce a movie from frame-drawing functionmakemovie
Monte Carlo and Quasi-Monte Carlo integration in any dimensionmcintegral
Mid-points of regular gridmidseq
Mollweide projectionmollweide
Second moment tensormoments
Mutual information of two random variablesmutual
Non-uniform Discrete Fourier Transformndft
Draw a regular n-gonngon
Make empty plot areanplot
Count the number of point-pairs in distance binspaircount
Convert pdf to jpgpdf2jpg
Planck CMB colour paletteplanckcolors
Polar/cylindrical to Cartesian coordinate conversionpol2car
Show progress while timer in runningprogress
Quadrupole tensorquadrupole
Suppress console outputquiet
Flip array to be displayed with rasterImage()rasterflip
Read data from an HDF5 filereadhdf5
Re-bin density histogramsrebindensity
Random number generator for a custom d-dimensional distributionrng
2D rotation matrixrotation2
3D rotation matrixrotation3
Generate randomly oriented vectors in 2Drunif2
Generate randomly oriented vectors in 3Drunif3
Scalar productscalarproduct
Sigmoid functionsigmoid
Round a vector of floating-point values while preserving their sumsmartround
Draw smoothed contourssmoothcontour
Smoothed Functionsmoothfun
Sort List Entries Alphabeticallysortlist
Spectrum colour palettespectrumcolors
Spherical to Cartesian coordinate conversionsph2car
Plot a spherical function or point setsphereplot
Spherical Harmonicssphericalharmonics
Draw streamlines of a two-dimensional vector fieldstreamlines
Stretch values to a custom rangestretch
Insert a sub-panel into plotsubplot
Start timertick
Stop timertock
Add transparency to a colortransparent
Zoom, translate and rotate array imagetranszoom
Map positive 64-bit integers onto unique doublesuniquedouble
Normalize vectors to unit lengthunitvector
Retrieve Custom Object Attributesuserattributes
Vector normvectornorm
Vector productvectorproduct
Convert wavelength to RGBwavelength2col
Write structured list to an HDF5 filewritehdf5
Yin-Yang-Yong imageyinyangyong