Warning: Trying to access array offset on value of type null in /home/site/wwwroot/lib/plugins/move/action/rename.php on line 42

Warning: Cannot modify header information - headers already sent by (output started at /home/site/wwwroot/lib/plugins/move/action/rename.php:42) in /home/site/wwwroot/inc/actions.php on line 38
insert_peak [topas wiki]

User Tools

Site Tools


insert_peak

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
insert_peak [2025/06/05 07:25] johnsoevansinsert_peak [2025/06/05 08:01] (current) johnsoevans
Line 27: Line 27:
  
 <code topas> <code topas>
-Insert a peak in  data using fit_obj to plot +'Insert a peak in  data using fit_obj to plot 
  macro Insert_Peak_Plot(v0,p1,v1,p2,v2,p3,v3,p4,v4) {  macro Insert_Peak_Plot(v0,p1,v1,p2,v2,p3,v3,p4,v4) {
  #m_argu p1 '2theta  #m_argu p1 '2theta
Line 38: Line 38:
  If_Prm_Eqn_Rpt(p4, v4, min .000000000001 max 1e9)  If_Prm_Eqn_Rpt(p4, v4, min .000000000001 max 1e9)
  fit_obj =  CeV(p4,v4) * ( CeV(p2,v2) * Lorentzian(CeV(p1,v1),CeV(p3,v3)) + (1 - CeV(p2,v2)) *  Gauss(CeV(p1,v1),CeV(p3,v3)) );  fit_obj =  CeV(p4,v4) * ( CeV(p2,v2) * Lorentzian(CeV(p1,v1),CeV(p3,v3)) + (1 - CeV(p2,v2)) *  Gauss(CeV(p1,v1),CeV(p3,v3)) );
- dummy_str space_group P1 phase_name v0+ dummy_str space_group P1 phase_name v0 weight_percent 0
  }  }
 </code> </code>
insert_peak.1749108334.txt.gz · Last modified: 2025/06/05 07:25 by johnsoevans