Documentation for Program CMPR

Why use CMPR?

CMPR is a multipurpose program for powder diffraction data that provides the following features:



The following sections of this web page describe the various modes within the program. Most sections have links to screen dumps of the GUI with a link marked "View panel" or something similar. The most recent additions are noted with the "new" new image, while other changes that have been added in the previous few versions are flagged with this image: note.

For installation information, see the CMPR/LOGIC overview.

Mouse shortcuts

Keyboard Shortcuts note

There are a number of shortcuts implemented by pressing keyboard keys. A list of them follows. Note that either upper or lower case letters may be used. Some of these keys will function only in certain sections of CMPR.

Overall

in any window/any panel:
control+C
exits the program
F1 key
show help on current panel

Plot display

In plot window/any panel:
L
shows "live" cursor position
Z
set zoom scaling manually
left click
zoom in
right click
zoom out (Mac: Command+click)

Reflection Labeling

In the EditCell section of the program, it is possible to label the generated reflection position by clicking in or pressing a key with the mouse in the plot window:
shift+left click
label nearby reflections
shift+double left click
label all reflections
shift+right click
delete reflection labels (Mac: shift+Command+click)
pressing the "H" key
labels individual reflections (also Shift key+left mouse click)
pressing the "A" key
labels all reflections (also shift+left double-click)
pressing the "D" key
deletes all reflection labels (also shift+left-doubleclick). Note that individual reflection labels will be typically be erased automatically after a given number of seconds, as set in the Display options page.

Fit range management

In the plot window only when the fit panel is selected:
control+double left click
add peak at current position
S
set fit range to current zoom
F
scroll the fit region forward
B
scroll the fit region backward
E
expand the scroll fit region
P
define peak position

Reordering Buffers new

The + key
causes the selected buffer to be moved up in the list
The - key
causes the selected buffer to be moved down in the list
(note that these options only work if a single data set is selected). Also see
Buffer Selection tricks

CMPR Program Sections

CMPR consists of a number of program sections (panels) that are selected using the "notebook tabs" directly below the menu bar.

Peaks/Smooth note (View panel)

note Index (View panel or Results Window)

Logic (View panel)

note Interp (View panel)

new FitWidths (View panel)

new EditFile (View panel)

Display options (View panel)

Set working directory
Save WD as starting directory

Help (View panel)

Update new

Customizing

CMPR is designed to be expanded. Read the code and send me any extensions you create. Have fun!

Customization files

Reading directly from GSAS experiments

Defining File Formats

Customize the format lists

Grace

CMPR Mailing List


Neither the author nor the U.S. Government makes any warranty, expressed or implied, or assumes any liability or responsibility for the use of this information or the software described here. Brand names cited here are used for identification purposes and do not constitute an endorsement by NIST.

Brian Toby (brian.toby@anl.gov)
$Revision: 421 $ $Date: 2010-09-03 14:58:59 -0500 (Fri, 03 Sep 2010) $