fourier_maps
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| fourier_maps [2021/05/12 15:13] – doubled up the comment command to help with the automatic syntax colouring rowlesmr3 | fourier_maps [2025/09/19 15:18] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Fourier Maps in Superflip ====== | ||
| + | |||
| + | In addition to the TOPAS Fourier map calculations and viewer, you can output information to calculate/ | ||
| + | |||
| + | The macro below was contributed by Lynne McCusker. | ||
| + | |||
| + | |||
| + | <code topas> | ||
| + | macro Out_Inflip(file) | ||
| + | ' Prints a superflip input file to generate a difference Fourier map in xplor format' | ||
| + | ' that can be viewed in Chimera' | ||
| + | ' The command | ||
| + | { | ||
| + | out file | ||
| + | Out_String(" | ||
| + | Out(Get(phase_name), | ||
| + | Out_String(" | ||
| + | Out_String(" | ||
| + | Out_String(" | ||
| + | Out(Get(a), | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | { | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | | ||
| + | | ||
| + | } | ||
| + | out file append | ||
| + | Out_String(" | ||
| + | } | ||
| + | |||
| + | </ | ||