utils
erwans3.utils Module
Functions
|
Subtract two Cartesian representations and their differentials. |
|
Convert Sherical harmonic coefficients from healpy format to pyshtool.SHCoeff object Work in progress : unfinished |
|
Convert Sherical harmonic coefficients from pyshtool.SHCoeff object to healpy format Work in progress : unfinished |
|
Compare two rotations and return the angular difference between them. |
|
|
|
Generate random points uniformly distributed within a ball. |
|
Generate random points uniformly distributed on the surface of a sphere. |
|
Compute the Gaussian function with optional background and normalization. |
|
Compute the value of a 2D Gaussian function at given positions. |
|
Create a 2D Gaussian function. |
|
Create a Gaussian function as a lambda expression. |
|
Create a 1D Gaussian function defined on a Healpix sphere. |
|
Compute a 3D spherical Gaussian function. |
|
Check whether a given unit is extensive (per steradian) or not. |
|
Determine if the input is a scalar value. |
|
Display function |
|
|
|
Convert a resolution parameter to its corresponding maximum spherical harmonic degree (lmax) value. |
|
Returns the HEALPix Nside corresponding to a given resolution |
|
Convert Rotation object from healpy to scipy |
|
Convert Rotation obsject from scipy to healpy |