New algorithms for background and spatial deconvolution and variable radial masking are now included in the program. There is also a new background histogram routine to replace the old guesswork.
If a full refinement has been done in LAUEGEN then there is now an option to bypass the refinement in INTLAUE. There is an option now for Molecular Dynamics image plates which allows the polynomial based spatial distortion correction calculated by LAUEGEN to be applied in INTLAUE. There is also a new option to allow for variable radial binning.
List of sections:
Strategy
Limitations
Files
Interactive Mode
Batch Mode
Control Data
Examples
Flowchart
The recommended procedure is as follows.
The maximum number of spots which may be integrated is 300,000.
The program does not support the full range of options now available using the LDM based LAUEGEN program. The image data must be in the standard order and for image plate data, only two types are currently recognised. Whilst other image plate or CCD data may be processed using one of these options it must be noted that using the MAR image plate option assumes that the roff/toff type of distortion correction has been done in LAUEGEN. Similarly if the Molecular Dynamics option is chosen the program assumes that the SPDXY type of distortion correction has been carried out. It should also be noted that the maximum intensity which may be correctly stored is 32767 so be sure to check that the maximum intensity given towards the end of the log file does not exceed this.
It should be noted that the Fortran source code uses a series of non-standard Fortran77 features.
The program is run in interactive mode by typing the command:
'laue intlaue'
Use the default 'terminal' as the reply to the DATA: prompt.
Try and use commas (,) to separate variables input together. There is a problem with spaces occasionally in interactive mode. All the input in interactive mode can be understood by referring to the batch input data described below.
A data control file is prepared and the program is run by typing the command:
'laue intlaue'
The name of the data control file is given in response to the DATA: prompt and the batch mode option for running the program is selected via the subsequent questions.
This is in free format except where indicated.
This control data is used when setting up a data control or command file for running INTLAUE in batch mode. The description of the items provides information useful when the program is run interactively and data items are requested via prompts.
Control parameters for Integration set by 0 for NO, 1 for YES
RECOMMEND: Use this only interactively on first run to get good parameters written back to .ge1 file.
**** NOT ALLOWED IF STREAK IS 1 ****
Profile Control Parameters (Only if PROFILES = 1 on card 2) and deconvolution parameters (Only if ICORR = 1 on card 2)
Check standard profiles carefully. Large shifts and/or bg parameters indicate problems with Genlaue or camera constants or film parameters. If STREAK is 1, all 17 bins are radial, as opposed to the normal 17 bins.
** BG replacements for overlaps are based on av bg in each bin **
*** DEFAULTS ONLY CORRECT FOR 25 micron SCAN!!
*** ALL SPOTS WITHIN THIS RADIUS (bin 17) for NUMBIN =17 ARE REJECTED ***
*** DEFAULTS ONLY CORRECT FOR 25 micron SCAN!!
**only include of ISTREAK set to 1 **
Variable or constant radial elliptical masking parameters Care must be taken to provide a large enough square box (SEE CARD 8) to contain the generated ellipses. Clearly in the case of elliptical masking the size of peak, bg and corner cut-off are not relevant, what is important is the full size XSIZE x YSIZE.
* soon to be taken from the .gen file *
When KMASK = 0, constant streak lengths of length CMASK are provided
When KMASK is greater than 0, radially increasing streak lengths are provided, with the Andrews et al (1987) formulation being set for KMASK = 1.0 and CMASK = eta x cf.
** only include of IBINV set to 1 **
When this option is used, the streak parameters are also used.
Film pack number as specified in .ge1 file
Film number (A,B,C,D,E,F) Upper or lower case
Numbers of nodals to include in Inner, Outer Refinements.
Raster parameters defining the spot box. These should be set carefully. It is important that there are enough points in the background relative to the number of points in the peak. It is also important that, for Profile Fitting, the peak is not too squashed in but not too loose! Look at the standard profiles to judge this, and at the inner ref average spot if you have done INREF. In the printed box, BG points are preceded by -, ignored points by * and peak by .
For ELLIPTICAL masking (card 4) ensure that XSIZE and YSIZE will accomodate the largest generated ellipse including the border!
The location and name of scanned image to be processed
** omit this card for image plates **
Note that the information will not actually be used if:
and or
Note that the Fiducial search box size is set in laueflm.dat or .gen file (see note below)
*** If these positions ARE input they now default to those in the .gen file, which take precedence even if you put values here.
The program realises which orientation the film was scanned in from these numbers (ie it works for both old and new cassette orientations.) This 'card' will be removed asap
Of those selected from the list set-up by NUMNOD1, only those with an intensity greater than INMIN will be used, up to a maximum of 60 spots. Program will try and even up left and right of film. If you are using the inner ref (set INREF) then try and set this to select just under 60 thus ensuring use of the strongest spots. Weak films may require the use of a smaller number to prevent poor refinement. The best 20 are carried through to the outer ref.
Threshold intensity and increment for selecting spots in the outer refinement.
The film will be divided into NSTRIP vertical stripes (8,10,12.. depending on how many are in the search list as defined by NUMNOD2 ). The threshold intensities in each stripe will then be
Outmin,Outmin+outadd,Outmin+Outadd+Outadd.....,Out-min
ie Outmin at the edges, Outmin+((NSTRIP/2)-1)*Outadd in the two central stripes.
Try and set these numbers to get a good number of spots in each stripe, bearing in mind that the toal over all bins is 256 (less 20 if INREF is set) with an equal number in each. setting OUTMIN too low will result in weak spots being picked up at the edges, and setting OUTADD too low will give weak spots at the centre. Try and adjust to give just below the maximum in each bin, unless the film is weak when a smaller number (ie strong only) should be selected.
To get a constant threshold across the film input this threshold OUTMIN as -ve with OUTADD = 0 (e.g. -1.0)
For Laue processing the END option is not useful as it suggests that the current .ge1 file has more film packs.
MUST BE FOLLOWED BY CARDS: 10 (film file name)Repeat cards 14,9,(11),(12),(13) for each lower film11 (Fid 1) (Film only)
12 if INREF=1 and LOWER_AS_A=0
13 if LOWER_AS_A=0
*** EXAMPLE DATA INPUT *** IP, molecular dynamics, rad+binv, outref, deconv
5330 ! ge file 0 0 0 1 0 0 1 1 1 2 1 ! on:profiles,deconv,streak,binv,ip2,out_ref 17,0.033,1.2,5.2,1000,64000,200 ! numbin,deconv_params,ipromin,ipromax 2.5,200.,0.0,1.0,2.0 ! radial mask (a,cf,K,b,border) 2.5,1.0,70.0 ! variable binning (max,min,theta) 30 ! pack id 60,400 ! num nodals in 'refinement' 31 31 13 4 4 ns5330.img 3,2 ! outer thresh (even if out_ref off) STOP
*** EXAMPLE DATA INPUT *** film, rad+binv, noref, deconv
5330 ! ge file 0 0 0 1 0 0 1 1 1 0 0 ! on: profiles,deconv,streak,binv,film 17,0.033,1.2,5.2,1000,64000,200 ! numbin,deconv_params,ipromin,ipromax 2.5,200.,0.0,1.0,2.0 ! radial mask (a,cf,K,b,border) 2.5,1.0,70.0 ! variable binning (max,min,theta) 30 ! pack id A ! film letter 300,1000 ! num nodals in 'refinement' 31 31 13 4 4 ns5330.img 3,2 ! outer thresh (even though out_ref off) STOP
INTLAUE FLOW DIAGRAM
START
|
Input files
.ge1, .ge2, .gen
digitised film image file
|
|
- - - - - - - |
| | |
| 'Inner' refinement of parameters
| | |
- -<- - - - - |
|<-----------------------------------
| |
- - - - - - - | |
| | | |
| 'Outer' refinement of parameters |
| | | |
- -<- - - - - | |
| |
Write improved parameters to .ge1, .ge2 files |
| |
Collect density |
| |
Form profiles - A film only, normally |
| |
Fit profiles, write intensities to .ge1, .ge2 files |
| |
Output summary, statistics |
| |
Any more films in pack? -----[YES]--------------
(end with F)
|
[NO]
|
END
- - - - Interactive use only, not batch