Configuring softWoRx

The system.swrc in the /usr/local/softWoRx/config sub-directory controls most of the global softWoRx software configuration. If you have root privileges, you can modify this file to change the softWoRx configuration. Alternatively, you can change the configuration in your own user environment by modifying the .swrc file in your home directory. The configuration settings in .swrc have precedence over those in system.swrc. Because these files are text files, you can edit them with a text editor such as gedit.

Common Configuration Fields

Field

Description...

DV_BASE

 

Specifies the location of the softWoRx base directory. The software is installed in /usr/local/softWoRx by default and it should not be moved. If space is at a premium on the system disk, you may consider moving the contents of /usr/local to another disk and making a symbolic link from /usr/local to the new location.

DV_DATA

 

Sets the default location for the softWoRx data. Naturally, this directory should have a large amount of available storage space. The default location for the data is the /data1 directory. User data directories should be located within /data1.

DV_MACRO

Sets the location of the softWoRx macro directory. By default, data collection macros are stored at this location.

DV_OTF

Sets the location where softWoRx software will search for optical transfer files (OTF).

LENS_XXXXX_OTF

Specifies the name of the default OTF that should be used to deconvolve images acquired with a particular lens. XXXXX should be replace with 5 digit lens identification number. For example, the configuration line

     LENS_14001_OTF 100X_140.otf

will set the default OTF to 100X_140.otf for optical sections acquired with lens number 14001 (a Zeiss 100X/1.40). The OTF file is expected to be in the directory indicated by the value given for DV_OTF.

DV_TMP

Sets the location where the softWoRx temporary files are stored. At least 200Mb of storage should be available in this filesystem. The default location is /var/tmp.

DV_BLEND_DATA

 

Sets the default directory for color-blend tables. If not set, the default is the user's home directory.

DV_WORKING_SET

Specifies the Working Set memory. This is the total amount of shared memory set aside for image data.

DV_WORKING_UNIT

Sets the Working Unit (the size of the increment that is used when the shared memory file is increased). As a rule of thumb, the Working Set should be at least 10% smaller than the physical memory of the computer. The Working Unit should not be larger than 15 Mb (if you use higher values, you will notice pauses while scrolling through data in an Image Window.)

DV_FAST_GRAYSCALE

If DV_FAST_GRAYSCALE is set to True, you may experience colormap conflicts with other windows on the desktop while viewing grayscale images. If this variable is False, the colormap flashing will be diminished, but the images won't draw as fast.

DV_WIN_WIDTH

DV_WIN_HEIGHT

Sets default window width and height.

DV_WIN_AUTOPOSITION

Specifies window auto-positioning. If True, all of the windows are positioned not to overlap.

DV_IMG_WIN_1_POSITION
0 160

DV_IMG_WIN_2_POSITION 40 200

DV_IMG_WIN_3_POSITION 80 210 550 450

Sets specific positions (x,y) or (x,y,w,h) for each window.

DV_GRAPHICS_FONT

X11 Font to use to draw text in the Image windows. If not set, it defaults to fixed.

DV_BUFIMG

Turns image buffering on or off. If DV_BUFIMG is set to False, image buffering is turned off.

DV_OLD_PIX_ORDER

On older hardware accelerated graphics systems like Elan, Extreme, and some others that have IrisGL in the hardware, drawing of color images are much faster when DV_OLD_PIX_ORDER is set to True.

DV_MONTAGE_ORDER

Determines the order in which images are painted when View | Montage is selected in the Image Window. Montage displays are, by default, in Row-Major order starting from the upper left. If DV_MONTAGE_ORDER is set to Column, the images are painted in Column-Major order.

DV_IMAGE_COLOR_MODE

Determines the color mode. If this is set to color, images are always shown in color. If it is set to bw, images are always shown in grayscale. If the variable is not set, then images with 2 or 3 wavelengths are shown in color and images with 1 or more than 3 wavelengths are shown as grayscale.

SCAN_DIRECTION

 

Determines the Z scan direction of the macros generated by the Resolve3D Experiment Designer. Valid settings are forward (default) or backwards.

BACKLASH

Determines the size of the Z backlash removal step in the macros generated by the Resolve3D Experiment Designer. Values should be entered in micrometers. The default backlash distance is 8 micrometers.

R3D_MEMORY_LEVEL1

The level at which Resolve3D warns about excess memory usage. Values should be given in Mb.

R3D_WIN_DEPTH

The number of sections held in Resolve3D scratch windows. Beyond the window depth, sections are discarded. The default depth is 20 sections.

 

Related Topics

Customizing System and User Parameters

Managing System Configuration