fsapt_analysis¶
- psi4.driver.fsapt_analysis(source, fragments_a, fragments_b, pdb_dir=None, analysis_type='reduced', links5050=True, link_siao=None, print_output=True)[source]¶
Run F-SAPT post-processing from in-memory results or an
fsapt/directory.- Parameters:
source (
Union[str,Wavefunction,AtomicResult]) –Source of data for the analysis. Accepted types are:
str: path to a directory containing F-SAPT output files (for example, the directory written byFISAPT_FSAPT_FILEPATHor the default./fsapt). In this mode,fA.datandfB.datare written to that directory fromfragments_aandfragments_band analysis is run from files (equivalent tofsapt.pystyle processing).Wavefunction: use QCVariables already stored on a wavefunction from a recentenergy('fisapt0', return_wfn=True)call. No output-file parsing is required.qcelemental.models.AtomicResult: use QCVariables extracted from a QCSchema AtomicResult (for example, fromreturn_plan=Trueworkflows).
For
WavefunctionandAtomicResultsources, analysis is performed directly in Python from QCVariables. Forstrsources, analysis is performed from the saved F-SAPT files on disk.fragments_a (
Dict) – Mapping of fragment names to 1-indexed atom lists for subsystem A (same semantics asfA.dat).fragments_b (
Dict) – Mapping of fragment names to 1-indexed atom lists for subsystem B (same semantics asfB.dat).pdb_dir (
Optional[str]) – Optional directory for order-1 visualization files.analysis_type (
str) – Analysis verbosity/type passed through to the F-SAPT analyzer.links5050 (
bool) – Whether to use 50-50 link assignment in link handling.link_siao (
Optional[Dict]) – Optional mapping for explicit SIAO link assignments.print_output (
bool) – Whether to print status/output text during analysis.