Skip to main content

Python wrapper and GUI for running SRIM calculations

Project description

CCO Srim Utility

This utility provides a python package and GUI for interfacing with SRIM and is used to convert the output of SRIM into an energy loss vs. depth format with sensible units. The GUI can post-process SRIM files with different packing fractions from already run SRIM results and directly run SRIM using the embedded SR Module.

Installing

  • Python
    • python -m pip install srimutil_ccoverstreet
    • Or in developer mode
      git clone https://github.com/ccoverstreet/CCOSRIMUtil
      cd CCOSRIMUtil
      python -m pip install -e .
      
  • Download Windows executable

Standalone GUI mode

  • Python
    • python -m srimutil_ccoverstreet
  • Or Windows exe
  • SR Module setup known to work on Linux and Windows, unsure about Mac (would need wine)

Normal SRIM Calculation

  1. Open SRIM
  2. Go to Stopping/Range Tables
  3. For the Ion section, choose appropriate ion species and change the highest energy to that of the desired ion beam (ex. 950 MeV Au for M-Branch GSI)
  4. Create composition
    • Important: Make sure to keep at least 1 character AT ALL TIMES in any numeric field in SRIM. If a numeric field is ever empty, it will crash the program.
  5. Enter correct density
    • Usually can find this info from ICSD or an approximation using Vegard's law
    • New Feature: This SRIM utility now recalculates depth and energy loss based on a user provided value which means the value entered into SRIM is less important/can be ignored.
  6. Set stopping power units to MeV/(mg/cm^2)
  7. Press Calculate Table
  8. You should see a popup asking about output location. Press ok on this window to continue to the SRIM output
  9. You should now see a window containing text with the stopping information. Copy all the text from this window into a text file.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

srimutil_ccoverstreet-0.0.3.tar.gz (206.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

srimutil_ccoverstreet-0.0.3-py3-none-any.whl (205.0 kB view details)

Uploaded Python 3

File details

Details for the file srimutil_ccoverstreet-0.0.3.tar.gz.

File metadata

  • Download URL: srimutil_ccoverstreet-0.0.3.tar.gz
  • Upload date:
  • Size: 206.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for srimutil_ccoverstreet-0.0.3.tar.gz
Algorithm Hash digest
SHA256 1808e2dc2a45cd71de768c1fbc407398b83a144d971a68aeb2a7259ddd67bcae
MD5 fee1aa15d853527ddd322e81570da219
BLAKE2b-256 8d92826cebf6a900f9b08fbc43ec3731863528587b3ab4265d437a3bb8344bf2

See more details on using hashes here.

File details

Details for the file srimutil_ccoverstreet-0.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for srimutil_ccoverstreet-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 8802b71bf193e82e66c4e0c19fa8c9d22551a821aae880de0e7879d9f6e35b4a
MD5 c176391bfb2cddfff831173e9444f51e
BLAKE2b-256 a7fa3b64d9a4179711cb98267ff2bc9f523093d9c9f342a2dfaa654a40429abe

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page