Home‎ > ‎

FORTRAN, BASIC, and C Programs for Microscopy

C-language versions of the smart-fit programs for ionization-edge background subtraction:

C source code for Afit (least-squares fit to regions just before and far beyond the ionization edge)
.jpg image showing operation of Afit C-version
C source code for Bfitn (up to 30 iterations, depending on convergence criterion - the user should typically specify 1%)
.jpg image showing operation of Bfitn C-version

FORTRAN programs:

Instructions for running SIGMAK and SIGMAL

SIGMAK3 : K-shell ionization cross sections calculated using a hydrogenic model with K-shell screening constant s = 0.50 [see Ultramicroscopy 63 (1996) 11-13] source code

PC-executable version of SIGMAK3

SIGMAL3 : L-shell ionization cross sections calculated using a modified hydrogenic model for Z < 37 [see Electron Energy-Loss Spectroscopy in the Electron Microscope, 2nd edition, p.423] source code

PC-executable version of SIGMAL3

SIGPAR : K, L23, M23, M45, N45 and O45 ionization cross sections for dipole conditions (limited collection angle) based on parametrized literature data for the most easily observable edges [Ultramicroscopy 50 (1993) 13-28]

PC-executable version of SIGPAR
K-shell data required for SIGPAR
L-shell data for SIGPAR
M23 data for SIGPAR
M45-shell data for SIGPAR
M23-shell data for SIGPAR
N45 and O45 data for SIGPAR

KRAKRO : Kramers-Kronig analysis of the low-loss spectrum (and thickness measurement) with allowance for surface-mode losses [see Electron Energy-Loss Spectroscopy in the Electron Microscope, 2nd edition, p.414] source code

PC-executable version of KRAKRO

FLOG : Fourier-log deconvolution to remove plural scattering from an energy-loss spectrum (including zero-loss peak) and (limited) peak sharpening [see Electron Energy-Loss Spectroscopy in the Electron Microscope, 2nd edition, p.410] source code

PC-executable version of FLOG

FRAT : Fourier-ratio deconvolution to remove plural scattering from a background-subtracted core-loss region, using the low-loss spectrum (including zero-loss peak) as a resolution function [see Electron Energy-Loss Spectroscopy in the Electron Microscope, 2nd edition, p.417] source code

SPECGEN : Program for simulating a low-loss spectrum with plural scattering but Gaussian-shaped energy-loss peaks, with adjustable peak energy, peak width, spectrum background and noise content [see Electron Energy-Loss Spectroscopy in the Electron Microscope, 2nd edition, p.409] source code

PC-executable version of SPECGEN

Microsoft QBASIC programs:

LENZPLUS: Lenz atomic model elastic and inelastic cross sections
SIGDISMS: Relativistic cross sections for exit-surface sputtering by electrons
ċ
afit.c
(4k)
TEM EELS,
Aug 16, 2016, 3:47 PM
ą
afit.jpg
(37k)
TEM EELS,
Aug 16, 2016, 3:47 PM
ċ
bfit-n.c
(8k)
TEM EELS,
Aug 16, 2016, 3:47 PM
ą
TEM EELS,
Aug 16, 2016, 3:47 PM
ċ
fk.dat.txt
(1k)
TEM EELS,
Aug 16, 2016, 3:47 PM
ċ
flog.for
(8k)
TEM EELS,
Aug 16, 2016, 3:47 PM
ċ
fm23.dat.txt
(0k)
TEM EELS,
Aug 16, 2016, 3:47 PM
ċ
fm45.dat.txt
(2k)
TEM EELS,
Aug 16, 2016, 3:47 PM
ċ
frat.for
(9k)
TEM EELS,
Aug 16, 2016, 3:48 PM
ċ
krakro.for
(4k)
TEM EELS,
Aug 16, 2016, 3:48 PM
ċ
sigmak3.for
(3k)
TEM EELS,
Aug 16, 2016, 3:48 PM
ċ
sigmal3.for
(8k)
TEM EELS,
Aug 16, 2016, 3:48 PM
ċ
specgen.for
(2k)
TEM EELS,
Aug 16, 2016, 3:48 PM