Graphical User Interface

Preprocessing concerns all the tasks necessary to prepare the data for data analysis. Preprocessor can be launched online mode, that means during image file acquired on the beamline ID11, or offline mode, that allows user to process image files on their own computer.

Description

GUI

The perspective is divided into 3 main parts :

  1. Processing view
  2. Spd View
  3. The console

On the top we find Menu bar with actions followed by the cool bar to switch offline mode to online mode, to launch preprocessor (same action launcher in spd view) and to open an image.

  • Menu File/
    • Exit : Close Preprocessor window
  • Menu Edit/
  • Menu Help/
    • About: opens about preprocessor dialog box
    • Help contents: opens this on line help

Status bar is located at the bottom and shows spd view status (locked or not) and preprocessor current status onLine /offline

Views

Views and console are movable (see fig.2), but not closable. To move views, set mouse focus on the title of the view, press left button on the mouse and move the view as you want in the main layout or outside.

You can also detached a view. right click and select detached in the menu.

Fields

When user drag the mouse over the fields, a tooltip text appears.

Few fields are required as files to select. Others are required when user select an option, for example, when user select option get dark from file, file field becomes a required field.

For many fields, some values are not allowed (! flag in front of the field), for example punctuation; but even if the error flag appears, this is not a condition to avoid processing files.

Cursor

When preprocessor is running, cursor is busy, but user can still push stop button to force preprocessor stop running.

Processing View

This view allows you to select files to process.

Group "Images files to process"
On online mode, this group is disabled and it is filled with current experiment data.
On offline mode, user should select files to process with select files... button.

Group "Image infos"
Show most common keys stored in header. All fields are not enabled. On online mode, no informations are set whereas on offline mode, informations are set when at least one file is selected for processing.
  • Dim_1
  • Dim_2
  • Data type
  • Size
Values stored in the first image selected by the user are set only in off line mode.

Group "Files"
This group describes files to process or files being processed
The list containing header keys is loaded with keys of the first image of the table. User can select a key and adding it to the table by clicking on the + button.
Added columns can be removed by selecting the column (except the two firsts '#' and 'Name'), and pushing the - button.

Offline mode, user can remove one ore more files stored in the table by selecting the files and pushing the red cross button X at the bottom of the table.

Click onselect files... button and select several files in dialog box (ctrl+A or Shift+files to select).
Selected files will populate table, sample information (experiment and sample field), image main common information stored in header (Dim_1, Dim_2, Data_type, size), and header key list with header keys stored in the first file loaded.
Spd View
Group "Apply"
This group allows user to select the correction he wants by selecting the check boxes.
If apply dark is not checked, group "Dark correction" is disabled
If apply flood is not checked, group "Flood" is disabled
If apply distortion is not checked, group "Spatial distortion" is disabled
Group "Dark correction"
This group contains few dark options for spd.
Group "Flood"
This group is used to set flood_file for spd.
Group "Spatial Distortion"
This group is used to set distortion_file for spd.
Group "Corrected file extension"
This is cor_ext for spd option.
Group "Source file extension"
This is src_ext for spd option
Group "Other options"
User qdd other spd options in this text field.
Lock view
User can lock spd view by selecting Lock at the bottom of the view
Reset button
Restores spd values with preferences.
Launch button
Launch preprocessor. This button exists if preprocessor is not running. When preprocessor runs, current cursor is set to busy and spd options view is disabled.
Stop processing button
Stop preprocessor. This button exists if preprocessor is running.

Console

Console prints out messages :

Preferences


Preferences allow user to keep options he wants to keep in the main window for its analysis.
Spd program is set in this view and is kept for the next time the user wants to use Preprocessor.
Note that the device server mode for spd is only available on line mode.