4.10.2 - Find Spots Options - JdlFindSpotsOptions

John W. Campbell

4.10.2.1 Introduction

This class provides some user options for a JdlPXImage object enabling the user to search for spots on an image and mark these spot positions on the image. When the Find Spots user options are selected, a window is displayed which contains a menu, a parameter table and an I/O window.

Class, constructors and methods:

Class Details
Accessible Fields
Constructor
Set Parameter Values

4.10.2.2 Class Details

Package:
Jdl.JdlPX;
Class name:
JdlFindSpotsOptions
Class definition:
public class JdlFindSpotsOptions
Extends:
Object
Implements:
JdlPXImageUserOptions
ActionListener
Actions:
An action event will be generated when the 'Close' menu item is selected. The associated object is the String object 'done'.

4.10.2.3 Accessible Fields

No fields with public, package or protected access defined.

4.10.2.4 Constructor

4.10.2.4.1 Introduction

A single constructor is available.

Constructor:

Standard Constructor

4.10.2.4.2 Standard Constructor

Constructs a JdlFindSpotsOptions object with initialised parameter values. Note that the construction of the window and the handling of the calculations are done in the interface routines.

Constructor Definition:
public JdlFindSpotsOptions()
Parameters List:
none

4.10.2.5 Set Parameter Values

4.10.2.5.1 Introduction

This section has methods to set initial values for the parameters required in the calculations. These values may be reset (or input for the first time) via the parameter table which is displayed when the IPDISP user options are selected. The values may be set or reset at any stage and the parameter table, if already constructed, will have its values updated. If the centre parameters x_cen, y_cen have not been set when the IPDISP options window is first displayed, the image mid-point will be chosen.

Methods:

Set rmax - setDetectorRmax
Set xy limits - setDetectorXYLimits
Set rmin limits - setDetectorRminLimits
Set centre - setDetectorCentre

4.10.2.5.2 Set rmax - setDetectorRmax

Set the detector 'rmax' limit.

Method Definition:
public void setDetectorRmax (double rmax)
Parameters List:
rmax
'rmax' limit in mm.

4.10.2.5.3 Set xy limits - setDetectorXYLimits

Set the detector x and y limits.

Method Definition:
public void setDetectorXYLimits (double x_min, double x_max, double y_min, double y_max)
Parameters List:
x_min
Minimum 'x' limit in rasters (0.0 = image start).
x_max
Maximum 'x' limit in rasters (0.0 = image end).
y_min
Minimum 'y' limit in rasters (0.0 = image start).
y_max
Maximum 'y' limit in rasters (0.0 = image end).

4.10.2.5.4 Set rmin limits - setDetectorRminLimits

Set the detector 'rmin' limits.

Method Definition:
public void setDetectorRminLimits (double rmin, double r_xcen, double r_ycen)
Parameters List:
rmin
'rmin' limit in mm.
r_xcen
Centre in 'x' for rmin limit in rasters.
r_ycen
Centre in 'y' for rmin limit in rasters. If r_xcen and r_ycen are both zero, then x_cen and y_cen will be used as the rmin circle centre.

4.10.2.5.5 Set centre - setDetectorCentre

Set detector centre starting values.

Method Definition:
public void setDetectorCentre (double x_cen, double y_cen)
Parameters List:
x_cen
The image x-centre position in pixel units.
y_cen
The image y-centre position in pixel units.

⇑ Up 2   ⇑ Up 1   ⇑ Top of this