Tools
Miscellaneous tools.
cosmax.tools Package
Functions
|
Compute the central difference of a field along a given axis. |
|
Periodic cloud in a cell mass (CIC) mass assignment. |
|
Overdensity (delta) of a density field (rho) as defined in cosmology |
Overdensity (delta) of a density field (rho) as defined in cosmology |
|
|
Get density (rho) from overdensity (delta) |
|
Given a 3D density field, fit the particle positions and masses such that the density field is well represented by the particles. |
|
Compute the gradient of a field using central differences. |
|
Approximation of the growth factor in cosmology |
|
Loss function for fitting a 3D density field with particles |