:orphan: :py:mod:`cddm._core_nb` ======================= .. py:module:: cddm._core_nb .. autoapi-nested-parse:: Low level numba functions Module Contents --------------- .. py:function:: abs2(x) Absolute square of data .. py:function:: mean(a, b) Man value .. py:function:: choose(a, b) Chooses data randomly .. py:function:: convolve(a, out) Convolves input array with kernel [0.25,0.5,0.25] .. py:function:: interpolate(x_new, x, y, out) Linear interpolation .. py:function:: log_interpolate(x_new, x, y, out=None) Linear interpolation in semilogx space. .. py:function:: median(array, out=None) Performs median filter of complex or float data. .. py:function:: weighted_sum(x, y, weight, out=None) Performs weighted sum of two data sets, given the weight data. Weight must be normalized between 0 and 1. Performs: `x * weight + (1.- weight) * y` .. py:function:: decreasing(array, out) Performs decreasing filter. Each next element must be smaller or equal .. py:function:: increasing(array, out) Performs increasing filter. Each next element must be greater or equal .. py:function:: weight_from_g(g, delta) Computes weight for weighted normalization from normalized and scaled correlation function .. py:function:: weight_prime_from_g(g, delta, b1, b2) Computes weight for weighted normalization from normalized and scaled correlation function .. py:function:: sigma_weighted(w, g, delta) Computes standard deviation of the weighted normalization.