chemparseplot

chemparseplot

Quick search

Links

  • Github
  • Personal

Contents

Getting Started

  • Quickstart
  • Installation
  • Features

Guides

  • Tutorial Introduction

Reference

  • API Reference
    • chemparseplot
  • Used By
  • Overview
  • One-shot multi-plot
  • Interactive plots

Page Contents

  • chemparseplot.parse.eon.saddle_search
    • Module Contents
      • Classes
      • Functions
      • Data
      • API
        • log
        • EONSaddleStatus
          • EONSaddleStatus.GOOD
          • EONSaddleStatus.INIT
          • EONSaddleStatus.BAD_NO_CONVEX
          • EONSaddleStatus.BAD_HIGH_ENERGY
          • EONSaddleStatus.BAD_MAX_CONCAVE_ITERATIONS
          • EONSaddleStatus.BAD_MAX_ITERATIONS
          • EONSaddleStatus.BAD_NOT_CONNECTED
          • EONSaddleStatus.BAD_PREFACTOR
          • EONSaddleStatus.BAD_HIGH_BARRIER
          • EONSaddleStatus.BAD_MINIMA
          • EONSaddleStatus.FAILED_PREFACTOR
          • EONSaddleStatus.POTENTIAL_FAILED
          • EONSaddleStatus.NONNEGATIVE_ABORT
          • EONSaddleStatus.NONLOCAL_ABORT
          • EONSaddleStatus.NEGATIVE_BARRIER
          • EONSaddleStatus.BAD_MD_TRAJECTORY_TOO_SHORT
          • EONSaddleStatus.BAD_NO_NEGATIVE_MODE_AT_SADDLE
          • EONSaddleStatus.BAD_NO_BARRIER
          • EONSaddleStatus.ZEROMODE_ABORT
          • EONSaddleStatus.OPTIMIZER_ERROR
          • EONSaddleStatus.UNKNOWN
          • EONSaddleStatus.__new__()
          • EONSaddleStatus.from_value()
        • extract_saddle_gprd()
        • _read_results_dat()
        • _find_log_file()
        • _extract_total_time()
        • _extract_initial_energy()
        • _extract_saddle_info()
        • _get_methods()
        • parse_eon_saddle()

Reading Mode

Index » API Reference » chemparseplot » chemparseplot.parse » chemparseplot.parse.eon » chemparseplot.parse.eon.saddle_search

chemparseplot.parse.eon.saddle_search¶

Module Contents¶

Classes¶

EONSaddleStatus

Status codes returned by eOn saddle point searches.

Functions¶

extract_saddle_gprd

Extract saddle point geometry from GPRD log lines.

_read_results_dat

Reads and parses the results.dat file.

_find_log_file

Finds the most recent, valid log file within the eOn results directory.

_extract_total_time

Extracts the total run time from the log data.

_extract_initial_energy

Extracts the initial energy from the log data.

_extract_saddle_info

Extracts saddle point information (saddle_fmax and method) from the log data.

_get_methods

parse_eon_saddle

Parses eOn saddle point search results from a directory.

Data¶

log

API¶

chemparseplot.parse.eon.saddle_search.log¶

‘getLogger(…)’

class chemparseplot.parse.eon.saddle_search.EONSaddleStatus(*args, **kwds)¶

Bases: enum.Enum

Status codes returned by eOn saddle point searches.

Added in version 0.0.3.

Initialization

GOOD¶

(0, ‘Success’)

INIT¶

(1, ‘Initial’)

BAD_NO_CONVEX¶

(2, ‘Initial displacement unable to reach convex region’)

BAD_HIGH_ENERGY¶

(3, ‘Barrier too high’)

BAD_MAX_CONCAVE_ITERATIONS¶

(4, ‘Too many iterations in concave region’)

BAD_MAX_ITERATIONS¶

(5, ‘Too many iterations’)

BAD_NOT_CONNECTED¶

