util - Miscellaneous Utilities
Functions
|
Draw samples from a Poisson distribution, taking care of large values of lam. |
|
Draw samples from a Gamma distribution, taking care of large values of lam. |
|
Draw samples from a Poisson-Gamma-Normal distribution, which is an accurate model of EMCCDs (following [R57dca7afaa11-Hirsch2013]). |
|
Invert M truncating the number of modes. |
|
Invert M with num_modes modes. |
|
Invert M using Tikhonov regularization. |
|
Read an array from a fits file. |
|
Write the data to a fits-file. |
|
Read a grid from a file. |
|
Write a grid to a file. |
|
Read a field from a file. |
|
Write a field to a file. |
|
Read a mode basis from a file. |
|
Write a mode basis to a file. |
|
Create the matrix that applies a convolution with kernel. |
|
Make the Laplacian operator using the 5-point stencil approximation |
|
Make the derivative operator using the central difference approximation. |
Classes
|
|
A spectral noise object. |
|
|
A spectral noise factory based on FFTs. |
|
A single realization of FFT spectral noise. |
|
A spectral noise factory based on multiscale Fourier transforms. |
|
A single realization of multiscale spectral noise. |
|
The Singular Value Decomposition for the provided matrix. |