BasisCenter

pydantic model qcelemental.models.v2.BasisCenter[source]

Data for a single atom/center in a basis set.

Show JSON schema
{
   "title": "BasisCenter",
   "description": "Data for a single atom/center in a basis set.",
   "type": "object",
   "properties": {
      "electron_shells": {
         "description": "Electronic shells for this center.",
         "items": {
            "$ref": "#/$defs/ElectronShell"
         },
         "minItems": 1,
         "title": "Electron Shells",
         "type": "array",
         "uniqueItems": true
      },
      "ecp_electrons": {
         "default": 0,
         "description": "Number of electrons replaced by ECP, MCP, or other field potentials.",
         "title": "Ecp Electrons",
         "type": "integer"
      },
      "ecp_potentials": {
         "anyOf": [
            {
               "items": {
                  "$ref": "#/$defs/ECPPotential"
               },
               "minItems": 1,
               "type": "array"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "description": "ECPs, MCPs, or other field potentials for this center.",
         "title": "Ecp Potentials",
         "uniqueItems": true
      }
   },
   "$defs": {
      "ECPPotential": {
         "additionalProperties": false,
         "description": "Information for a single ECP potential.",
         "properties": {
            "ecp_type": {
               "$ref": "#/$defs/ECPType"
            },
            "angular_momentum": {
               "description": "Angular momentum for the potential as an array of integers.",
               "items": {
                  "minimum": 0,
                  "type": "integer"
               },
               "minItems": 1,
               "title": "Angular Momentum",
               "type": "array",
               "uniqueItems": true
            },
            "r_exponents": {
               "description": "Exponents of the 'r' term.",
               "items": {
                  "type": "integer"
               },
               "minItems": 1,
               "title": "R Exponents",
               "type": "array"
            },
            "gaussian_exponents": {
               "description": "Exponents of the 'gaussian' term.",
               "items": {
                  "anyOf": [
                     {
                        "type": "number"
                     },
                     {
                        "type": "string"
                     }
                  ]
               },
               "minItems": 1,
               "title": "Gaussian Exponents",
               "type": "array"
            },
            "coefficients": {
               "description": "General contraction coefficients for the potential; individual list components will be the individual segment contraction coefficients.",
               "items": {
                  "items": {
                     "anyOf": [
                        {
                           "type": "number"
                        },
                        {
                           "type": "string"
                        }
                     ]
                  },
                  "type": "array"
               },
               "minItems": 1,
               "title": "Coefficients",
               "type": "array"
            }
         },
         "required": [
            "ecp_type",
            "angular_momentum",
            "r_exponents",
            "gaussian_exponents",
            "coefficients"
         ],
         "title": "ECPPotential",
         "type": "object"
      },
      "ECPType": {
         "description": "The type of the ECP potential.",
         "enum": [
            "scalar",
            "spinorbit"
         ],
         "title": "ECPType",
         "type": "string"
      },
      "ElectronShell": {
         "additionalProperties": false,
         "description": "Information for a single electronic shell.",
         "properties": {
            "angular_momentum": {
               "description": "Angular momentum for the shell as an array of integers.",
               "items": {
                  "minimum": 0,
                  "type": "integer"
               },
               "minItems": 1,
               "title": "Angular Momentum",
               "type": "array",
               "uniqueItems": true
            },
            "harmonic_type": {
               "$ref": "#/$defs/HarmonicType"
            },
            "exponents": {
               "description": "Exponents for the contracted shell.",
               "items": {
                  "anyOf": [
                     {
                        "type": "number"
                     },
                     {
                        "type": "string"
                     }
                  ]
               },
               "minItems": 1,
               "title": "Exponents",
               "type": "array"
            },
            "coefficients": {
               "description": "General contraction coefficients for the shell; individual list components will be the individual segment contraction coefficients.",
               "items": {
                  "items": {
                     "anyOf": [
                        {
                           "type": "number"
                        },
                        {
                           "type": "string"
                        }
                     ]
                  },
                  "type": "array"
               },
               "minItems": 1,
               "title": "Coefficients",
               "type": "array"
            }
         },
         "required": [
            "angular_momentum",
            "harmonic_type",
            "exponents",
            "coefficients"
         ],
         "title": "ElectronShell",
         "type": "object"
      },
      "HarmonicType": {
         "description": "The angular momentum representation of a shell.",
         "enum": [
            "spherical",
            "cartesian"
         ],
         "title": "HarmonicType",
         "type": "string"
      }
   },
   "additionalProperties": false,
   "required": [
      "electron_shells"
   ]
}

Fields:
field ecp_electrons: int = 0

Number of electrons replaced by ECP, MCP, or other field potentials.

field ecp_potentials: List[ECPPotential] | None = None

ECPs, MCPs, or other field potentials for this center.

Constraints:
  • min_length = 1

field electron_shells: List[ElectronShell] [Required]

Electronic shells for this center.

Constraints:
  • min_length = 1