Changeset 1111 for trunk/testDeriv.py
- Timestamp:
- Oct 16, 2013 3:44:32 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/testDeriv.py
r1077 r1111 1 #testGSASIIstruct.py 1 # -*- coding: utf-8 -*- 2 #testDeriv.py 3 ''' 4 Use this to check derivatives used in structure least squares refinement. To use set DEBUG=True 5 in GSASIIstrMain.py (line 22 as of version 1110), run the least squares - one cycle is sufficient. 6 Do the "Save Results"; this will write the file testDeriv.dat in the local directory7. 7 Run this program to see plots of derivatives for all parameters refined in the last least squares. 8 Shown will be numerical derivatives generated over all observations (including penalty terms) and the 9 corresponding analytical ones produced in the least squares. They should match. 10 ----------------------------------------- 11 ''' 2 12 3 13 import os … … 126 136 Size[1] = max(Size[1],290) + 35 127 137 self.testDerivPanel.SetScrollbars(10,10,Size[0]/10-4,Size[1]/10-1) 128 print Size129 138 self.testDerivPanel.SetSize(Size) 130 139
Note: See TracChangeset
for help on using the changeset viewer.