./
electron_range.pro
topelectron_range
physics
result = electron_range( [material])
idl code to contain electron rages in different materials
only Ta and Al so far, more can be added from http://physics.nist.gov/PhysRefData/Star/Text/ESTAR.html
Return value
structure of range parameters of the form: IDL> help, dat, /str ** Structure <19c2208>, 8 tags, length=2288, data length=2284, refs=1: KE FLOAT Array[81] COLL_STP_PWR FLOAT Array[81] RAD_STP_PWR FLOAT Array[81] TOT_STP_PWR FLOAT Array[81] CSDA_RANGE FLOAT Array[81] RAD_YEILD FLOAT Array[81] D_EFF_PARAM FLOAT Array[81] MATERIAL STRING 'TA'
Parameters
- material in optional
2 letter code of the material to return ranges - default Al (only Al and Ta so far)
Examples
data=electron_ranges('Ta')
plot, data.ke,data.csda_range,/xlog,/ylog
Author information
- History:
Thu Nov 20 14:19:19 2008, Brian Larsen written and tested
Statistics
| Lines: | 204 |
| McCabe complexity: |
File attributes
| Modifcation date: | Mon Feb 2 13:22:57 2009 |
| Lines: | 251 |
![[attach.png]](idldoc-resources/attach.png)