class_docstr: Handles creating and initialising DFTEntry objects from the dataset. This object contains information    about the various systems in the datapoint (atoms, molecules and ions) along with the ground truth
  values.
  Notes
  -----
  Entry class should not be initialized directly, but created through
  ``Entry.create``
  
  Example
  -------
  >>> from deepchem.feat.dft_data import DFTEntry
  >>> e_type= 'dm'
  >>> true_val= 'deepchem/data/tests/dftHF_output.npy'
  >>> systems = [{'moldesc': 'H 0.86625 0 0; F -0.86625 0 0','basis': '6-311++G(3df,3pd)'}]
  >>> dm_entry_for_HF = DFTEntry.create(e_type, true_val, systems)
class_docstr_tok: ["Handles","creating","and","initialising","DFTEntry","objects","from","the","dataset",".","This","object","contains","information","about","the","various","systems","in","the","datapoint","(","atoms",",","molecules","and","ions",")","along","with","the","ground","truth","values",".","Notes","--","--","-","Entry","class","should","not","be","initialized","directly",",","but","created","through","``","Entry.create","``","Example","--","--","--","-",">",">",">","from","deepchem.feat.dft_data","import","DFTEntry",">",">",">","e_type=","'dm'",">",">",">","true_val=","'deepchem\/data\/tests\/dftHF_output.npy'",">",">",">","systems","=","[","{","'moldesc","'",":","'","H","0.86625","0","0",";","F","-0.86625","0","0","'",",","'basis","'",":","'","6-311++G","(","3df,3pd",")","'","}","]",">",">",">","dm_entry_for_HF","=","DFTEntry.create","(","e_type",",","true_val",",","systems",")"]
docstr: This method is used to initialise the DFTEntry class. The entry objects are created
  based on their entry type.
  
  Parameters
  ----------
  e_type: str
      Determines the type of calculation to be carried out on the entry
      object. Accepts the following values: "ae", "ie", "dm", "dens", that stand for atomization energy,
      ionization energy, density matrix and density profile respectively.
  true_val: str
      Ground state energy values for the entry object as a string (for ae
      and ie), or a .npy file containing a matrix ( for dm and dens).
  systems: List[Dict]
      List of dictionaries contains "moldesc", "basis" and "spin"
      of all the atoms/molecules. These values are to be entered in
      the DQC or PYSCF format. The systems needs to be entered in a
      specific order, i.e ; the main atom/molecule needs to be the
      first element. (This is for objects containing equations, such
      as ae and ie entry objects). Spin and charge of the system are
      optional parameters and are considered '0' if not specified.
      The system number refers to the number of times the systems is
      present in the molecule - this is for polyatomic molecules and the
      default value is 1. For example ; system number of Hydrogen in water
      is 2.
  weight: int
      Weight of the entry object.
  Returns
  -------
  DFTEntry object based on entry type
docstr_tok: ["This","method","is","used","to","initialise","the","DFTEntry","class",".","The","entry","objects","are","created","based","on","their","entry","type",".","Parameters","--","--","--","--","--","e_type",":","str","Determines","the","type","of","calculation","to","be","carried","out","on","the","entry","object",".","Accepts","the","following","values",":","``","ae","''",",","``","ie","''",",","``","dm","''",",","``","dens","''",",","that","stand","for","atomization","energy",",","ionization","energy",",","density","matrix","and","density","profile","respectively",".","true_val",":","str","Ground","state","energy","values","for","the","entry","object","as","a","string","(","for","ae","and","ie",")",",","or","a",".npy","file","containing","a","matrix","(","for","dm","and","dens",")",".","systems",":","List","[","Dict","]","List","of","dictionaries","contains","``","moldesc","''",",","``","basis","''","and","``","spin","''","of","all","the","atoms\/molecules",".","These","values","are","to","be","entered","in","the","DQC","or","PYSCF","format",".","The","systems","needs","to","be","entered","in","a","specific","order",",","i.e",";","the","main","atom\/molecule","needs","to","be","the","first","element",".","(","This","is","for","objects","containing","equations",",","such","as","ae","and","ie","entry","objects",")",".","Spin","and","charge","of","the","system","are","optional","parameters","and","are","considered","'","0","'","if","not","specified",".","The","system","number","refers","to","the","number","of","times","the","systems","is","present","in","the","molecule","-","this","is","for","polyatomic","molecules","and","the","default","value","is","1",".","For","example",";","system","number","of","Hydrogen","in","water","is","2.","weight",":","int","Weight","of","the","entry","object",".","Returns","--","--","--","-","DFTEntry","object","based","on","entry","type"]
code: def create(
      self,
      e_type: str,
      true_val: Optional[str],
      systems: List[Dict],
      weight: Optional[int] = 1,
  ):
      """
      This method is used to initialise the DFTEntry class. The entry objects are created
      based on their entry type.
  
      Parameters
      ----------
      e_type: str
          Determines the type of calculation to be carried out on the entry
          object. Accepts the following values: "ae", "ie", "dm", "dens", that stand for atomization energy,
          ionization energy, density matrix and density profile respectively.
      true_val: str
          Ground state energy values for the entry object as a string (for ae
          and ie), or a .npy file containing a matrix ( for dm and dens).
      systems: List[Dict]
          List of dictionaries contains "moldesc", "basis" and "spin"
          of all the atoms/molecules. These values are to be entered in
          the DQC or PYSCF format. The systems needs to be entered in a
          specific order, i.e ; the main atom/molecule needs to be the
          first element. (This is for objects containing equations, such
          as ae and ie entry objects). Spin and charge of the system are
          optional parameters and are considered '0' if not specified.
          The system number refers to the number of times the systems is
          present in the molecule - this is for polyatomic molecules and the
          default value is 1. For example ; system number of Hydrogen in water
          is 2.
      weight: int
          Weight of the entry object.
      Returns
      -------
      DFTEntry object based on entry type
  
      """
      if true_val is None:
          true_val = "0.0"
      if e_type == "ae":
          return _EntryAE(e_type, true_val, systems, weight)
      elif e_type == "ie":
          return _EntryIE(e_type, true_val, systems, weight)
      elif e_type == "dm":
          return _EntryDM(e_type, true_val, systems, weight)
      elif e_type == "dens":
          return _EntryDens(e_type, true_val, systems, weight)
      else:
          raise NotImplementedError("Unknown entry type: %s" % e_type)
  
imports: from __future__ import annotations
  from abc import abstractmethod, abstractproperty
  from typing import List, Dict, Optional
  import numpy
  from dqc.system.mol import Mol
  from dqc.system.base_system import BaseSystem
  from deepchem.utils.dftutils import KSCalc
  from deepchem.utils.dft_utils import parse_moldesc, BaseGrid
label_desc: Use image node_id 1 for calling the DFTEntry obj's underlying member method code with example usage: obj.create(e_type, true_val, systems, weight) and returns: _EntryAE, _EntryIE, _EntryDM, _EntryDens