Changeset 3187 for trunk/GSASIImath.py
- Timestamp:
- Dec 10, 2017 10:14:04 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIImath.py
r3164 r3187 88 88 89 89 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. 92 91 93 92 """ … … 874 873 :param array Y: normalized vector 875 874 876 :returns: array M: transformation matrix 875 :returns: array M: transformation matrix 876 877 877 use as XYZ' = np.inner(M,XYZ) where XYZ are Cartesian 878 878 … … 4127 4127 lower=-100, upper=100, dwell=50, slope=0.9,ranStart=False, 4128 4128 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 without4137 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 copyright4142 notice, this list of conditions and the following disclaimer in the4143 documentation and/or other materials provided with the distribution.4144 c. Neither the name of Enthought nor the names of the SciPy Developers4145 may be used to endorse or promote products derived from this software4146 without specific prior written permission.4147 '''4148 4149 4129 """Minimize a function using simulated annealing. 4150 4130 … … 4238 4218 T_new = T0 * exp(-c * k**quench) 4239 4219 4240 4241 4220 """ 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 ''' 4242 4241 x0 = asarray(x0) 4243 4242 lower = asarray(lower)
Note: See TracChangeset
for help on using the changeset viewer.