(self, homology_coeff_field=11, min_persistence=0)
return persistence_result
This function returns the persistence of the complex.
        :param homology_coeff_field: The homology coefficient field. Must be a
            prime number
        :type homology_coeff_field: int.
        :param min_persistence: The minimum persistence value to take into
            account (strictly greater than min_persistence). Default value is
            0.0.
            Sets min_persistence to -1.0 to see all values.
        :type min_persistence: float.
        :returns: list of pairs(dimension, pair(birth, death)) -- the
            persistence of the complex.
This function returns the persistence of the complex.
        :param homology_coeff_field: The homology coefficient field. Must be a
            prime number
        :type homology_coeff_field: int.
        :param min_persistence: The minimum persistence value to take into
            account (strictly greater than min_persistence). Default value is
            0.0.
            Sets min_persistence to -1.0 to see all values.
        :type min_persistence: float.
        :returns: list of pairs(dimension, pair(birth, death)) -- the
            persistence of the complex.
This function returns the persistence of the complex . : param homology_coeff_field : The homology coefficient field . Must be a prime number : type homology_coeff_field : int . : param min_persistence : The minimum persistence value to take into account ( strictly greater than min_persistence ) . Default value is 0 . 0 . Sets min_persistence to - 1 . 0 to see all values . : type min_persistence : float . : returns : list of pairs ( dimension pair ( birth death )) -- the persistence of the complex .
def persistence(self, homology_coeff_field=11, min_persistence=0):
        """This function returns the persistence of the complex.
        :param homology_coeff_field: The homology coefficient field. Must be a
            prime number
        :type homology_coeff_field: int.
        :param min_persistence: The minimum persistence value to take into
            account (strictly greater than min_persistence). Default value is
            0.0.
            Sets min_persistence to -1.0 to see all values.
        :type min_persistence: float.
        :returns: list of pairs(dimension, pair(birth, death)) -- the
            persistence of the complex.
        """
        if self.pcohptr is not None:
            del self.pcohptr
        if self.thisptr is not None:
            self.pcohptr = \
                Periodic_cubical_complex_persistence_interface(self.thisptr,
                                                               True)
        persistence_result = []
        if self.pcohptr is not None:
            self.pcohptr.compute_persistence(homology_coeff_field,
                                             min_persistence)
            persistence_result = self.pcohptr.get_persistence()
        return persistence_result
def persistence ( self , homology_coeff_field = 11 , min_persistence = 0 ) : if self . pcohptr is not None : del self . pcohptr if self . thisptr is not None : self . pcohptr = Periodic_cubical_complex_persistence_interface ( self . thisptr , True ) persistence_result = [ ] if self . pcohptr is not None : self . pcohptr . compute_persistence ( homology_coeff_field , min_persistence ) persistence_result = self . pcohptr . get_persistence ( ) return persistence_result