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.4.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.4-py3-none-any.whl (205.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: srimutil_ccoverstreet-0.0.4.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.4.tar.gz
Algorithm Hash digest
SHA256 973f42defb5ba8061de07706de23364b478fe0ee332e0c22622ebe9a4f7aab60
MD5 0711aed44c70801fd15110acdca6538a
BLAKE2b-256 af1dc8d7eca091d88f349bbad81c2b170f09305e08f8c7c7b3f9b808ffd9d79d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for srimutil_ccoverstreet-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 a15d5f9a603eab74ecd26372f747bb6bb7cff0bdd06bd8299107aa04f1f14ae4
MD5 ecb7f6eae8b3539bfdb95b83fa7b9932
BLAKE2b-256 ed0513bdf5b03baeb9ec7d4eaba4bc4a74359ab5906dd75c974bbc15a03cfcf5

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