gwpopulation_pipe.data_collection.aligned_spin_prior

aligned_spin_prior(spin)[source]

The standard prior for aligned spin assuming the spin prior extends to maximal.

\[p(\chi) = \frac{1}{2} \log(|\chi|)\]
Parameters:
spin: array_like

The aligned spin values to evaluate the prior for.

Returns:
prior: array_like

The prior evaluated at the input spin.