insert_peak_hkl
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| insert_peak_hkl [2024/06/21 09:20] – created johnsoevans | insert_peak_hkl [2025/09/19 15:18] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | Insert a peak fixed by hkl | + | ====== |
| - | The macro below lets you insert freely-refined peaks at values determined by h,k,l of a specified unit cell. It's only written for orthorhombic, | + | The macro below lets you insert freely-refined peaks at values determined by h,k,l of a specified unit cell. It's only written for orthorhombic, |
| <code topas> | <code topas> | ||
| - | macro Lynne_peak(& h,& k,& l,& m,& intideal, | + | xdd .... |
| + | prm lpap 10.598 | ||
| + | prm lpbp 10.598 | ||
| + | prm lpcp 10.598 | ||
| + | prm lor 0.984351773`_0.00788793893 min 0 max 1 'use a single overall lorentzian mixing, you could do this per peak | ||
| + | prm !penweight 1 ' | ||
| + | prm !fwhm_max 0.8 'use this to reset fwhm if needed | ||
| + | |||
| + | Peak_hkl( | ||
| + | Peak_hkl( | ||
| + | |||
| + | </ | ||
| + | |||
| + | <code topas> | ||
| + | macro Peak_hkl(& h,& k,& l,& m,& intideal, | ||
| 'read in h,k,l,m, ideal intensity from Rietveld fit | 'read in h,k,l,m, ideal intensity from Rietveld fit | ||
| 'fit a peak with refinable fwhm and intensity | 'fit a peak with refinable fwhm and intensity | ||
insert_peak_hkl.1718961630.txt.gz · Last modified: 2025/09/19 15:11 (external edit)