Changeset 4128
- Timestamp:
- Aug 31, 2019 3:09:24 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIscriptable.py
r4127 r4128 753 753 GSASIIscriptable can be used to setup and perform sequential refinements. This example script 754 754 is used to take the single-dataset fit at the end of Step 1 of the 755 `Sequential Refinement tutorial <https://subversion.xray.aps.anl.gov/pyGSAS/Tutorials/SeqRefine/SequentialTutorial.htm>` 755 `Sequential Refinement tutorial <https://subversion.xray.aps.anl.gov/pyGSAS/Tutorials/SeqRefine/SequentialTutorial.htm>`_ 756 756 and turn on and off refinement flags, add histograms and setup the sequential fit, which is then run: 757 757 … … 798 798 and then integrated follows. 799 799 The data files are found 800 `here <https://subversion.xray.aps.anl.gov/pyGSAS/Tutorials/PythonScript/data/>` .800 `here <https://subversion.xray.aps.anl.gov/pyGSAS/Tutorials/PythonScript/data/>`_. 801 801 802 802 .. code-block:: python … … 815 815 816 816 This example shows a computation similar to what is done in tutorial 817 `Area Detector Calibration with Multiple Distances <https://subversion.xray.aps.anl.gov/pyGSAS/Tutorials/DeterminingWavelength/DeterminingWavelength.html>` 817 `Area Detector Calibration with Multiple Distances <https://subversion.xray.aps.anl.gov/pyGSAS/Tutorials/DeterminingWavelength/DeterminingWavelength.html>`_ 818 818 819 819 .. code-block:: python … … 852 852 A project is created with the images found in a directory, setting initial 853 853 parameters as the images are read. The initial values 854 for the calibration are not very good, so a :meth:`G2Image. recalibrate` is done854 for the calibration are not very good, so a :meth:`G2Image.Recalibrate` is done 855 855 to quickly improve the fit. Once that is done, a fit of all images is performed 856 856 where the wavelength, an offset and detector orientation are constrained to … … 861 861 Detector control files are then created. 862 862 The files used for this exercise are found 863 `here <https://subversion.xray.aps.anl.gov/pyGSAS/Tutorials/DeterminingWavelength/data/>` 863 `here <https://subversion.xray.aps.anl.gov/pyGSAS/Tutorials/DeterminingWavelength/data/>`_ 864 864 (the 865 `Area Detector Calibration with Multiple Distances <https://subversion.xray.aps.anl.gov/pyGSAS/Tutorials/DeterminingWavelength/DeterminingWavelength.html>` 865 `Area Detector Calibration with Multiple Distances <https://subversion.xray.aps.anl.gov/pyGSAS/Tutorials/DeterminingWavelength/DeterminingWavelength.html>`_ 866 866 tutorial). 867 867 … … 3513 3513 :param str fmthint: If specified, the first exporter where the format 3514 3514 name (obj.formatName, as shown in Export menu) contains the 3515 supplied string will be used. If not specified, an error3516 will be generated showing the possible choices.3515 supplied string will be used. If not specified, an error 3516 will be generated showing the possible choices. 3517 3517 :returns: name of file that was written 3518 3518 '''
Note: See TracChangeset
for help on using the changeset viewer.