flip.covariance.adamsblake17plane.generator
===========================================

.. py:module:: flip.covariance.adamsblake17plane.generator


Functions
---------

.. autoapisummary::

   flip.covariance.adamsblake17plane.generator.angle_between
   flip.covariance.adamsblake17plane.generator.separation
   flip.covariance.adamsblake17plane.generator.window_vv
   flip.covariance.adamsblake17plane.generator.window_vg
   flip.covariance.adamsblake17plane.generator.intp
   flip.covariance.adamsblake17plane.generator.compute_coef_gg
   flip.covariance.adamsblake17plane.generator.compute_coef_gv
   flip.covariance.adamsblake17plane.generator.compute_coef_vv
   flip.covariance.adamsblake17plane.generator.covariance_vv
   flip.covariance.adamsblake17plane.generator.covariance_gv
   flip.covariance.adamsblake17plane.generator.covariance_gg
   flip.covariance.adamsblake17plane.generator.generate_covariance


Module Contents
---------------

.. py:function:: angle_between(ra_0, ra_1, dec_0, dec_1)

   Compute cos of the angle between r0 and r1.


.. py:function:: separation(r_0, r_1, cos_alpha)

   Compute separation between r_0 and r_1.


.. py:function:: window_vv(r_0, r_1, cos_alpha, sep, j0kr, j2kr)

   Note: here, the bisector angle definition is used to compute


.. py:function:: window_vg(r_0, r_1, cos_alpha, sep, j1kr)

   Note: here, the bisector angle definition is used to compute


.. py:function:: intp(win, k, pk)

.. py:function:: compute_coef_gg(k, pk, coord)

.. py:function:: compute_coef_gv(k, pk, coord)

.. py:function:: compute_coef_vv(k, pk, coord)

.. py:function:: covariance_vv(ra_v, dec_v, rcomov_v, wavenumber, power_spectrum, size_batch=100000, number_worker=8)

.. py:function:: covariance_gv(ra_g, dec_g, rcomov_g, ra_v, dec_v, rcomov_v, wavenumber, power_spectrum, size_batch=100000, number_worker=8)

.. py:function:: covariance_gg(ra_g, dec_g, rcomov_g, wavenumber, power_spectrum, size_batch=100000, number_worker=8)

.. py:function:: 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.

   :param model_kind: Determine which covariance matrices are generated, and the coordinates_density and coordinates_velocity parameters are used to generate the covariance matrices
   :param power_spectrum_dict: Pass the power spectrum to the function
   :param coordinates_velocity: Define the coordinates of the velocity field
   :param coordinates_density: Define the coordinates of the density field
   :param \*\*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


