Changeset 4517
- Timestamp:
- Jul 8, 2020 9:23:37 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIscriptable.py
r4515 r4517 704 704 (This will create file ``before.txt``, which will contain hundreds of lines.) 705 705 706 At this point open the project file, ``test. py`` in the GSAS-II GUI and706 At this point open the project file, ``test.gpx`` in the GSAS-II GUI and 707 707 change in Histogram/Sample Parameters the diffractometer type from Debye-Scherrer 708 708 mode to Bragg-Brentano and then save the file. … … 713 713 714 714 Finally look for the differences between files ``before.txt`` and ``after.txt`` using a tool 715 such as diff on Linux/OS X or fc in Windows. 716 715 such as diff (on Linux/OS X) or fc (in Windows). 716 717 in Windows:: 717 718 718 719 Z:\>fc before.txt after.txt … … 740 741 (['Sample Parameters', 'Absorption'], <class 'list'>, [0.0, False]) 741 742 ***** 743 744 in Linux/Mac:: 742 745 743 746 bht14: toby$ diff before.txt after.txt … … 4383 4386 Where the value returned is a list, it may be used as the target of 4384 4387 an assignment (as in 4385 ``getHistEntryValue( ``...``)[``...``] = ``val)4388 ``getHistEntryValue(...)[...] = val``) 4386 4389 to set a value inside a list. 4387 4390 … … 4402 4405 """Sets a histogram control value associated with a list of keys. 4403 4406 4407 See :meth:`G2Phase.setHAPentryValue` for a related example. 4408 4404 4409 :param list keylist: a list of dict keys, typically as returned by 4405 4410 :meth:`getHistEntryList`. … … 4408 4413 the same as the initial value, but if the value is a container 4409 4414 (list, tuple, np.array,...) the elements inside are not checked. 4410 4411 See :meth:`G2Phase.setHAPentryValue` for a related example.4412 4415 4413 4416 """ … … 5184 5187 Where the value returned is a list, it may be used as the target of 5185 5188 an assignment (as in 5186 ``get PhaseEntryValue(``...``)[``...``] = ``val)5189 ``getHistEntryValue(...)[...] = val``) 5187 5190 to set a value inside a list. 5188 5191
Note: See TracChangeset
for help on using the changeset viewer.