Crystal Impact Home  
  About version 5 New functions Feature tour Download  

Diamond Version 5 User Manual: Data sheet and powder pattern

Copying, Saving, and Printing Data from the Data Sheet or Powder Pattern

This article in brief:
- Copying parts of the data sheet to the Windows clipboard.
- Printing or previewing all or parts of the data sheet.
- Copying selected or all rows of the table of reflection parameters to the Windows clipboard.
- Saving the reflection parameters.
- Saving the contents of the reflection parameter table as plain text.
- Exporting reflection parameters or table to a special folder.
- Printing or previewing the reflection parameter table.
- Copying the diffraction diagram as bitmap to the Windows clipboard.
- Printing or previewing the diffraction diagram.

Previous article: Powder pattern simulation
Next article: Printing a structure picture


Data sheet

Copying the data sheet

You can copy the entire contents of the data sheet or only the selected range to the Windows clipboard. The selected content is available to other applications for pasting in HTML, Rich Text (RTF), and plan text format via the Windows clipboard. This is the easiest way to include (parts of) the data sheet for example in a word processing document, including text formatting (super/subscripts, bold/italics, tabs, etc.). Before you can copy, you must select at least a part of the data sheet. (Only the selected part will be copied!) Then choose the Copy command from the data sheet context menu, or push the Copy toolbar button button in the standard toolbar, or use the "hotkey" Ctrl+C. Please assure that the data sheet has the focus. Otherwise the structure graphics would be copied instead, if you use the button or the hotkey.

Saving the data sheet

Please note that saving of the data sheet contents is not available in the current version 5.0 but will come in one of the minor updates 5.0.x. In the meantime, use the above described copying method and use a saving function in the target application where you have pasted the data sheet content.

Printing and print preview

You can print the entire data sheet or selected pages or the marked area only. Choose the Print Data Sheet command from the data sheet context menu, which opens the Print dialog, where you can choose the print range (all; some pages; selection), or adjust printer settings. To estimate the extent of the data sheet when printed (especially the number of pages), you may switch to print preview mode by choosing the Print Preview command from the File menu or pushing the Print Preview toolbar button button in the standard toolbar.

 


Reflection parameter list

Copying some or all rows of the list

You can use one of the commands Copy Table and Copy All from the context menu (e.g. by right-clicking into the table) of the reflection parameters list to copy the selected rows or all rows, rsp., to the Windows clipboard, so that it can be pasted by other applications. The items of a row are separated with tabulator keys, the rows with carriage return/line feeds.

Saving the reflection parameters

This is about saving the reflection parameters (not the contents of the table as is) in one of several formats that can be read by other diffraction data processing software.

This can be done with the command Save Reflection Parameters from the reflection parameter list's context menu. The Save Reflection Data dialog will prompt you for a file name (and directory) as well as one of the following formats:
2theta vs. intensities (DIF): Every row contains the 2theta value (in degrees) in the first and the intensity relative to Imax = 1000 in the second column.
d-spacings vs. intensities (DIF): This format uses the d-spacings in Angstroem rather than the 2theta values.
Stoe PKS format (PKS): This is the Stoe PKS format.
Shelx h,k,l,|F| (HKL): This format uses the h, k, and l values in the first, second, and third column, rsp., and the F value (not F-square) in the fourth column each.

Saving some or all rows of the reflection parameter list

This is about saving the contents of the table in one of several text formats. It saves the text as is, and the following formats should not be mismatched with the above described formats readable by other diffraction data software.

The command Save Table of the context menu will open thehe "Save Table" dialog, which prompts you for a file name (and directory) as well as one of the following formats:
Text with separators (CSV): The items of a row are separated by semicolons, the rows by carriage return/line feeds.
Text with tabs (TXT): The items of a row are separated by tabulator keys instead.
Formatted text with spaces (PRN): The rows' contents are filled up with spaces (blanks) in order to have same width for a column each. That is useful for non-proportional spacing text or printing.
HTML (HTM): Creates an HTML file where the table is formatted with the "<table>" token, and every row enclosed with "<tr> ... </tr>" and every cell (item) of a row with "<td> ... </td>".

Using the Export command

Alternatively you can save ("export") either the reflection parameters itself or the contents of the reflection parameter list (i.e. the text as is) to a special target folder via the Export command from the File menu. In the Export dialog choose the option Reflection parameters or Table contents in text format, rsp., then click on OK where you define the name of the target file and have the chance to choose a different target folder.

Printing and preview

The Print Table command from the reflection parameter list's context menu prints the complete contents or only the selected part or selected pages. The (common Windows) "Print" dialog will open and offer several options, if to print the entire contents, or just the selection, or one or more pages. Besides this you can choose other options, like page format and settings depending on the individual printer (see "Settings" sub-dialog of the Print dialog).

You can also run a print preview to control the format and amount of reflection data (there may be a lot of pages) before you start printing to a printer device. For that ensure that the reflection parameter list has the input focus (e.g. by clicking with the mouse button into) and run the command Print Preview from the File menu or simply choose the corresponding toolbar button:
Print Preview toolbar button


Diffraction diagram

Copying the diffraction diagram as bitmap

To copy the diffraction diagram to the Windows clipboard use the Copy Diagram command from the context menu of the Properties view. (The genuine Copy command of the Edit main menu is not available for this.) The diagram will then be available in bitmap format to other applications for pasting.

Printing and preview

To send the diffraction diagram to a printer, use the Print Diagram command from the context menu of the Properties view. The (common Windows) "Print" dialog will open and offer several options, if to print the entire contents, or just the selection, or one or more pages. Besides this you can choose other options, like page format and settings depending on the individual printer (see "Settings" or "Properties" sub-dialog of the Print dialog).

To check the printout page of the diffaction diagram, you can first use the Print Preview command from the File main menu.


Previous article: Powder pattern simulation
Next article: Printing a structure picture