Ignore:
Timestamp:
Oct 15, 2017 7:50:23 PM (4 years ago)
Author:
toby
Message:

create tutorials list from info in GSASIIctrlGUI.py

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIctrlGUI.py

    r3075 r3135  
    44824482################################################################################
    44834483G2BaseURL = "https://subversion.xray.aps.anl.gov/pyGSAS"
    4484 # N.B. tutorialCatalog is generated by routine catalog.py, which also generates the appropriate
    4485 # empty directories (.../MT/* .../trunk/GSASII/* *=[help,Exercises])
    4486 tutorialCatalog = (
     4484tutorialIndex = (
    44874485    # tutorial dir,      web page file name,      title for page
    4488 
     4486    ['Getting started'],
    44894487    ['StartingGSASII', 'Starting GSAS.htm', 'Starting GSAS-II'],
     4488
     4489    ['Rietveld fitting'],
    44904490       
    44914491    ['LabData', 'Laboratory X.htm', 'Fitting laboratory X-ray powder data for fluoroapatite'],
    44924492    ['CWNeutron', 'Neutron CW Powder Data.htm', 'CW Neutron Powder fit for Yttrium-Iron Garnet'],
    4493 
     4493    ['CWCombined', 'Combined refinement.htm', 'Combined X-ray/CW-neutron refinement of PbSO4'],
     4494    ['TOF-CW Joint Refinement', 'TOF combined XN Rietveld refinement in GSAS.htm', 'Combined X-ray/TOF-neutron Rietveld refinement'],
     4495    ['BkgFit', 'FitBkgTut.htm',  'Fitting the Starting Background using Fixed Points'],
     4496   
     4497    ['Parametric Rietveld fitting'],
     4498    ['SeqRefine', 'SequentialTutorial.htm', 'Sequential refinement of multiple datasets'],
     4499    ['SeqParametric', 'ParametricFitting.htm', '     Parametric Fitting and Pseudo Variables for Sequential Fits'],
     4500
     4501    ['Structure solution'],
    44944502    ['FitPeaks', 'Fit Peaks.htm', 'Fitting individual peaks & autoindexing'],
    44954503    ['CFjadarite', 'Charge Flipping in GSAS.htm', '     Charge Flipping structure solution for jadarite'],
    44964504    ['CFsucrose', 'Charge Flipping - sucrose.htm','     Charge Flipping structure solution for sucrose'],
    4497     ['BkgFit', 'FitBkgTut.htm',  'Fitting the Starting Background using Fixed Points'],
    4498        
    4499     ['CWCombined', 'Combined refinement.htm', 'Combined X-ray/CW-neutron refinement of PbSO4'],
    4500     ['TOF-CW Joint Refinement', 'TOF combined XN Rietveld refinement in GSAS.htm', 'Combined X-ray/TOF-neutron Rietveld refinement'],
    4501     ['SeqRefine', 'SequentialTutorial.htm', 'Sequential refinement of multiple datasets'],
    4502     ['SeqParametric', 'ParametricFitting.htm', '     Parametric Fitting and Pseudo Variables for Sequential Fits'],
    4503        
     4505    ['CFXraySingleCrystal', 'CFSingleCrystal.htm', 'Charge Flipping structure solution with Xray single crystal data'],       
     4506    ['TOF Charge Flipping', 'Charge Flipping with TOF single crystal data in GSASII.htm', 'Charge flipping with neutron TOF single crystal data'],
     4507    ['MCsimanneal', 'MCSA in GSAS.htm', 'Monte-Carlo simulated annealing structure determination'],
     4508
     4509    ['Stacking Fault Modeling'],
    45044510    ['StackingFaults-I', 'Stacking Faults-I.htm', 'Stacking fault simulations for diamond'],
    45054511    ['StackingFaults-II', 'Stacking Faults II.htm', 'Stacking fault simulations for Keokuk kaolinite'],
    45064512    ['StackingFaults-III', 'Stacking Faults-III.htm', 'Stacking fault simulations for Georgia kaolinite'],
    4507        
    4508     ['CFXraySingleCrystal', 'CFSingleCrystal.htm', 'Charge Flipping structure solution with Xray single crystal data'],       
    4509     ['TOF Charge Flipping', 'Charge Flipping with TOF single crystal data in GSASII.htm', 'Charge flipping with neutron TOF single crystal data'],
    4510     ['MCsimanneal', 'MCSA in GSAS.htm', 'Monte-Carlo simulated annealing structure determination'],
    4511        
    4512     ['MerohedralTwins', 'Merohedral twin refinement in GSAS.htm', 'Merohedral twin refinements'],
    4513 
     4513
     4514    ['Image Calibration/Integration'],
    45144515    ['2DCalibration', 'Calibration of an area detector in GSAS.htm', 'Calibration of an area detector'],
    45154516    ['2DIntegration', 'Integration of area detector data in GSAS.htm', '     Integration of area detector data'],
    45164517    ['TOF Calibration', 'Calibration of a TOF powder diffractometer.htm', 'Calibration of a Neutron TOF diffractometer'],
    4517     ['TOF Single Crystal Refinement', 'TOF single crystal refinement in GSAS.htm', 'Single crystal refinement from TOF data'],
    4518        
     4518
     4519    ['Small-Angle Scattering'],       
    45194520    ['2DStrain', 'Strain fitting of 2D data in GSAS-II.htm', 'Strain fitting of 2D data'],
    45204521    ['2DTexture', 'Texture analysis of 2D data in GSAS-II.htm', 'Texture analysis of 2D data'],
     
    45244525    ['SAimages', 'Small Angle Image Processing.htm', 'Image Processing of small angle x-ray data'],
    45254526    ['SAseqref', 'Sequential Refinement of Small Angle Scattering Data.htm', 'Sequential refinement with small angle scattering data'],
     4527
     4528    ['Other'],   
     4529    ['MerohedralTwins', 'Merohedral twin refinement in GSAS.htm', 'Merohedral twin refinements'],
     4530    ['TOF Single Crystal Refinement', 'TOF single crystal refinement in GSAS.htm', 'Single crystal refinement from TOF data'],
     4531    ['PythonScript','Scripting.htm','Scripting a GSAS-II Refinement from Python']
    45264532   
    45274533    #['ExampleDir', 'ExamplePage.html', 'Example Tutorial Title'],
    45284534    )
     4535tutorialCatalog = [l for l in tutorialIndex if len(l) == 3]
    45294536
    45304537class OpenTutorial(wx.Dialog):
Note: See TracChangeset for help on using the changeset viewer.