Difference between revisions of "CMPR"

From Ug11bm
Jump to navigationJump to search
Line 20: Line 20:




Functions on the Control window are organized into multiple menu tabs.  The ''Read'' file tab is highlighted below. You may need to expand the GUI window to see all tabs at once.
Functions on the Control window are organized into multiple menu tabs.  For example, the ''Read'' new file tab is highlighted below. You may need to expand the GUI window to see all tabs at once.


[[image:cmprtabs.png|500px|CMPR tabs]]
[[image:cmprtabs.png|500px|CMPR tabs]]
Line 28: Line 28:




=== Opening data ===
=== Opening files ===


On the ''Read'' tab, first select the file format to be read (1).  More formats can be found by scrolling down (red arrow).  Navigate to the desired folder or directory (2).  Select (hightlight) the file or files to be read (3).  Click READ (4) to open the file(s).
On the ''Read'' tab, first select the file format to be read (1).  More formats can be found by scrolling down (red arrow).  Navigate to the desired folder or directory (2).  Select (hightlight) the file or files to be read (3).  Click READ (4) to open the file(s).
Line 40: Line 40:




=== Plotting data ===
=== Plotting ===


By default, the Plot window will show the most recently opened file(s).   
By default, the Plot window will show the most recently opened file(s).   

Revision as of 21:55, 13 December 2011

About CMPR

CMPR is a free multipurpose program for powder diffraction data.

11-BM staff routinely use it to examine & compare (CoMPaRe) powder XRD data at the beamline. It is a great too for manipulating and converting multiple datasets, and can also be used to fit or index diffraction peaks.

The program works well with 11-BM's .fxye GSAS format, but can be used with nearly any powder XRD data.

See the CMPR subversion page for download links, installation notes, and full documentation. ( https://subversion.xor.aps.anl.gov/trac/CMPR/wiki)


Getting Started

CMPR Windows

CMPR launches 2 windows: the main GUI Control window and the Plotting window.

CMPR Windows


Functions on the Control window are organized into multiple menu tabs. For example, the Read new file tab is highlighted below. You may need to expand the GUI window to see all tabs at once.

CMPR tabs


Left-click with a mouse in the Plot window to define a zoom window, right-click to un-zoom. The key "L" shows/hides a cursor mode to read values from the plot window.


Opening files

On the Read tab, first select the file format to be read (1). More formats can be found by scrolling down (red arrow). Navigate to the desired folder or directory (2). Select (hightlight) the file or files to be read (3). Click READ (4) to open the file(s).

CMPR OpeningFiles


Successfully opened files will be listed in the "Datasets Read" panel (1) and will appear in the Plot window (2).

CMPR tabs


Plotting

By default, the Plot window will show the most recently opened file(s).

CMPR plot window


More

3