Changeset 3132 for Tutorials


Ignore:
Timestamp:
Oct 12, 2017 10:46:31 AM (4 years ago)
Author:
toby
Message:

more minor G2scriptable changes

Location:
Tutorials/PythonScript
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • Tutorials/PythonScript/Scripting.htm

    r3131 r3132  
    3232<P>
    3333The exercise can be performed by placing all of the Python commands
    34 into a script, but more pedagogical approach will be to enter the
     34into a script, (which can also be
     35<A href="https://subversion.xray.aps.anl.gov/trac/pyGSAS/export/3131/Tutorials/PythonScript/data/example.py">
     36downloaded here</A>),
     37but a more pedagogical approach will be to enter the
    3538commands into a Python interpreter. Use of IPython or Jupyter to run
    3639Python will make this a more pleasant experience.
     
    402405</blockquote><hr>
    403406<address></address>
    404 <!-- hhmts start -->Last modified: Thu Oct 12 10:34:10 CDT 2017 <!-- hhmts end -->
     407<!-- hhmts start -->Last modified: Thu Oct 12 10:45:51 CDT 2017 <!-- hhmts end -->
    405408</body> </html>
  • Tutorials/PythonScript/data/example.py

    r3130 r3132  
     1'''Sample script to demonstrate use of GSASIIscriptable to duplicate the
     2tutorial found here:
     3https://subversion.xray.aps.anl.gov/pyGSAS/Tutorials/CWCombined/Combined%20refinement.htm
     4
     5This script is described in this tutorial:
     6https://subversion.xray.aps.anl.gov/pyGSAS/Tutorials/PythonScript/Scripting.htm
     7'''
     8
    19import os,sys
    210sys.path.insert(0,'/Users/toby/software/G2/GSASII')
Note: See TracChangeset for help on using the changeset viewer.