Changeset 4638 for trunk


Ignore:
Timestamp:
Nov 2, 2020 12:51:22 PM (3 years ago)
Author:
toby
Message:

double up backslashes in tables

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIobj.py

    r4617 r4638  
    120120  key            sub-key        explanation
    121121=============  ===============  ====================================================
    122 newCellDict    \                (dict) ith lattice parameters computed by
     122newCellDict    \\                (dict) ith lattice parameters computed by
    123123                                :func:`GSASIIstrMath.GetNewCellParms`
    124 title          \                (str) Name of gpx file(?)
    125 variables      \                (list) Values for all N refined variables
     124title          \\                (str) Name of gpx file(?)
     125variables      \\                (list) Values for all N refined variables
    126126                                (list of float values, length N,
    127127                                ordered to match varyList)
    128 sig            \                (list) Uncertainty values for all N refined variables
     128sig            \\                (list) Uncertainty values for all N refined variables
    129129                                (list of float values, length N,
    130130                                ordered to match varyList)
    131 varyList       \                (list of str values, length N) List of directly refined variables
     131varyList       \\                (list of str values, length N) List of directly refined variables
    132132                               
    133 newAtomDict    \                (dict) atom position values computed in
     133newAtomDict    \\                (dict) atom position values computed in
    134134                                :func:`GSASIIstrMath.ApplyXYZshifts`
    135 Rvals          \                (dict) R-factors, GOF, Marquardt value for last
     135Rvals          \\                (dict) R-factors, GOF, Marquardt value for last
    136136                                refinement cycle
    137 \              Nobs             (int) Number of observed data points
    138 \              Rwp              (float) overall weighted profile R-factor (%)
    139 \              chisq            (float) :math:`\sum w*(I_{obs}-I_{calc})^2`                               
     137\\              Nobs             (int) Number of observed data points
     138\\              Rwp              (float) overall weighted profile R-factor (%)
     139\\              chisq            (float) :math:`\sum w*(I_{obs}-I_{calc})^2`                               
    140140                                for all data.
    141141                                Note: this is not the reduced :math:`\chi^2`.
    142 \              lamMax           (float) Marquardt value applied to Hessian diagonal
    143 \              GOF              (float) The goodness-of-fit, aka square root of
     142\\              lamMax           (float) Marquardt value applied to Hessian diagonal
     143\\              GOF              (float) The goodness-of-fit, aka square root of
    144144                                the reduced chi squared.
    145 covMatrix      \                (np.array) The (NxN) covVariance matrix
     145covMatrix      \\                (np.array) The (NxN) covVariance matrix
    146146=============  ===============  ====================================================
    147147
     
    163163  key         sub-key           explanation
    164164==========  ===============     =====================================================================================================
    165 General         \               (dict) Overall information for the phase
    166   \         3Dproj              (list of str) projections for 3D pole distribution plots
    167   \         AngleRadii          (list of floats) Default radius for each atom used to compute
     165General         \\               (dict) Overall information for the phase
     166  \\         3Dproj              (list of str) projections for 3D pole distribution plots
     167  \\         AngleRadii          (list of floats) Default radius for each atom used to compute
    168168                                interatomic angles
    169   \         AtomMass            (list of floats) Masses for atoms
    170   \         AtomPtrs            (list of int) four locations (cx,ct,cs & cu) to use to pull info
     169  \\         AtomMass            (list of floats) Masses for atoms
     170  \\         AtomPtrs            (list of int) four locations (cx,ct,cs & cu) to use to pull info
    171171                                from the atom records
    172   \         AtomTypes           (llist of str) Atom types
    173   \         BondRadii           (list of floats) Default radius for each atom used to compute
     172  \\         AtomTypes           (llist of str) Atom types
     173  \\         BondRadii           (list of floats) Default radius for each atom used to compute
    174174                                interatomic distances
    175   \         Cell                Unit cell parameters & ref. flag
     175  \\         Cell                Unit cell parameters & ref. flag
    176176                                (list with 8 items. All but first item are float.)
    177177
     
    180180                                 4-6: alpha, beta & gamma, (degrees)
    181181                                 7: volume (:math:`\\AA^3`)
    182   \         Color               (list of (r,b,g) triplets) Colors for atoms
    183   \         Compare             (dict) Polygon comparison parameters
    184   \         Data plot type      (str) data plot type ('Mustrain', 'Size' or
     182  \\         Color               (list of (r,b,g) triplets) Colors for atoms
     183  \\         Compare             (dict) Polygon comparison parameters
     184  \\         Data plot type      (str) data plot type ('Mustrain', 'Size' or
    185185                                'Preferred orientation') for powder data
    186   \         DisAglCtls          (dDict) with distance/angle search controls,
     186  \\         DisAglCtls          (dDict) with distance/angle search controls,
    187187                                which has keys 'Name', 'AtomTypes',
    188188                                'BondRadii', 'AngleRadii' which are as above
     
    191191                                a multiplier for bond and angle search range
    192192                                [typically (0.85,0.85)].
    193   \         F000X               (float) x-ray F(000) intensity
    194   \         F000N               (float) neutron F(000) intensity
    195   \         Flip                (dict) Charge flip controls
    196   \         HydIds              (dict) geometrically generated hydrogen atoms
    197   \         Isotope             (dict) Isotopes for each atom type
    198   \         Isotopes            (dict) Scattering lengths for each isotope
     193  \\         F000X               (float) x-ray F(000) intensity
     194  \\         F000N               (float) neutron F(000) intensity
     195  \\         Flip                (dict) Charge flip controls
     196  \\         HydIds              (dict) geometrically generated hydrogen atoms
     197  \\         Isotope             (dict) Isotopes for each atom type
     198  \\         Isotopes            (dict) Scattering lengths for each isotope
    199199                                combination for each element in phase
    200   \         MCSA controls       (dict) Monte Carlo-Simulated Annealing controls
    201   \         Map                 (dict) Map parameters
    202   \         Mass                (float) Mass of unit cell contents in g/mol
    203   \         Modulated           (bool) True if phase modulated
    204   \         Mydir               (str) Directory of current .gpx file
    205   \         Name                (str) Phase name
    206   \         NoAtoms             (dict) Number of atoms per unit cell of each type
    207   \         POhkl               (list) March-Dollase preferred orientation direction
    208   \         Pawley dmin         (float) maximum Q (as d-space) to use for Pawley extraction
    209   \         Pawley dmax         (float) minimum Q (as d-space) to use for Pawley extraction
    210   \         Pawley neg wt       (float) Restraint value for negative Pawley intensities
    211   \         SGData              (object) Space group details as a
     200  \\         MCSA controls       (dict) Monte Carlo-Simulated Annealing controls
     201  \\         Map                 (dict) Map parameters
     202  \\         Mass                (float) Mass of unit cell contents in g/mol
     203  \\         Modulated           (bool) True if phase modulated
     204  \\         Mydir               (str) Directory of current .gpx file
     205  \\         Name                (str) Phase name
     206  \\         NoAtoms             (dict) Number of atoms per unit cell of each type
     207  \\         POhkl               (list) March-Dollase preferred orientation direction
     208  \\         Pawley dmin         (float) maximum Q (as d-space) to use for Pawley extraction
     209  \\         Pawley dmax         (float) minimum Q (as d-space) to use for Pawley extraction
     210  \\         Pawley neg wt       (float) Restraint value for negative Pawley intensities
     211  \\         SGData              (object) Space group details as a
    212212                                :ref:`space group (SGData) <SGData_table>`
    213213                                object, as defined in :func:`GSASIIspc.SpcGroup`.
    214   \         SH Texture          (dict) Spherical harmonic preferred orientation parameters
    215   \         Super               (int) dimension of super group (0,1 only)
    216   \         Type                (str) phase type (e.g. 'nuclear')
    217   \         Z                   (dict) Atomic numbers for each atom type
    218   \         doDysnomia          (bool) flag for max ent map modification via Dysnomia
    219   \         doPawley            (bool) Flag for Pawley intensity extraction
    220   \         vdWRadii            (dict) Van der Waals radii for each atom type
    221 ranId           \               (int) unique random number Id for phase
    222 pId             \               (int) Phase Id number for current project.
    223 Atoms           \               (list of lists) Atoms in phase as a list of lists. The outer list
     214  \\         SH Texture          (dict) Spherical harmonic preferred orientation parameters
     215  \\         Super               (int) dimension of super group (0,1 only)
     216  \\         Type                (str) phase type (e.g. 'nuclear')
     217  \\         Z                   (dict) Atomic numbers for each atom type
     218  \\         doDysnomia          (bool) flag for max ent map modification via Dysnomia
     219  \\         doPawley            (bool) Flag for Pawley intensity extraction
     220  \\         vdWRadii            (dict) Van der Waals radii for each atom type
     221ranId           \\               (int) unique random number Id for phase
     222pId             \\               (int) Phase Id number for current project.
     223Atoms           \\               (list of lists) Atoms in phase as a list of lists. The outer list
    224224                                is for each atom, the inner list contains varying
    225225                                items depending on the type of phase, see
    226226                                the :ref:`Atom Records <Atoms_table>` description.
    227 Drawing         \               (dict) Display parameters
    228 \           Atoms               (list of lists) with an entry for each atom that is drawn
    229 \           Plane               (list) Controls for contour density plane display
    230 \           Quaternion          (4 element np.array) Viewing quaternion
    231 \           Zclip               (float) clipping distance in :math:`\\AA`
    232 \           Zstep               (float) Step to de/increase Z-clip
    233 \           atomPtrs            (list) positions of x, type, site sym, ADP flag in Draw Atoms
    234 \           backColor           (list) background for plot as and R,G,B triplet
     227Drawing         \\               (dict) Display parameters
     228\\           Atoms               (list of lists) with an entry for each atom that is drawn
     229\\           Plane               (list) Controls for contour density plane display
     230\\           Quaternion          (4 element np.array) Viewing quaternion
     231\\           Zclip               (float) clipping distance in :math:`\\AA`
     232\\           Zstep               (float) Step to de/increase Z-clip
     233\\           atomPtrs            (list) positions of x, type, site sym, ADP flag in Draw Atoms
     234\\           backColor           (list) background for plot as and R,G,B triplet
    235235                                (default = [0, 0, 0], black).
    236 \           ballScale           (float) Radius of spheres in ball-and-stick display
    237 \           bondList            (dict) Bonds
    238 \           bondRadius          (float) Radius of binds in :math:`\\AA`
    239 \           cameraPos           (float) Viewing position in :math:`\\AA` for plot
    240 \           contourLevel        (float) map contour level in :math:`e/\\AA^3`
    241 \           contourMax          (float) map contour maximum
    242 \           depthFog            (bool) True if use depthFog on plot - set currently as False
    243 \           ellipseProb         (float) Probability limit for display of thermal
     236\\           ballScale           (float) Radius of spheres in ball-and-stick display
     237\\           bondList            (dict) Bonds
     238\\           bondRadius          (float) Radius of binds in :math:`\\AA`
     239\\           cameraPos           (float) Viewing position in :math:`\\AA` for plot
     240\\           contourLevel        (float) map contour level in :math:`e/\\AA^3`
     241\\           contourMax          (float) map contour maximum
     242\\           depthFog            (bool) True if use depthFog on plot - set currently as False
     243\\           ellipseProb         (float) Probability limit for display of thermal
    244244                                ellipsoids in % .
    245 \           magMult             (float) multiplier for magnetic moment arrows
    246 \           mapSize             (float) x & y dimensions of contourmap (fixed internally)
    247 \           modelView           (4,4 array) from openGL drawing transofmation matrix
    248 \           oldxy               (list with two floats) previous view point
    249 \           radiusFactor        (float) Distance ratio for searching for bonds. Bonds
     245\\           magMult             (float) multiplier for magnetic moment arrows
     246\\           mapSize             (float) x & y dimensions of contourmap (fixed internally)
     247\\           modelView           (4,4 array) from openGL drawing transofmation matrix
     248\\           oldxy               (list with two floats) previous view point
     249\\           radiusFactor        (float) Distance ratio for searching for bonds. Bonds
    250250                                are located that are within r(Ra+Rb) and (Ra+Rb)/r
    251251                                where Ra and Rb are the atomic radii.
    252 \           selectedAtoms       (list of int values) List of selected atoms
    253 \           showABC             (bool) Flag to show view point triplet. True=show.
    254 \           showHydrogen        (bool) Flag to control plotting of H atoms.
    255 \           showRigidBodies     (bool) Flag to highlight rigid body placement
    256 \           showSlice           (bool) flag to show contour map
    257 \           sizeH               (float) Size ratio for H atoms
    258 \           unitCellBox         (bool) Flag to control display of the unit cell.
    259 \           vdwScale            (float) Multiplier of van der Waals radius for display of vdW spheres.
    260 \           viewDir             (np.array with three floats) cartesian viewing direction
    261 \           viewPoint           (list of lists) First item in list is [x,y,z]
     252\\           selectedAtoms       (list of int values) List of selected atoms
     253\\           showABC             (bool) Flag to show view point triplet. True=show.
     254\\           showHydrogen        (bool) Flag to control plotting of H atoms.
     255\\           showRigidBodies     (bool) Flag to highlight rigid body placement
     256\\           showSlice           (bool) flag to show contour map
     257\\           sizeH               (float) Size ratio for H atoms
     258\\           unitCellBox         (bool) Flag to control display of the unit cell.
     259\\           vdwScale            (float) Multiplier of van der Waals radius for display of vdW spheres.
     260\\           viewDir             (np.array with three floats) cartesian viewing direction
     261\\           viewPoint           (list of lists) First item in list is [x,y,z]
    262262                                in fractional coordinates for the center of
    263263                                the plot. Second item list of previous & current
    264264                                atom number viewed (may be [0,0])
    265 RBModels        \               Rigid body assignments (note Rigid body definitions
     265RBModels        \\               Rigid body assignments (note Rigid body definitions
    266266                                are stored in their own main top-level tree entry.)
    267 RMC             \               (dict) RMCProfile & rmcfull controls
    268 Pawley ref      \               (list) Pawley reflections
    269 Histograms      \               (dict of dicts) The key for the outer dict is
     267RMC             \\               (dict) RMCProfile & rmcfull controls
     268Pawley ref      \\               (list) Pawley reflections
     269Histograms      \\               (dict of dicts) The key for the outer dict is
    270270                                the histograms tied to this phase. The inner
    271271                                dict contains the combined phase/histogram
     
    273273                                size and strain parameters. The following are the
    274274                                keys to the inner dict. (dict)
    275 \           Babinet             (dict) For protein crystallography. Dictionary with two
     275\\           Babinet             (dict) For protein crystallography. Dictionary with two
    276276                                entries, 'BabA', 'BabU'
    277 \           Extinction          (list of float, bool) Extinction parameter
    278 \           Flack               (list of [float, bool]) Flack parameter & refine flag
    279 \           HStrain             (list of two lists) Hydrostatic strain. The first is
     277\\           Extinction          (list of float, bool) Extinction parameter
     278\\           Flack               (list of [float, bool]) Flack parameter & refine flag
     279\\           HStrain             (list of two lists) Hydrostatic strain. The first is
    280280                                a list of the HStrain parameters (1, 2, 3, 4, or 6
    281281                                depending on unit cell), the second is a list of boolean
    282282                                refinement parameters (same length)
    283 \           Histogram           (str) The name of the associated histogram
    284 \           Layer Disp          (list of [float, bool]) Layer displacement in beam direction & refine flag
    285 \           LeBail              (bool) Flag for LeBail extraction
    286 \           Mustrain            (list) Microstrain parameters, in order:
     283\\           Histogram           (str) The name of the associated histogram
     284\\           Layer Disp          (list of [float, bool]) Layer displacement in beam direction & refine flag
     285\\           LeBail              (bool) Flag for LeBail extraction
     286\\           Mustrain            (list) Microstrain parameters, in order:
    287287   
    288288                                0. Type, one of  u'isotropic', u'uniaxial', u'generalized'
     
    292292                                4. Generalized mustrain parameters - list of 2-6 floats, depending on space group
    293293                                5. Generalized refinement flags - list of bools, corresponding to the parameters of (4)
    294 \           Pref.Ori.           (list) Preferred Orientation. List of eight parameters.
     294\\           Pref.Ori.           (list) Preferred Orientation. List of eight parameters.
    295295                                Items marked SH are only used for Spherical Harmonics.
    296296                               
     
    303303                                6. (list) SH
    304304                                7. (float) SH
    305 \           Scale               (list of [float, bool]) Phase fraction & refine flag
    306 \           Size                List of crystallite size parameters, in order:
     305\\           Scale               (list of [float, bool]) Phase fraction & refine flag
     306\\           Size                List of crystallite size parameters, in order:
    307307
    308308                                0. (str) Type, one of  u'isotropic', u'uniaxial', u'ellipsoidal'
     
    312312                                4. (list) Ellipsoidal size parameters - list of 6 floats
    313313                                5. (list) Ellipsoidal refinement flags - list of bools, corresponding to the parameters of (4)
    314 \           Use                 (bool) True if this histogram is to be used in refinement
    315 \           newLeBail           (bool) Whether to perform a new LeBail extraction
    316 MCSA            \               (dict) Monte-Carlo simulated annealing parameters
     314\\           Use                 (bool) True if this histogram is to be used in refinement
     315\\           newLeBail           (bool) Whether to perform a new LeBail extraction
     316MCSA            \\               (dict) Monte-Carlo simulated annealing parameters
    317317==========  ===============     =====================================================================================================
    318318
     
    337337==========  ===============     ====================================================
    338338Vector      RBId                (dict of dict) vector rigid bodies
    339 \           AtInfo              (dict) Drad, Color: atom drawing radius & color for each atom type
    340 \           RBname              (str) Name assigned by user to rigid body
    341 \           VectMag             (list) vector magnitudes in :math:`\\AA`
    342 \           rbXYZ               (list of 3 float Cartesian coordinates for Vector rigid body )
    343 \           rbRef               (list of 3 int & 1 bool) 3 assigned reference atom nos. in rigid body for origin
     339\\           AtInfo              (dict) Drad, Color: atom drawing radius & color for each atom type
     340\\           RBname              (str) Name assigned by user to rigid body
     341\\           VectMag             (list) vector magnitudes in :math:`\\AA`
     342\\           rbXYZ               (list of 3 float Cartesian coordinates for Vector rigid body )
     343\\           rbRef               (list of 3 int & 1 bool) 3 assigned reference atom nos. in rigid body for origin
    344344                                definition, use center of atoms flag
    345 \           VectRef             (list of bool refinement flags for VectMag values )
    346 \           rbTypes             (list of str) Atom types for each atom in rigid body
    347 \           rbVect              (list of lists) Cartesian vectors for each translation used to build rigid body
    348 \           useCount            (int) Number of times rigid body is used in any structure
     345\\           VectRef             (list of bool refinement flags for VectMag values )
     346\\           rbTypes             (list of str) Atom types for each atom in rigid body
     347\\           rbVect              (list of lists) Cartesian vectors for each translation used to build rigid body
     348\\           useCount            (int) Number of times rigid body is used in any structure
    349349Residue     RBId                (dict of dict) residue rigid bodies
    350 \           AtInfo              (dict) Drad, Color: atom drawing radius & color for each atom type
    351 \           RBname              (str) Name assigned by user to rigid body
    352 \           rbXYZ               (list of 3 float) Cartesian coordinates for Residue rigid body
    353 \           rbTypes             (list of str) Atom types for each atom in rigid body
    354 \           atNames             (list of str) Names of each atom in rigid body (e.g. C1,N2...)
    355 \           rbRef               (list of 3 int & 1 bool) 3 assigned reference atom nos. in rigid body for origin
     350\\           AtInfo              (dict) Drad, Color: atom drawing radius & color for each atom type
     351\\           RBname              (str) Name assigned by user to rigid body
     352\\           rbXYZ               (list of 3 float) Cartesian coordinates for Residue rigid body
     353\\           rbTypes             (list of str) Atom types for each atom in rigid body
     354\\           atNames             (list of str) Names of each atom in rigid body (e.g. C1,N2...)
     355\\           rbRef               (list of 3 int & 1 bool) 3 assigned reference atom nos. in rigid body for origin
    356356                                definition, use center of atoms flag
    357 \           rbSeq               (list) Orig,Piv,angle,Riding : definition of internal rigid body
     357\\           rbSeq               (list) Orig,Piv,angle,Riding : definition of internal rigid body
    358358                                torsion; origin atom (int), pivot atom (int), torsion angle (float),
    359359                                riding atoms (list of int)
    360 \           SelSeq              (int,int) used by SeqSizer to identify objects
    361 \           useCount            (int)Number of times rigid body is used in any structure
    362 RBIds           \               (dict) unique Ids generated upon creation of each rigid body
    363 \           Vector              (list) Ids for each Vector rigid body
    364 \           Residue             (list) Ids for each Residue rigid body
     360\\           SelSeq              (int,int) used by SeqSizer to identify objects
     361\\           useCount            (int)Number of times rigid body is used in any structure
     362RBIds           \\               (dict) unique Ids generated upon creation of each rigid body
     363\\           Vector              (list) Ids for each Vector rigid body
     364\\           Residue             (list) Ids for each Residue rigid body
    365365==========  ===============     ====================================================
    366366
     
    557557  key                       sub-key          explanation
    558558======================     ===============  ===========================================================
    559 Comments                    \               (list of str) Text strings extracted from the original powder
     559Comments                    \\               (list of str) Text strings extracted from the original powder
    560560                                            data header. These cannot be changed by the user;
    561561                                            it may be empty.
    562 Limits                      \               (list) two two element lists, as [[Ld,Hd],[L,H]]
     562Limits                      \\               (list) two two element lists, as [[Ld,Hd],[L,H]]
    563563                                            where L and Ld are the current and default lowest
    564564                                            two-theta value to be used and
    565565                                            where H and Hd are the current and default highest
    566566                                            two-theta value to be used.
    567 Reflection Lists            \               (dict of dicts) with an entry for each phase in the
     567Reflection Lists            \\               (dict of dicts) with an entry for each phase in the
    568568                                            histogram. The contents of each dict item
    569569                                            is a dict containing reflections, as described in
    570570                                            the :ref:`Powder Reflections <PowderRefl_table>`
    571571                                            description.
    572 Instrument Parameters       \               (dict) The instrument parameters uses different dicts
     572Instrument Parameters       \\               (dict) The instrument parameters uses different dicts
    573573                                            for the constant wavelength (CW) and time-of-flight (TOF)
    574574                                            cases. See below for the descriptions of each.
    575 wtFactor                    \               (float) A weighting factor to increase or decrease
     575wtFactor                    \\               (float) A weighting factor to increase or decrease
    576576                                            the leverage of data in the histogram .
    577577                                            A value of 1.0 weights the data with their
     
    579579                                            increases the weighting of the data (equivalent
    580580                                            to decreasing the uncertainties).
    581 Sample Parameters           \               (dict) Parameters that describe how
     581Sample Parameters           \\               (dict) Parameters that describe how
    582582                                            the data were collected, as listed
    583583                                            below. Refinable parameters are a list containing
     
    585585                                            specifies if the value is refined, otherwise
    586586                                            the value is a float unless otherwise noted.
    587 \                           Scale           The histogram scale factor (refinable)
    588 \                           Absorption      The sample absorption coefficient as
     587\\                           Scale           The histogram scale factor (refinable)
     588\\                           Absorption      The sample absorption coefficient as
    589589                                            :math:`\\mu r` where r is the radius
    590590                                            (refinable). Only valid for Debye-Scherrer geometry.
    591 \                           SurfaceRoughA   Surface roughness parameter A as defined by
     591\\                           SurfaceRoughA   Surface roughness parameter A as defined by
    592592                                            Surotti, *J. Appl. Cryst*, **5**, 325-331, 1972.
    593593                                            (refinable - only valid for Bragg-Brentano geometry)
    594 \                           SurfaceRoughB   Surface roughness parameter B (refinable -
     594\\                           SurfaceRoughB   Surface roughness parameter B (refinable -
    595595                                            only valid for Bragg-Brentano geometry)
    596 \                           DisplaceX,      Sample displacement from goniometer center
     596\\                           DisplaceX,      Sample displacement from goniometer center
    597597                            DisplaceY       where Y is along the beam direction and
    598598                                            X is perpendicular. Units are :math:`\\mu m`
    599599                                            (refinable).
    600 \                           Phi, Chi,       Goniometer sample setting angles, in degrees.
     600\\                           Phi, Chi,       Goniometer sample setting angles, in degrees.
    601601                            Omega
    602 \                           Gonio. radius   Radius of the diffractometer in mm
    603 \                           InstrName       (str) A name for the instrument, used in preparing
     602\\                           Gonio. radius   Radius of the diffractometer in mm
     603\\                           InstrName       (str) A name for the instrument, used in preparing
    604604                                            a CIF .
    605 \                           Force,          Variables that describe how the measurement
     605\\                           Force,          Variables that describe how the measurement
    606606                            Temperature,    was performed. Not used directly in
    607607                            Humidity,       any computations.
    608608                            Pressure,
    609609                            Voltage
    610 \                           ranId           (int) The random-number Id for the histogram
     610\\                           ranId           (int) The random-number Id for the histogram
    611611                                            (same value as where top-level key is ranId)
    612 \                           Type            (str) Type of diffraction data, may be 'Debye-Scherrer'
     612\\                           Type            (str) Type of diffraction data, may be 'Debye-Scherrer'
    613613                                            or 'Bragg-Brentano' .
    614 hId                         \               (int) The number assigned to the histogram when
     614hId                         \\               (int) The number assigned to the histogram when
    615615                                            the project is loaded or edited (can change)
    616 ranId                       \               (int) A random number id for the histogram
     616ranId                       \\               (int) A random number id for the histogram
    617617                                            that does not change
    618 Background                  \               (list) The background is stored as a list with where
     618Background                  \\               (list) The background is stored as a list with where
    619619                                            the first item in the list is list and the second
    620620                                            item is a dict. The list contains the background
     
    622622                                            Debye diffuse terms and background peaks.
    623623                                            (TODO: this needs to be expanded.)
    624 Data                        \               (list) The data consist of a list of 6 np.arrays
     624Data                        \\               (list) The data consist of a list of 6 np.arrays
    625625                                            containing in order:
    626626
     
    658658                                                * 'PXC' for constant wavelength x-ray
    659659                                                * 'PNC' for constant wavelength neutron
    660 \                           Bank [*]            (int) Data set number in a multidata file (usually 1)
    661 \                           Lam                 (float) Specifies a wavelength in :math:`\\AA`
    662 \                           Lam1 [*]            (float) Specifies the primary wavelength in
     660\\                           Bank [*]            (int) Data set number in a multidata file (usually 1)
     661\\                           Lam                 (float) Specifies a wavelength in :math:`\\AA`
     662\\                           Lam1 [*]            (float) Specifies the primary wavelength in
    663663                                                :math:`\\AA`, used in place of Lam
    664664                                                when an :math:`\\alpha_1, \\alpha_2`
    665665                                                source is used.
    666 \                           Lam2 [*]            (float) Specifies the secondary wavelength in
     666\\                           Lam2 [*]            (float) Specifies the secondary wavelength in
    667667                                                :math:`\\AA`, used with Lam1
    668 \                           I(L2)/I(L1)         (float) Ratio of Lam2 to Lam1, used with Lam1
    669 \                           Zero                (float) Two-theta zero correction in *degrees*
    670 \                           Azimuth [*]         (float) Azimuthal setting angle for data recorded with differing setting angles
    671 \                           U, V, W             (float) Cagliotti profile coefficients
     668\\                           I(L2)/I(L1)         (float) Ratio of Lam2 to Lam1, used with Lam1
     669\\                           Zero                (float) Two-theta zero correction in *degrees*
     670\\                           Azimuth [*]         (float) Azimuthal setting angle for data recorded with differing setting angles
     671\\                           U, V, W             (float) Cagliotti profile coefficients
    672672                                                for Gaussian instrumental broadening, where the
    673673                                                FWHM goes as
    674674                                                :math:`U \\tan^2\\theta + V \\tan\\theta + W`
    675 \                           X, Y, Z             (float) Cauchy (Lorentzian) instrumental broadening coefficients
    676 \                           SH/L                (float) Variant of the Finger-Cox-Jephcoat asymmetric
     675\\                           X, Y, Z             (float) Cauchy (Lorentzian) instrumental broadening coefficients
     676\\                           SH/L                (float) Variant of the Finger-Cox-Jephcoat asymmetric
    677677                                                peak broadening ratio. Note that this is the
    678678                                                sum of S/L and H/L where S is
    679679                                                sample height, H is the slit height and
    680680                                                L is the goniometer diameter.
    681 \                           Polariz.            (float) Polarization coefficient.
     681\\                           Polariz.            (float) Polarization coefficient.
    682682Instrument Parameters[1]                        (empty dict)
    683683========================    ===============  ===========================================================
     
    707707Instrument Parameters[0]    Type [*]            (str) Histogram type:
    708708                                                * 'PNT' for time of flight neutron
    709 \                           Bank                (int) Data set number in a multidata file
    710 \                           2-theta [*]         (float) Nominal scattering angle for the detector
    711 \                           fltPath [*]         (float) Total flight path source-sample-detector
    712 \                           Azimuth [*]         (float) Azimuth angle for detector right hand rotation
     709\\                           Bank                (int) Data set number in a multidata file
     710\\                           2-theta [*]         (float) Nominal scattering angle for the detector
     711\\                           fltPath [*]         (float) Total flight path source-sample-detector
     712\\                           Azimuth [*]         (float) Azimuth angle for detector right hand rotation
    713713                                                from horizontal away from source
    714 \                           difC,difA,          (float) Diffractometer constants for conversion of d-spacing to TOF
     714\\                           difC,difA,          (float) Diffractometer constants for conversion of d-spacing to TOF
    715715                            difB                in microseconds
    716 \                           Zero                (float) Zero point offset (microseconds)
    717 \                           alpha               (float) Exponential rise profile coefficients
    718 \                           beta-0              (float) Exponential decay profile coefficients
     716\\                           Zero                (float) Zero point offset (microseconds)
     717\\                           alpha               (float) Exponential rise profile coefficients
     718\\                           beta-0              (float) Exponential decay profile coefficients
    719719                            beta-1
    720720                            beta-q
    721 \                           sig-0               (float) Gaussian profile coefficients
     721\\                           sig-0               (float) Gaussian profile coefficients
    722722                            sig-1
    723723                            sig-2
    724724                            sig-q   
    725 \                           X,Y,Z               (float) Lorentzian profile coefficients
     725\\                           X,Y,Z               (float) Lorentzian profile coefficients
    726726Instrument Parameters[1]    Pdabc               (list of 4 float lists) Originally created for use in gsas as optional tables
    727727                                                of d, alp, bet, d-true; for a reflection alpha & beta are obtained via interpolation
     
    786786  key                      sub-key          explanation
    787787======================  ===============     ====================================================
    788 Data                        \               (dict) that contains the
     788Data                        \\               (dict) that contains the
    789789                                            reflection table,
    790790                                            as described in the
     
    793793                                            description.
    794794
    795 Instrument Parameters       \               (list) containing two dicts where the possible
     795Instrument Parameters       \\               (list) containing two dicts where the possible
    796796                                            keys in each dict are listed below. The value
    797797                                            for most items is a list containing two values:
     
    799799                                            The first and second
    800800                                            values are floats unless otherwise noted.
    801 \                           Lam             (two floats) Specifies a wavelength in :math:`\\AA`
    802 \                           Type            (two str values) Histogram type :
     801\\                           Lam             (two floats) Specifies a wavelength in :math:`\\AA`
     802\\                           Type            (two str values) Histogram type :
    803803                                            * 'SXC' for constant wavelength x-ray
    804804                                            * 'SNC' for constant wavelength neutron
    805805                                            * 'SNT' for time of flight neutron
    806 \                           InstrName       (str) A name for the instrument, used in preparing a CIF
    807 wtFactor                    \               (float) A weighting factor to increase or decrease
     806\\                           InstrName       (str) A name for the instrument, used in preparing a CIF
     807wtFactor                    \\               (float) A weighting factor to increase or decrease
    808808                                            the leverage of data in the histogram.
    809809                                            A value of 1.0 weights the data with their
     
    812812                                            to decreasing the uncertainties).
    813813
    814 hId                         \               (int) The number assigned to the histogram when
     814hId                         \\               (int) The number assigned to the histogram when
    815815                                            the project is loaded or edited (can change)
    816 ranId                       \               (int) A random number id for the histogram
     816ranId                       \\               (int) A random number id for the histogram
    817817                                            that does not change
    818818======================  ===============     ====================================================
     
    873873  key                      sub-key              explanation
    874874======================  ======================  ====================================================
    875 Comments                    \                   (list of str) Text strings extracted from the original image data
     875Comments                    \\                   (list of str) Text strings extracted from the original image data
    876876                                                header or a metafile. These cannot be changed by
    877877                                                the user; it may be empty.
     
    881881                                                X-axis
    882882                                                horizontal.
    883 \                           background image    (list:str,float) The name of a tree item ("IMG ...") that is to be subtracted
     883\\                           background image    (list:str,float) The name of a tree item ("IMG ...") that is to be subtracted
    884884                                                during image integration multiplied by value. It must have the same size/shape as
    885885                                                the integrated image. NB: value < 0 for subtraction.
    886 \                           calibrant           (str) The material used for determining the position/orientation
     886\\                           calibrant           (str) The material used for determining the position/orientation
    887887                                                of the image. The data is obtained from :func:`ImageCalibrants`
    888888                                                and UserCalibrants.py (supplied by user).
    889 \                           calibdmin           (float) The minimum d-spacing used during the last calibration run.
    890 \                           calibskip           (int) The number of expected diffraction lines skipped during the last
     889\\                           calibdmin           (float) The minimum d-spacing used during the last calibration run.
     890\\                           calibskip           (int) The number of expected diffraction lines skipped during the last
    891891                                                calibration run.
    892 \                           center              (list:floats) The [X,Y] point in detector coordinates (mm) where the direct beam
     892\\                           center              (list:floats) The [X,Y] point in detector coordinates (mm) where the direct beam
    893893                                                strikes the detector plane as determined by calibration. This point
    894894                                                does not have to be within the limits of the detector boundaries.
    895 \                           centerAzm           (bool) If True then the azimuth reported for the integrated slice
     895\\                           centerAzm           (bool) If True then the azimuth reported for the integrated slice
    896896                                                of the image is at the center line otherwise it is at the leading edge.
    897 \                           color               (str) The name of the colormap used to display the image. Default = 'Paired'.
    898 \                           cutoff              (float) The minimum value of I/Ib for a point selected in a diffraction ring for
     897\\                           color               (str) The name of the colormap used to display the image. Default = 'Paired'.
     898\\                           cutoff              (float) The minimum value of I/Ib for a point selected in a diffraction ring for
    899899                                                calibration calculations. See pixLimit for details as how point is found.
    900 \                           DetDepth            (float) Coefficient for penetration correction to distance; accounts for diffraction
     900\\                           DetDepth            (float) Coefficient for penetration correction to distance; accounts for diffraction
    901901                                                ring offset at higher angles. Optionally determined by calibration.
    902 \                           DetDepthRef         (bool) If True then refine DetDepth during calibration/recalibration calculation.
    903 \                           distance            (float) The distance (mm) from sample to detector plane.
    904 \                           ellipses            (list:lists) Each object in ellipses is a list [center,phi,radii,color] where
     902\\                           DetDepthRef         (bool) If True then refine DetDepth during calibration/recalibration calculation.
     903\\                           distance            (float) The distance (mm) from sample to detector plane.
     904\\                           ellipses            (list:lists) Each object in ellipses is a list [center,phi,radii,color] where
    905905                                                center (list) is location (mm) of the ellipse center on the detector plane, phi is the
    906906                                                rotation of the ellipse minor axis from the x-axis, and radii are the minor & major
    907907                                                radii of the ellipse. If radii[0] is negative then parameters describe a hyperbola. Color
    908908                                                is the selected drawing color (one of 'b', 'g' ,'r') for the ellipse/hyperbola.
    909 \                           edgemin             (float) Not used;  parameter in EdgeFinder code.
    910 \                           fullIntegrate       (bool) If True then integrate over full 360 deg azimuthal range.
    911 \                           GonioAngles         (list:floats) The 'Omega','Chi','Phi' goniometer angles used for this image.
     909\\                           edgemin             (float) Not used;  parameter in EdgeFinder code.
     910\\                           fullIntegrate       (bool) If True then integrate over full 360 deg azimuthal range.
     911\\                           GonioAngles         (list:floats) The 'Omega','Chi','Phi' goniometer angles used for this image.
    912912                                                Required for texture calculations.
    913 \                           invert_x            (bool) If True display the image with the x-axis inverted.
    914 \                           invert_y            (bool) If True display the image with the y-axis inverted.
    915 \                           IOtth               (list:floats) The minimum and maximum 2-theta values to be used for integration.
    916 \                           LRazimuth           (list:floats) The minimum and maximum azimuth values to be used for integration.
    917 \                           Oblique             (list:float,bool) If True apply a detector absorption correction using the value to the
     913\\                           invert_x            (bool) If True display the image with the x-axis inverted.
     914\\                           invert_y            (bool) If True display the image with the y-axis inverted.
     915\\                           IOtth               (list:floats) The minimum and maximum 2-theta values to be used for integration.
     916\\                           LRazimuth           (list:floats) The minimum and maximum azimuth values to be used for integration.
     917\\                           Oblique             (list:float,bool) If True apply a detector absorption correction using the value to the
    918918                                                intensities obtained during integration.
    919 \                           outAzimuths         (int) The number of azimuth pie slices.
    920 \                           outChannels         (int) The number of 2-theta steps.
    921 \                           pixelSize           (list:ints) The X,Y dimensions (microns) of each pixel.
    922 \                           pixLimit            (int) A box in the image with 2*pixLimit+1 edges is searched to find the maximum.
     919\\                           outAzimuths         (int) The number of azimuth pie slices.
     920\\                           outChannels         (int) The number of 2-theta steps.
     921\\                           pixelSize           (list:ints) The X,Y dimensions (microns) of each pixel.
     922\\                           pixLimit            (int) A box in the image with 2*pixLimit+1 edges is searched to find the maximum.
    923923                                                This value (I) along with the minimum (Ib) in the box is reported by :func:`GSASIIimage.ImageLocalMax`
    924924                                                and subject to cutoff in :func:`GSASIIimage.makeRing`.
    925925                                                Locations are used to construct rings of points for calibration calcualtions.
    926 \                           PolaVal             (list:float,bool) If type='SASD' and if True, apply polarization correction to intensities from
     926\\                           PolaVal             (list:float,bool) If type='SASD' and if True, apply polarization correction to intensities from
    927927                                                integration using value.
    928 \                           rings               (list:lists) Each entry is [X,Y,dsp] where X & Y are lists of x,y coordinates around a
     928\\                           rings               (list:lists) Each entry is [X,Y,dsp] where X & Y are lists of x,y coordinates around a
    929929                                                diffraction ring with the same d-spacing (dsp)
    930 \                           ring                (list) The x,y coordinates of the >5 points on an inner ring
     930\\                           ring                (list) The x,y coordinates of the >5 points on an inner ring
    931931                                                selected by the user,
    932 \                           Range               (list) The minimum & maximum values of the image
    933 \                           rotation            (float) The angle between the x-axis and the vector about which the
     932\\                           Range               (list) The minimum & maximum values of the image
     933\\                           rotation            (float) The angle between the x-axis and the vector about which the
    934934                                                detector is tilted. Constrained to -180 to 180 deg.
    935 \                           SampleShape         (str) Currently only 'Cylinder'. Sample shape for Debye-Scherrer experiments; used for absorption
     935\\                           SampleShape         (str) Currently only 'Cylinder'. Sample shape for Debye-Scherrer experiments; used for absorption
    936936                                                calculations.
    937 \                           SampleAbs           (list: float,bool) Value of absorption coefficient for Debye-Scherrer experimnents, flag if True
     937\\                           SampleAbs           (list: float,bool) Value of absorption coefficient for Debye-Scherrer experimnents, flag if True
    938938                                                to cause correction to be applied.
    939 \                           setDefault          (bool) If True the use the image controls values for all new images to be read. (might be removed)
    940 \                           setRings            (bool) If True then display all the selected x,y ring positions (vida supra rings) used in the calibration.
    941 \                           showLines           (bool) If True then isplay the integration limits to be used.
    942 \                           size                (list:int) The number of pixels on the image x & y axes
    943 \                           type                (str) One of 'PWDR', 'SASD' or 'REFL' for powder, small angle or reflectometry data, respectively.
    944 \                           tilt                (float) The angle the detector normal makes with the incident beam; range -90 to 90.
    945 \                           wavelength          (float) The radiation wavelength (:math:`\\AA`) as entered by the user
     939\\                           setDefault          (bool) If True the use the image controls values for all new images to be read. (might be removed)
     940\\                           setRings            (bool) If True then display all the selected x,y ring positions (vida supra rings) used in the calibration.
     941\\                           showLines           (bool) If True then isplay the integration limits to be used.
     942\\                           size                (list:int) The number of pixels on the image x & y axes
     943\\                           type                (str) One of 'PWDR', 'SASD' or 'REFL' for powder, small angle or reflectometry data, respectively.
     944\\                           tilt                (float) The angle the detector normal makes with the incident beam; range -90 to 90.
     945\\                           wavelength          (float) The radiation wavelength (:math:`\\AA`) as entered by the user
    946946                                                (or someday obtained from the image header).
    947947Masks                       Arcs                (list: lists) Each entry [2-theta,[azimuth[0],azimuth[1]],thickness] describes an arc mask
    948948                                                to be excluded from integration
    949 \                           Frames              (list:lists) Each entry describes the x,y points (3 or more - mm) that describe a frame outside
     949\\                           Frames              (list:lists) Each entry describes the x,y points (3 or more - mm) that describe a frame outside
    950950                                                of which is excluded from recalibration and integration. Only one frame is allowed.
    951 \                           Points              (list:lists) Each entry [x,y,radius] (mm) describes an excluded spot on the image to be excluded
     951\\                           Points              (list:lists) Each entry [x,y,radius] (mm) describes an excluded spot on the image to be excluded
    952952                                                from integration.
    953 \                           Polygons            (list:lists) Each entry is a list of 3+ [x,y] points (mm) that describe a polygon on the image
     953\\                           Polygons            (list:lists) Each entry is a list of 3+ [x,y] points (mm) that describe a polygon on the image
    954954                                                to be excluded from integration.
    955 \                           Rings               (list: lists) Each entry [2-theta,thickness] describes a ring mask
     955\\                           Rings               (list: lists) Each entry [2-theta,thickness] describes a ring mask
    956956                                                to be excluded from integration.
    957 \                           Thresholds          (list:[tuple,list]) [(Imin,Imax),[Imin,Imax]] This gives lower and upper limits for points on the image to be included
     957\\                           Thresholds          (list:[tuple,list]) [(Imin,Imax),[Imin,Imax]] This gives lower and upper limits for points on the image to be included
    958958                                                in integrsation. The tuple is the image intensity limits and the list are those set by the user.
    959 \                           SpotMask            (dict: int & array)
     959\\                           SpotMask            (dict: int & array)
    960960                                                'esdMul'(int) number of standard deviations above mean ring intensity to mask
    961961                                                'spotMask' (bool array) the spot mask for every pixel in image         
    962962
    963963Stress/Strain               Sample phi          (float) Sample rotation about vertical axis.
    964 \                           Sample z            (float) Sample translation from the calibration sample position (for Sample phi = 0)
     964\\                           Sample z            (float) Sample translation from the calibration sample position (for Sample phi = 0)
    965965                                                These will be restricted by space group symmetry; result of strain fit refinement.
    966 \                           Type                (str) 'True' or 'Conventional': The strain model used for the calculation.
    967 \                           d-zero              (list:dict) Each item is for a diffraction ring on the image; all items are from the same phase
     966\\                           Type                (str) 'True' or 'Conventional': The strain model used for the calculation.
     967\\                           d-zero              (list:dict) Each item is for a diffraction ring on the image; all items are from the same phase
    968968                                                and are used to determine the strain tensor.
    969969                                                The dictionary items are:
Note: See TracChangeset for help on using the changeset viewer.