(6, ‘Saddle is not connected to initial state’)

BAD_PREFACTOR¶

(7, ‘Prefactors not within window’)

BAD_HIGH_BARRIER¶

(8, ‘Energy barrier not within window’)

BAD_MINIMA¶

(9, ‘Minimizations from saddle did not converge’)

FAILED_PREFACTOR¶

(10, ‘Hessian calculation failed’)

POTENTIAL_FAILED¶

(11, ‘Potential failed’)

NONNEGATIVE_ABORT¶

(12, ‘Nonnegative initial mode, aborting’)

NONLOCAL_ABORT¶

(13, ‘Nonlocal abort’)

NEGATIVE_BARRIER¶

(14, ‘Negative barrier detected’)

BAD_MD_TRAJECTORY_TOO_SHORT¶

(15, ‘No reaction found during MD trajectory’)

BAD_NO_NEGATIVE_MODE_AT_SADDLE¶

(16, ‘Converged to stationary point with zero negative modes’)

BAD_NO_BARRIER¶

(17, ‘No forward barrier was found along minimized band’)

ZEROMODE_ABORT¶

(18, ‘Zero mode abort.’)

OPTIMIZER_ERROR¶

(19, ‘Optimizer error.’)

UNKNOWN¶

()

__new__(value, description)¶
classmethod from_value(value)¶
chemparseplot.parse.eon.saddle_search.extract_saddle_gprd(log: list[str])¶

Extract saddle point geometry from GPRD log lines.

Added in version 0.0.3.

chemparseplot.parse.eon.saddle_search._read_results_dat(eresp: pathlib.Path) → dict¶

Reads and parses the results.dat file.

Args: eresp: Path to the eOn results directory.

Returns: A dictionary containing the parsed data from results.dat, or None if the file does not exist or the termination reason is not 0.

chemparseplot.parse.eon.saddle_search._find_log_file(eresp: pathlib.Path) → pathlib.Path | None¶

Finds the most recent, valid log file within the eOn results directory.

Args: eresp: Path to the eOn results directory.

Returns: Path to the chosen log file, or None if no suitable log file is found.

chemparseplot.parse.eon.saddle_search._extract_total_time(log_data: list[str]) → float¶

Extracts the total run time from the log data.

Args: log_data: A list of strings representing the lines of the log file.

Returns: The total run time in seconds as a float, or 0.0 if not found.

chemparseplot.parse.eon.saddle_search._extract_initial_energy(log_data: list[str]) → float¶

Extracts the initial energy from the log data.

Args: log_data: A list of strings representing the lines of the log file.

Returns: The initial energy as a float, or None if not found.

chemparseplot.parse.eon.saddle_search._extract_saddle_info(log_data: list[str], eresp: pathlib.Path, *, is_gprd: bool) → tuple[float, str]¶

Extracts saddle point information (saddle_fmax and method) from the log data.

Args: log_data: A list of strings representing the lines of the log file. eresp: Path to the eOn results directory. is_gprd: Boolean flag indicating whether the GPRD method was used.

Returns: A tuple containing: - saddle_fmax: The maximum force at the saddle point.

chemparseplot.parse.eon.saddle_search._get_methods(eresp: pathlib.Path) → rgpycrumbs.basetypes.DimerOpt¶
chemparseplot.parse.eon.saddle_search.parse_eon_saddle(eresp: pathlib.Path, rloc: rgpycrumbs.basetypes.SpinID) → rgpycrumbs.basetypes.SaddleMeasure¶

Parses eOn saddle point search results from a directory.

Added in version 0.0.3.

Args: eresp: Path to the directory containing eOn results. rloc: A SpinID object.

Returns: A SaddleMeasure object.

← chemparseplot.parse.eon.min_trajectory chemparseplot.parse.eon.neb →
© Copyright 2023-2026, Rohit Goswami. Created using Sphinx with Library theme.
Analytics by Umami provided by TurtleTech ehf