nessai.reparameterisations.combined
===================================

.. py:module:: nessai.reparameterisations.combined

.. autoapi-nested-parse::

   Combined reparameterisation.

   ..
       !! processed by numpydoc !!


Classes
-------

.. autoapisummary::

   nessai.reparameterisations.combined.CombinedReparameterisation


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

.. py:class:: CombinedReparameterisation(reparameterisations=None, reverse_order=False)

   Bases: :py:obj:`dict`


   
   Class to handle multiple reparameterisations


   :Parameters:

       **reparameterisations** : list, optional
           List of reparameterisations to add to the combined reparameterisations.
           Further reparameterisations can be added using
           `add_reparameterisations`.

       **reverse_order** : bool
           If True the order of the reparameterisations will be reversed compared
           to the default ordering.














   ..
       !! processed by numpydoc !!

   .. py:property:: to_prime_order

      
      Order when converting to the prime space
















      ..
          !! processed by numpydoc !!


   .. py:property:: from_prime_order

      
      Order when converting from the prime space
















      ..
          !! processed by numpydoc !!


   .. py:method:: add_reparameterisation(reparameterisation)

      
      Add a reparameterisation
















      ..
          !! processed by numpydoc !!


   .. py:method:: add_reparameterisations(reparameterisations)

      
      Add multiple reparameterisations


      :Parameters:

          **reparameterisations** : list of :`obj`:Reparameterisation
              List of reparameterisations to add.














      ..
          !! processed by numpydoc !!


   .. py:method:: check_order()

      
      Check the order of the reparameterisations is valid.









      :Raises:

          RuntimeError
              Raised if the order is invalid.







      ..
          !! processed by numpydoc !!


   .. py:method:: reparameterise(x, x_prime, log_j, **kwargs)

      
      Apply the reparameterisation to convert from x-space
      to x'-space


      :Parameters:

          **x** : structured array
              Array

          **x_prime** : structured array
              Array to be update

          **log_j** : array_like
              Log jacobian to be updated














      ..
          !! processed by numpydoc !!


   .. py:method:: inverse_reparameterise(x, x_prime, log_j, **kwargs)

      
      Apply the reparameterisation to convert from x-space
      to x'-space


      :Parameters:

          **x** : structured array
              Array

          **x_prime** : structured array
              Array to be update

          **log_j** : array_like
              Log jacobian to be updated














      ..
          !! processed by numpydoc !!


   .. py:method:: update_bounds(x)

      
      Update the bounds used for the reparameterisation
















      ..
          !! processed by numpydoc !!


   .. py:method:: reset_inversion()

      
      Reset edges for boundary inversion
















      ..
          !! processed by numpydoc !!


   .. py:method:: update(x)

      
      Update the reparameterisations given a set of points.
















      ..
          !! processed by numpydoc !!


   .. py:method:: reset()

      
      Reset the reparameterisations
















      ..
          !! processed by numpydoc !!


   .. py:method:: log_prior(x)

      
      Compute any additional priors for auxiliary parameters
















      ..
          !! processed by numpydoc !!


