pytc.fno.FNOResult¶
- class pytc.fno.FNOResult(mf, mo_coeff, mo_occ, mo_energy, nocc, n_keep, nvir_full, no_occ, kept_mask, extras=<factory>)[source]¶
Bases:
objectOutcome of an MP2-natural-orbital truncation.
- Parameters:
mf (object)
mo_coeff (numpy.ndarray)
mo_occ (numpy.ndarray)
mo_energy (numpy.ndarray)
nocc (int)
n_keep (int)
nvir_full (int)
no_occ (numpy.ndarray)
kept_mask (numpy.ndarray)
extras (dict)
- mf¶
shallow copy of the input mean-field with
mo_coeff/mo_occ/mo_energyreplaced by the truncated natural-orbital set. Drop-in forISDFXTC.from_pyscfandsolver.xtc_ccsd.RCCSD.- Type:
object
- mo_coeff¶
(n_ao, nocc + n_keep)truncated MO coefficients[occupied | kept-semicanonical-virtuals].- Type:
numpy.ndarray
- mo_occ¶
(nocc + n_keep,)occupation numbers (occupieds keep their input occupations; kept virtuals are 0).- Type:
numpy.ndarray
- mo_energy¶
(nocc + n_keep,)orbital energies in the semicanonical basis (occupieds untouched; kept virtuals are the eigenvalues of the in-block Fock).- Type:
numpy.ndarray
- nocc¶
number of occupied orbitals (read from
mf.mo_occ).- Type:
int
- n_keep¶
number of virtuals retained.
- Type:
int
- nvir_full¶
number of virtuals in the full MO space.
- Type:
int
- no_occ¶
MP2 natural-orbital occupations of all virtuals, sorted most-important-first (descending). Use this to pick
occ_thresholdvalues when scanning.- Type:
numpy.ndarray
- kept_mask¶
boolean mask of length
nvir_fullover the descending-occupation virtual NOs, True for retained.- Type:
numpy.ndarray
Methods
__delattr__Implement delattr(self, name).
__dir__Default dir() implementation.
__eq__Return self==value.
__format__Default object formatter.
__ge__Return self>=value.
__getattribute__Return getattr(self, name).
__getstate__Helper for pickle.
__gt__Return self>value.
__init____init_subclass__This method is called when a class is subclassed.
__le__Return self<=value.
__lt__Return self<value.
__ne__Return self!=value.
__new____reduce__Helper for pickle.
__reduce_ex__Helper for pickle.
__repr__Return repr(self).
__setattr__Implement setattr(self, name, value).
__sizeof__Size of object in memory, in bytes.
__str__Return str(self).
__subclasshook__Abstract classes can override this to customize issubclass().
Attributes
__annotations____dataclass_fields____dataclass_params____dict____doc____hash____match_args____module____weakref__list of weak references to the object
- mf: object¶
- mo_coeff: numpy.ndarray¶
- mo_occ: numpy.ndarray¶
- mo_energy: numpy.ndarray¶
- nocc: int¶
- n_keep: int¶
- nvir_full: int¶
- no_occ: numpy.ndarray¶
- kept_mask: numpy.ndarray¶
- extras: dict¶