Changeset 3187 for trunk/GSASIImath.py


Ignore:
Timestamp:
Dec 10, 2017 10:14:04 AM (5 years ago)
Author:
toby
Message:

misc docs cleanups; add 1-ID metadata reader & new config variable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIImath.py

    r3164 r3187  
    8888
    8989    References:
    90     .. [1] G. Strang, *Linear Algebra and Its Applications*, 2nd Ed., Orlando,
    91            FL, Academic Press, Inc., 1980, pp. 139-142.
     90    .. [1] G. Strang, *Linear Algebra and Its Applications*, 2nd Ed., Orlando, FL, Academic Press, Inc., 1980, pp. 139-142.
    9291
    9392    """
     
    874873    :param array Y: normalized vector
    875874   
    876     :returns: array M: transformation matrix
     875    :returns: array M: transformation matrix
     876   
    877877    use as XYZ' = np.inner(M,XYZ) where XYZ are Cartesian
    878878   
     
    41274127           lower=-100, upper=100, dwell=50, slope=0.9,ranStart=False,
    41284128           ranRange=0.10,autoRan=False,dlg=None):
    4129     ''' Scipy license:
    4130         Copyright (c) 2001, 2002 Enthought, Inc.
    4131     All rights reserved.
    4132    
    4133     Copyright (c) 2003-2016 SciPy Developers.
    4134     All rights reserved.
    4135    
    4136     Redistribution and use in source and binary forms, with or without
    4137     modification, are permitted provided that the following conditions are met:
    4138    
    4139       a. Redistributions of source code must retain the above copyright notice,
    4140          this list of conditions and the following disclaimer.
    4141       b. Redistributions in binary form must reproduce the above copyright
    4142          notice, this list of conditions and the following disclaimer in the
    4143          documentation and/or other materials provided with the distribution.
    4144       c. Neither the name of Enthought nor the names of the SciPy Developers
    4145          may be used to endorse or promote products derived from this software
    4146          without specific prior written permission.
    4147     '''
    4148 
    41494129    """Minimize a function using simulated annealing.
    41504130
     
    42384218        T_new = T0 * exp(-c * k**quench)
    42394219
    4240 
    42414220    """
     4221   
     4222    ''' Scipy license:
     4223        Copyright (c) 2001, 2002 Enthought, Inc.
     4224    All rights reserved.
     4225   
     4226    Copyright (c) 2003-2016 SciPy Developers.
     4227    All rights reserved.
     4228   
     4229    Redistribution and use in source and binary forms, with or without
     4230    modification, are permitted provided that the following conditions are met:
     4231   
     4232      a. Redistributions of source code must retain the above copyright notice,
     4233         this list of conditions and the following disclaimer.
     4234      b. Redistributions in binary form must reproduce the above copyright
     4235         notice, this list of conditions and the following disclaimer in the
     4236         documentation and/or other materials provided with the distribution.
     4237      c. Neither the name of Enthought nor the names of the SciPy Developers
     4238         may be used to endorse or promote products derived from this software
     4239         without specific prior written permission.
     4240    '''
    42424241    x0 = asarray(x0)
    42434242    lower = asarray(lower)
Note: See TracChangeset for help on using the changeset viewer.