(self, homology_coeff_field=11, min_persistence=0,
                    persistence_dim_max=False)
return persistence_result
Return the persistence of the simplicial complex.
        :param homology_coeff_field: The homology coefficient field. Must be a
            prime number. Default value is 11.
        :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.
        :param persistence_dim_max: If true, the persistent homology for the
            maximal dimension in the complex is computed. If false, it is
            ignored. Default is false.
        :type persistence_dim_max: bool
        :returns: The persistence of the simplicial complex.
        :rtype:  list of pairs(dimension, pair(birth, death))
Return the persistence of the simplicial complex.
        :param homology_coeff_field: The homology coefficient field. Must be a
            prime number. Default value is 11.
        :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.
        :param persistence_dim_max: If true, the persistent homology for the
            maximal dimension in the complex is computed. If false, it is
            ignored. Default is false.
        :type persistence_dim_max: bool
        :returns: The persistence of the simplicial complex.
        :rtype:  list of pairs(dimension, pair(birth, death))
Return the persistence of the simplicial complex . : param homology_coeff_field : The homology coefficient field . Must be a prime number . Default value is 11 . : 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 . : param persistence_dim_max : If true the persistent homology for the maximal dimension in the complex is computed . If false it is ignored . Default is false . : type persistence_dim_max : bool : returns : The persistence of the simplicial complex . : rtype : list of pairs ( dimension pair ( birth death ))
def persistence(self, homology_coeff_field=11, min_persistence=0,
                    persistence_dim_max=False):
        """Return the persistence of the simplicial complex.
        :param homology_coeff_field: The homology coefficient field. Must be a
            prime number. Default value is 11.
        :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.
        :param persistence_dim_max: If true, the persistent homology for the
            maximal dimension in the complex is computed. If false, it is
            ignored. Default is false.
        :type persistence_dim_max: bool
        :returns: The persistence of the simplicial complex.
        :rtype:  list of pairs(dimension, pair(birth, death))
        """
        if self.pcohptr is not None:
            del self.pcohptr
        self.pcohptr = Simplex_tree_persistence_interface(self.thisptr,
                                                          persistence_dim_max)
        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 , persistence_dim_max = False ) : if self . pcohptr is not None : del self . pcohptr self . pcohptr = Simplex_tree_persistence_interface ( self . thisptr , persistence_dim_max ) 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