The LAMP Application

Generated by IDLdoc

single page | use frames     summary     class     fields     routine details     file attributes

lamp_mac/TOF/

elastic.pro


top elastic

result = elastic(w_in, vanadium=vanadium, min=min, max=max, save=save, align=align, read=read)

******* ******* ** Use callable ** For IN4, IN5, IN6 and D7 data. ** ** Finds the elastic peak position in each spectrum by fitting a Gaussian ** and a flat background. Looks for peak in region xmin < x < xmax. ** If /align keyword is used, then the elastic lines are aligned to the mean ** elastic peak position. If a vanadium workspace is provided, then the ** elastic lines are set to the mean vanadium elastic peak position. Normalise ** should have been previously run on sample and vanadium input data. ** ** ARGUMENTS: ** min: minimum x-value for peak search ** max: maximum x-value for peak search ** vanadium: use an input vanadium workspace for elastic lineup (in conjunction ** with /align) ** ** KEYWORDS: ** /save : Write out results to file 'elastic.dat' ** /read : read in positions from file 'elastic.dat' ** /align : Lineup elastic positions ** ** DIMENSIONS: ** w_in(nchannels,nspectra) OR w_in(nchannels) ** ** COMMAND SYNTAX: ** w3=elastic(w2[, min = ][, max = ][, /save][, /align][, vanadium = w10]) ** ** (optional arguments and keywords shown in square brackets) ** ** KHA,JRS 28/11/06

Parameters

w_in

Keywords

vanadium
min
max
save
align
read

File attributes

Modification date: Tue Oct 1 14:39:52 2013
Lines: 191