Depriciated I have automated SRIM calculations in this package https://gitlab.com/costrouc/srim-python
version. 0.0.1
A tool for automating many of the tasks that are esential in running srim computations. Detailed information about the software itself can be found at SRIM.org along with intallation instructions. While the program is for old DOS systems it will run on Windows 7 (I do not have Windows 8 thus I cannot test this..). Currently I have SRIM running on Linux using wine. Currently I have yet to run into a bug.
This tool is still under heavy develpment and will change rapidly
This project can be broken into three parts:
- Managing (single|batch) input to Srim for the TRIM calculations and moving output files to appropriate directories
- Parsing output text files from TRIM calculations
- Ploting and Vizualization for the output of TRIM calculations
A simple trim file will be outputted to STDOUT using the command
./processsriminput.py -s
Often times TRIM will quit due to an inproperly formatted input file and gives vauge error messages. Running
./processsriminput.py -v
will check the inputfile if it is improperly formatted
Srim on its own is very intensive in the amount of manual work that it takes to run an application. This module's goal is to automate much of the time being spent to "babysit" the program. Using:
./batchsrim.py -e <exec_path> (-d
| -f )
A user can submit a file or directory (where all *.in file are run). All Output files from the Trim calculation will be moved to
or the root of . Make sure to include the full pathname.The script will automatically resubmit input_files that fail util they complete.
Curently 75% of Trim output is parsed and stored in a dictionary data-structure. This part will be filled in as the output is completely parsed.
Currently this module is not implemented.