----- header of crl.pro extracted on: Fri May 31 15:31:06 2013 ----- Documentation for /scisoft/xop2.3/src_idl/dabax/crl.pro ----- ================================== CRL ==================================== CRL is an widget based graphical interface to calculate the parameters of Compound Refractive Lenses (CRL). Two kind of calculations are allowed: i) main parameters (focal distances, gain, acceptance, etc.) (calculated using Refs. 1 & 2) ii) Pseudo-Ray-Tracing to compute the beam profile at the image plane and the phase-space plot. (calculated using Ref. 2, formulas 9 and 32 for cylindrical and parabolic lenses, respectively). Reference 1: A. Snigirev, V. Kohn, I. Snigireva, A. Souvorov and B. Lengeler: "Focusing High Energy X-rays by Compound Refractive Lenses", Applied Optics 37 (1998) pp. 653-662) Reference 2: P. Elleaume: Nucl. Instrum. and Meth in Phys. Research A 412 (1998) pp. 483-506 DESCRIPTION OF THE CONTROLS IN THE MAIN WINDOW: File: CRL input parameters: This option allows to save the current parameters to a file for later loading. It also allows to save the current parameters as defaults for being used when the application is initialized. In the last case, the file is named "application".xop (where "application " is the name of the current XOP application) and is written in the directory pointed by the XOP_DEFAULTS_DIR environment variable (which must be set). The parameter file is ASCII and can be read and edited with care. Quit: to exit from the program Set_Parameters: Set Parameters: to define the parameters for the calculation. The same result is obtained pressing the "Set Parameters" button in the main CRL window. Please refer to the information under the HELP button for a complete description of the parameters. After pressing the "GO CALCULATE" button, CRL starts running. Note that, differently from most of other XOP applications, this "Set Parameters" window is a non-modal window. Set Defaults: Sets the default parameters. Help: Shows the CRL help (this text). COPYRIGHT: CRL belongs to XOP package and it is distributed within XOP. PLEASE REFER TO THE XOP COPYRIGHT NOTICE REFERENCE: Published calculations made with XOP should refer: M. Sanchez del Rio and R. J. Dejus "Status of XOP: an x-ray optics software toolkit" SPIE Proceedings Vol. 5536 (2004) pp.171-174 http://dx.doi.org/10.1117/12.560903 In addition, published calculations with the CRL aplication may also cite the reference mentioned before. LAST MODIFICATION: srio@esrf.eu 2008-02-01