Changeset 4305


Ignore:
Timestamp:
Feb 14, 2020 10:12:45 PM (21 months ago)
Author:
toby
Message:

improve docs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIscriptable.py

    r4304 r4305  
    142142:meth:`G2Phase.get_cell`                              Returns unit cell parameters (also see :meth:`G2Phase.get_cell_and_esd`)
    143143:meth:`G2Phase.export_CIF`                            Writes a CIF for the phase
     144:meth:`G2Phase.setSampleProfile`                      Sets sample broadening parameters
    144145==================================================    ===============================================================================================================
    145146
     
    47394740            those in the phase.
    47404741        :param str parmType: should be 'size' or 'microstrain' (can be abbreviated to 's' or 'm')
    4741         :mode str mode: should be 'isotropic' or 'uniaxial' (can be abbreviated to 'i' or 'u')
     4742        :param str mode: should be 'isotropic' or 'uniaxial' (can be abbreviated to 'i' or 'u')
    47424743        :param float val1: value for isotropic size (in microns) or 
    47434744           microstrain (delta Q/Q x 10**6, unitless) or the equatorial value in the uniaxial case
     
    47544755            phase0.setSampleProfile(0,'micro','isotropic',1234)
    47554756            phase0.setSampleProfile(0,'m','u',1234,4567,[1,1,1],.5)
    4756             phase0.setSampleProfile(0,'s','u',1.2,2.3,[0,0,1])
     4757            phase0.setSampleProfile(0,'s','uni',1.2,2.3,[0,0,1])
    47574758        """
    47584759        if parmType.lower().startswith('s'):
Note: See TracChangeset for help on using the changeset viewer.