insert_peak
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
insert_peak [2009/09/25 08:20] – created johnsoevans | insert_peak [2022/11/03 15:08] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Insert_Peak ====== | ||
+ | A single line macro to add a peak to a Rietveld fit. | ||
+ | |||
+ | Insert_Peak(twotheta, | ||
+ | |||
+ | <code topas> | ||
+ | '' | ||
+ | '' | ||
+ | '' | ||
+ | '' | ||
+ | |||
+ | macro Insert_Peak(p1, | ||
+ | #m_argu p1 '' | ||
+ | #m_argu p2 '' | ||
+ | #m_argu p3 '' | ||
+ | #m_argu p4 '' | ||
+ | If_Prm_Eqn_Rpt(p1, | ||
+ | If_Prm_Eqn_Rpt(p2, | ||
+ | If_Prm_Eqn_Rpt(p3, | ||
+ | If_Prm_Eqn_Rpt(p4, | ||
+ | xo_Is xo =CeV(p1, | ||
+ | } | ||
+ | </ |