Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
macros [2018/07/08 10:58]
johnsoevans
macros [2018/12/07 13:59] (current)
johnsoevans
Line 3: Line 3:
 The links in the table are to different macros that users have contributed (most are taken from the collection at [[http://​www.dur.ac.uk/​john.evans/​topas_academic/​macros.inc]]). ​ Please feel free to add your own macros. ​ Follow the format of one of the pages already created (or look at [[how_to_contribute#​formatting_macros]]). ​ Please add enough documentation that others can follow it! Try and keep the table roughly alphabetical. ​ More detailed instructions are available on [[how to add a macro]]. The links in the table are to different macros that users have contributed (most are taken from the collection at [[http://​www.dur.ac.uk/​john.evans/​topas_academic/​macros.inc]]). ​ Please feel free to add your own macros. ​ Follow the format of one of the pages already created (or look at [[how_to_contribute#​formatting_macros]]). ​ Please add enough documentation that others can follow it! Try and keep the table roughly alphabetical. ​ More detailed instructions are available on [[how to add a macro]].
  
-The page [[all_macros]] contains many macros in a single file+The page [[all_macros]] contains many macros in a single file
 + 
 +You can just copy/paste a macro into an INP file OR (not and!) place it in "​local.inc"​ which is in the main topas directory. ​ Note that you topas will throw an exception if a macro is defined twice. ​ You can learn the syntax by looking at the predefined macros which are in topas.inc. ​ There'​s also a great forum post on this by Matthew Rowles.
  
 \\ \\
Line 54: Line 56:
 | [[Refine_Weight_Percentage]] | Set or refine weight percentages directly | Matthew Rowles |  | [[Refine_Weight_Percentage]] | Set or refine weight percentages directly | Matthew Rowles | 
 | [[Robust_refinement_xye]] | Robust Refinement ​                          | Peter Stephens ​  | | [[Robust_refinement_xye]] | Robust Refinement ​                          | Peter Stephens ​  |
 +| [[Sequential refinements]] | Refine multipattern datasets - Version 6   | Matthew Rowles ​  |
 | [[Stephens peakshape]] | Anisotropic peak broadening ​                   | Peter Stephens ​  | | [[Stephens peakshape]] | Anisotropic peak broadening ​                   | Peter Stephens ​  |
 | [[Texture_Index]] | Texture index from spherical harmonics coefficients - Version 5 | Pamela Whitfield |  | [[Texture_Index]] | Texture index from spherical harmonics coefficients - Version 5 | Pamela Whitfield | 

Personal Tools