def __init__(self, chgcar):
        """
        Initialization.

        Args:
            chgcar (pmg.Chgcar): input Chgcar object.
        """
        self.chgcar = chgcar
        self.structure = chgcar.structure
        self.extrema_coords = []  # list of frac_coords of local extrema
        self.extrema_type = None  # "local maxima" or "local minima"
        self._extrema_df = None  # extrema frac_coords - chg density table
        self._charge_distribution_df = None
def __init__ ( self , chgcar ) : self . chgcar = chgcar self . structure = chgcar . structure self . extrema_coords = [ ] self . extrema_type = None self . _extrema_df = None self . _charge_distribution_df = None
Initialization.

        Args:
            chgcar (pmg.Chgcar): input Chgcar object.