PEARL Procedures
rev-distro-1.4.0-0-g80a01f2
Igor procedures for the analysis of PEARL data
|
preprocessing functions for Scienta detector images. More...
Go to the source code of this file.
Namespaces | |
PearlScientaPreprocess | |
preprocessing functions for Scienta detector images. | |
Functions | |
variable | prompt_int_linbg_reduction (string *param) |
string | capture_int_linbg_cursors () |
string | csr_int_linbg_reduction (string win) |
variable | test_int_linbg (wave image) |
threadsafe variable | int_linbg_reduction (wave source, wave dest1, wave dest2, string *param) |
variable | test_shockley_anglefit (wave image, variable branch) |
variable | prompt_Shockley_anglefit (string *param) |
threadsafe variable | Shockley_anglefit (wave source, wave dest1, wave dest2, string *param) |
variable | prompt_int_quadbg_reduction (string *param) |
variable | test_int_quadbg (wave image) |
threadsafe variable | int_quadbg_reduction (wave source, wave dest1, wave dest2, string *param) |
variable | scienta_norm (wave w, variable x) |
wave | fit_scienta_ang_transm (wave data, wave params) |
threadsafe variable | scienta_ang_transm (wave w, variable x) |
wave | fit_scienta_poly_bg (wave data, wave params, variable bgterms) |
variable | scienta_poly_bg (wave w, variable e, variable a) |
variable | prompt_redim_linbg_reduction (string *param) |
parameter dialog for the redim_linbg_reduction() function More... | |
threadsafe variable | redim_linbg_reduction (wave source, wave dest1, wave dest2, string *param) |
linear background reduction function for incorrectly dimensioned scienta image More... | |
preprocessing functions for Scienta detector images.
this procedure contains functions for data reduction and instrument-specific normalization.
Definition in file pearl-scienta-preprocess.ipf.
string capture_int_linbg_cursors | ( | ) |
Definition at line 65 of file pearl-scienta-preprocess.ipf.
string csr_int_linbg_reduction | ( | string | win | ) |
Definition at line 75 of file pearl-scienta-preprocess.ipf.
wave fit_scienta_ang_transm | ( | wave | data, |
wave | params | ||
) |
Definition at line 550 of file pearl-scienta-preprocess.ipf.
wave fit_scienta_poly_bg | ( | wave | data, |
wave | params, | ||
variable | bgterms | ||
) |
Definition at line 609 of file pearl-scienta-preprocess.ipf.
threadsafe variable int_linbg_reduction | ( | wave | source, |
wave | dest1, | ||
wave | dest2, | ||
string * | param | ||
) |
Definition at line 196 of file pearl-scienta-preprocess.ipf.
threadsafe variable int_quadbg_reduction | ( | wave | source, |
wave | dest1, | ||
wave | dest2, | ||
string * | param | ||
) |
Definition at line 456 of file pearl-scienta-preprocess.ipf.
variable prompt_int_linbg_reduction | ( | string * | param | ) |
Definition at line 35 of file pearl-scienta-preprocess.ipf.
variable prompt_int_quadbg_reduction | ( | string * | param | ) |
Definition at line 409 of file pearl-scienta-preprocess.ipf.
variable prompt_redim_linbg_reduction | ( | string * | param | ) |
parameter dialog for the redim_linbg_reduction() function
param | parameter string in a key1=value1;key2=value2;... list. the parameter string is passed by reference. see redim_linbg_reduction() for a description of parameters. |
Definition at line 715 of file pearl-scienta-preprocess.ipf.
variable prompt_Shockley_anglefit | ( | string * | param | ) |
Definition at line 321 of file pearl-scienta-preprocess.ipf.
threadsafe variable redim_linbg_reduction | ( | wave | source, |
wave | dest1, | ||
wave | dest2, | ||
string * | param | ||
) |
linear background reduction function for incorrectly dimensioned scienta image
if the energy step size does not divide the energy range to an integer number, the scienta image is exported with the wrong array size. this can be fixed by redimensioning the array.
the current implementation works in the case where dimension 0 needs to be incremented. the function may be generalized to dimension 1 and/or decrementing by additional parameters. it is not known yet whether a generalization is needed or whether it can cover all cases.
background subtraction and peak integration is the same as by the int_linbg_reduction() function.
source | source wave Scienta detector image, energy axis along X, angle axis along Y |
dest1 | destination wave 1 |
dest2 | destination wave 2 each wave is a one-dimensional intensity distribution the function may redimension these waves to one of the image dimensions (it must be clear to the user which dimension this is). the meaning of dest1 and dest2 is up to the particular function, e.g. dest1 could hold the mean value and dest2 the one-sigma error, or dest1 could hold the X-profile, and dest2 the Y-profile. |
param | parameter string in a key1=value1;key2=value2;... list. the parameter string is passed by reference. |
all region parameters are relative to the image size (0...1).
typical values (peak centered on detector, FWHM ~ 20 % of image) Lcrop=0.11;Hcrop=0.11;Lsize=0.2;Hsize=0.2;Cpos=0.5;Csize=0.2
Definition at line 786 of file pearl-scienta-preprocess.ipf.
threadsafe variable scienta_ang_transm | ( | wave | w, |
variable | x | ||
) |
Definition at line 577 of file pearl-scienta-preprocess.ipf.
variable scienta_norm | ( | wave | w, |
variable | x | ||
) |
Definition at line 543 of file pearl-scienta-preprocess.ipf.
variable scienta_poly_bg | ( | wave | w, |
variable | e, | ||
variable | a | ||
) |
Definition at line 653 of file pearl-scienta-preprocess.ipf.
threadsafe variable Shockley_anglefit | ( | wave | source, |
wave | dest1, | ||
wave | dest2, | ||
string * | param | ||
) |
Definition at line 336 of file pearl-scienta-preprocess.ipf.
variable test_int_linbg | ( | wave | image | ) |
Definition at line 179 of file pearl-scienta-preprocess.ipf.
variable test_int_quadbg | ( | wave | image | ) |
Definition at line 439 of file pearl-scienta-preprocess.ipf.
variable test_shockley_anglefit | ( | wave | image, |
variable | branch | ||
) |
Definition at line 296 of file pearl-scienta-preprocess.ipf.