Skip to content

A Python script to extract spin-orbit coupling (SOC) data from formatted files, outputting transition and SOC values with error handling, dynamic file naming, and optional verbose mode for debugging.

License

Notifications You must be signed in to change notification settings

Dilawars9/soc_data

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

soc_data

SOC Data Extractor

This repository contains a Python script to extract specific spin-orbit coupling (SOC) data from a file with a defined format. The extracted data is saved to a new file, with transition information and SOC values in cm⁻¹.

Features

  • Pattern Matching: Extracts transitions and SOC values based on a custom format.
  • Dynamic Output Naming: Saves output with a filename based on the input file name.
  • Verbose Mode: Optionally displays additional information during execution for debugging.
  • Error Handling: Validates the input file and handles missing files or unmatched patterns.

About

A Python script to extract spin-orbit coupling (SOC) data from formatted files, outputting transition and SOC values with error handling, dynamic file naming, and optional verbose mode for debugging.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages