def blockCost_point(self, imin, imax):
    (f, sig, weights) = self._point_block_data(imin, imax)
    sigx2 = (sum((weights * (f ** 2))) - (sum((weights * f)) ** 2))
    return (((- sigx2) / 2) * sum((1.0 / (sig ** 2))))
def blockCost_point(self, imin, imax):
    (f, sig, weights) = self._point_block_data(imin, imax)
    sigx2 = (sum((weights * (f ** 2))) - (sum((weights * f)) ** 2))
    return (((- sigx2) / 2) * sum((1.0 / (sig ** 2))))