(self)
return bn_result
This function returns the Betti numbers of the complex.
        :returns: list of int -- The Betti numbers ([B0, B1, ..., Bn]).
        :note: betti_numbers function requires persistence function to be
            launched first.
        :note: betti_numbers function always returns [1, 0, 0, ...] as infinity
            filtration cubes are not removed from the complex.
This function returns the Betti numbers of the complex.
        :returns: list of int -- The Betti numbers ([B0, B1, ..., Bn]).
        :note: betti_numbers function requires persistence function to be
            launched first.
        :note: betti_numbers function always returns [1, 0, 0, ...] as infinity
            filtration cubes are not removed from the complex.
This function returns the Betti numbers of the complex . : returns : list of int -- The Betti numbers ( [ B0 B1 ... Bn ] ) . : note : betti_numbers function requires persistence function to be launched first . : note : betti_numbers function always returns [ 1 0 0 ... ] as infinity filtration cubes are not removed from the complex .
def betti_numbers(self):
        """This function returns the Betti numbers of the complex.
        :returns: list of int -- The Betti numbers ([B0, B1, ..., Bn]).
        :note: betti_numbers function requires persistence function to be
            launched first.
        :note: betti_numbers function always returns [1, 0, 0, ...] as infinity
            filtration cubes are not removed from the complex.
        """
        bn_result = []
        if self.pcohptr is not None:
            bn_result = self.pcohptr.betti_numbers()
        return bn_result
def betti_numbers ( self ) : bn_result = [ ] if self . pcohptr is not None : bn_result = self . pcohptr . betti_numbers ( ) return bn_result