flip.covariance.adamsblake17plane.generator#
Functions#
|
Compute cos of the angle between r0 and r1. |
|
Compute separation between r_0 and r_1. |
|
Note: here, the bisector angle definition is used to compute |
|
Note: here, the bisector angle definition is used to compute |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The generate_covariance function generates the covariance matrix for a given model type, power spectrum, and coordinates. |
Module Contents#
- flip.covariance.adamsblake17plane.generator.angle_between(ra_0, ra_1, dec_0, dec_1)#
Compute cos of the angle between r0 and r1.
- flip.covariance.adamsblake17plane.generator.separation(r_0, r_1, cos_alpha)#
Compute separation between r_0 and r_1.
- flip.covariance.adamsblake17plane.generator.window_vv(r_0, r_1, cos_alpha, sep, j0kr, j2kr)#
Note: here, the bisector angle definition is used to compute
- flip.covariance.adamsblake17plane.generator.window_vg(r_0, r_1, cos_alpha, sep, j1kr)#
Note: here, the bisector angle definition is used to compute
- flip.covariance.adamsblake17plane.generator.intp(win, k, pk)#
- flip.covariance.adamsblake17plane.generator.compute_coef_gg(k, pk, coord)#
- flip.covariance.adamsblake17plane.generator.compute_coef_gv(k, pk, coord)#
- flip.covariance.adamsblake17plane.generator.compute_coef_vv(k, pk, coord)#
- flip.covariance.adamsblake17plane.generator.covariance_vv(ra_v, dec_v, rcomov_v, wavenumber, power_spectrum, size_batch=100000, number_worker=8)#
- flip.covariance.adamsblake17plane.generator.covariance_gv(ra_g, dec_g, rcomov_g, ra_v, dec_v, rcomov_v, wavenumber, power_spectrum, size_batch=100000, number_worker=8)#
- flip.covariance.adamsblake17plane.generator.covariance_gg(ra_g, dec_g, rcomov_g, wavenumber, power_spectrum, size_batch=100000, number_worker=8)#
- flip.covariance.adamsblake17plane.generator.generate_covariance(model_kind, power_spectrum_dict, coordinates_velocity=None, coordinates_density=None, **kwargs)#
The generate_covariance function generates the covariance matrix for a given model type, power spectrum, and coordinates.
- Parameters:
model_kind – Determine which covariance matrices are generated, and the coordinates_density and coordinates_velocity parameters are used to generate the covariance matrices
power_spectrum_dict – Pass the power spectrum to the function
coordinates_velocity – Define the coordinates of the velocity field
coordinates_density – Define the coordinates of the density field
**kwargs – Pass keyword arguments to the function
:param : Generate the covariance matrix for a given model :param The wide angle definition is bisector.:
- Returns:
A dictionary of covariance matrices
- Doc Author:
Trelent