flip.covariance.carreres23.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 in wide-angle |
|
|
|
|
|
|
|
The generate_covariance function generates a covariance matrix for the velocity field. |
Module Contents#
- flip.covariance.carreres23.generator.angle_between(ra_0, ra_1, dec_0, dec_1)[source]#
Compute cos of the angle between r0 and r1.
- flip.covariance.carreres23.generator.separation(r_0, r_1, cos_alpha)[source]#
Compute separation between r_0 and r_1.
- flip.covariance.carreres23.generator.window(r_0, r_1, cos_alpha, sep, j0kr, j2kr)[source]#
Note: here, the bisector angle definition is used in wide-angle
- flip.covariance.carreres23.generator.covariance_vv(ra_in, dec_in, rcomov_in, k_in, pk_in, grid_window_in=None, size_batch=100000, number_worker=8)[source]#
- flip.covariance.carreres23.generator.generate_covariance(model_kind, power_spectrum_dict, coordinates_density=False, coordinates_velocity=None, **kwargs)[source]#
The generate_covariance function generates a covariance matrix for the velocity field.
- Parameters:
model_kind – Specify the type of model to generate
power_spectrum_dict – Pass the power spectrum to the function
coordinates_density – Specify the coordinates of the density field
coordinates_velocity – Generate the covariance matrix
**kwargs – Pass additional parameters to the function
:param : Generate the covariance matrix for the velocity field :param The wide angle used is the bisector.:
- Returns:
A dictionary with a single key "vv"