Close This Window

Please download official ILL logos here


For using on the web or on a screenFor printing in high resolutionWhite version, for dark backgrounds

Download PNG

Download AI

Download white PNG

Download JPG


Download white AI


The Computing for Science (CS) group supports ILL scientists, students and visitors in a number of activities including data analysis, instrument simulation and sample simulation.

Back to ILL Homepage
English French Deutsch 

All Software

PkFit for the VMS/UNIX

A tutorial

The TAS software package Home pageInstalling the TAS software package on a MacintoshPkFit for the MacOS A tutorialFilingfor the MacOS
A tutorial


the TAS software package on VMS and UNIX

PkFit for VMS/UNIX A tutorialFiling for VMS/UNIX A tutorial


Launching PkFit

To launch PkFit, simply double-click on its icon or type the name of the program as the command.

Then type a return or "/xserve" if you are using an X terminal otherwise see the graphics device help. The PGPLOT window is displayed with a menu bar in its bottom part.

To top

Configuration of PkFit

Before using PkFit, or at any time you, can save a configuration of PkFit in a preference file, Pkf.pref. It is saved in the application folder and this configuration is automatically set next time the program is launched.

Select the item "Preferences" in the menu "Options". A new menu bar allows the program configuration to be set and saved. The first items correspond to a specific subset of set-up parameters.

Click the button "General" to display the following dialogue.

For example, enter the data directory name if the data files are not in the program directory. To define the delete key, click the edit text "Delete key" to select it and press the appropriate key. Remember that the contents of an edit text is not validated until a carriage return or a tab key is pressed.

Click the button OK then, the button "Save" in the "Preferences" menu-bar, and finally the button "Menu1" to go back to the main menu.

To top

Example 1: Energy scan; one-dimensional convolution

Example 2: Energy scan, four-dimensional convolution (not yet available)

To top

Saving data and results

Select the item "Save" from the main menu. A new menu bar allows you to select the window or the file to be saved.

For example select the item "Graph". The contents of the graphic window will be saved to a PostScript file with extension .PLT (i.e. enscan.PLT in the example 1 case).

To top

Printing results

Select the item "Print" from the main menu. The graphic window is automatically printed on the current printer. Note that the current printer is defined by the environment variable PGPLOT_ILL_PRINT_CMD.

Quitting the program

Select the item "Exit" from the main menu. A dialogue box allows you to save a session file.

The session file contains the final values of the fitted parameters for all the data files which have been processed during the current PkFit session. For each data file the corresponding set of parameters is written on the same line. The session file is a plain TEXT file (ASCII file) with a record length of 650, and a coma as column separator. It can be imported by applications such as Kaleidagraph and is convenient for the study of, e.g., temperature dependencies or dispersion of excitations in a series of scans.

To top

Created by
Alain Bouvet and Alain Filhol

Last update April 1997