class_docstr: Container for a digitization point.
  
  This is a simple subclass of the standard dict type designed to provide
  a readable string representation.
  
  Parameters
  ----------
  kind : int
      The kind of channel,
      e.g. ``FIFFV_POINT_EEG``, ``FIFFV_POINT_CARDINAL``.
  r : array, shape (3,)
      3D position in m. and coord_frame.
  ident : int
      Number specifying the identity of the point.
      e.g.  ``FIFFV_POINT_NASION`` if kind is ``FIFFV_POINT_CARDINAL``,
      or 42 if kind is ``FIFFV_POINT_EEG``.
  coord_frame : int
      The coordinate frame used, e.g. ``FIFFV_COORD_HEAD``.
class_docstr_tok: ["Container","for","a","digitization","point",".","This","is","a","simple","subclass","of","the","standard","dict","type","designed","to","provide","a","readable","string","representation",".","Parameters","--","--","--","--","--","kind",":","int","The","kind","of","channel",",","e.g",".","``","FIFFV_POINT_EEG","``",",","``","FIFFV_POINT_CARDINAL","``",".","r",":","array",",","shape","(","3",",",")","3D","position","in","m.","and","coord_frame",".","ident",":","int","Number","specifying","the","identity","of","the","point",".","e.g",".","``","FIFFV_POINT_NASION","``","if","kind","is","``","FIFFV_POINT_CARDINAL","``",",","or","42","if","kind","is","``","FIFFV_POINT_EEG","``",".","coord_frame",":","int","The","coordinate","frame","used",",","e.g",".","``","FIFFV_COORD_HEAD","``","."]
docstr: Compare two DigPoints.
  
  Two digpoints are equal if they are the same kind, share the same
  coordinate frame and position.
docstr_tok: ["Compare","two","DigPoints",".","Two","digpoints","are","equal","if","they","are","the","same","kind",",","share","the","same","coordinate","frame","and","position","."]
code: def __eq__(self, other):  # noqa: D105
      """Compare two DigPoints.
  
      Two digpoints are equal if they are the same kind, share the same
      coordinate frame and position.
      """
      my_keys = ["kind", "ident", "coord_frame"]
      if set(self.keys()) != set(other.keys()):
          return False
      elif any(self[_] != other[_] for _ in my_keys):
          return False
      else:
          return np.allclose(self["r"], other["r"])
  
imports: import heapq
  from collections import Counter
  import numpy
  from ..utils import Bunch, _check_fname, _validate_type, logger, verbose, warn
  from .constants import FIFF, _coord_frame_named
  from .tag import read_tag
  from .tree import dir_tree_find
  from .write import start_and_end_file, write_dig_points
label_desc: Use image node_id 3 for calling the DigPoint obj's underlying member method code with example usage: obj.__eq__(other) and returns: False, False, np