spec

Software for Diffraction



spec Manual



Contents:

[ Keyword index ]

       
1.USER MANUAL AND TUTORIALS
              1.1.Introduction
              1.2.Beginner's Guide to Diffractometer Operation
                     1.2.1.Starting Up
                     1.2.2.Using the Printer and Data Files
                     1.2.3.Setting Motor Positions and Moving Motors
                     1.2.4.Counting
                     1.2.5.Scans
              1.3.Introduction To the spec User Interface
                     1.3.1.spec as a Calculator
                     1.3.2.Command Recall (History)
                     1.3.3.Controlling Output To the Printer and Data Files
                     1.3.4.Using Variables
                     1.3.5.Flow Control
                     1.3.6.Macro Facility
                     1.3.7.Command Files
                     1.3.8.Status and Help
                     1.3.9.UNIX Commands
                     1.3.10.Moving Motors
                     1.3.11.Diffractometer Geometry
                     1.3.12.Counting
                     1.3.13.Plotting and Data Analysis
                     1.3.14.CAMAC, GPIB and Serial
              1.4.Using spec with C-PLOT and Other UNIX Utilities
                     1.4.1.Standard Data File Format
                     1.4.2.Scans.4
                            1.4.2.1.Retrieving Scans By Scan Number or File Position Number
                            1.4.2.2.Merging Scans and Background Subtraction
                            1.4.2.3.File Conventions
                            1.4.2.4.Data Columns
                            1.4.2.5.More Details
                            1.4.2.6.The Index File
                            1.4.2.7.Normalization and Error Bars
                     1.4.3.Contents
                     1.4.4.Showscans
       
2.REFERENCE MANUAL
              2.1.Introduction
              2.2.Internal Structure Of spec
              2.3.Syntax Description
                     2.3.1.Comments
                     2.3.2.Identifiers
                     2.3.3.Arrays
                            2.3.3.1.Associative Arrays
                            2.3.3.2.Data Arrays
                     2.3.4.Keywords
                     2.3.5.Numeric Constants
                     2.3.6.String Constants
                     2.3.7.String Patterns and Wild Cards
                     2.3.8.Command Recall (History)
                     2.3.9.Starting Up
                     2.3.10.Keyboard Interrupts
                     2.3.11.Cleanup Macros
                     2.3.12.Exiting
                     2.3.13.Variables
                            2.3.13.1.Built-In Variables
                     2.3.14.Operators
                            2.3.14.1.Unary Operators
                            2.3.14.2.Indirection Operator
                            2.3.14.3.Binary Operators
                            2.3.14.4.Assignment Operators
                            2.3.14.5.Ternary Operator
                     2.3.15.Flow Control
                            2.3.15.1.Conditional Statement
                            2.3.15.2.While Statement
                            2.3.15.3.For Statement
                            2.3.15.4.Break Statement
                            2.3.15.5.Continue Statement
                            2.3.15.6.Exit Statement
                     2.3.16.Grammar Rules
              2.4.Built-In Functions and Commands
                     2.4.1.Utility Functions and Commands
                            2.4.1.1.System Functions
                            2.4.1.2.Miscellaneous
                     2.4.2.Input and Output
                            2.4.2.1.Controlling Output Files
                            2.4.2.2.Log Files
                            2.4.2.3.Reading From Files
                            2.4.2.4.Keyboard Input
                            2.4.2.5.Text Output
                            2.4.2.6.Binary Input/Output
                     2.4.3.Commands For Variables
                     2.4.4.Commands For Macros
                            2.4.4.1.Built-In Commands
                            2.4.4.2.Built-In Macro Names
                            2.4.4.3.Macro Arguments
                            2.4.4.4.Macro Functions
                     2.4.5.Hardware Functions and Commands
                            2.4.5.1.MCA and Other Data Acquisition
                            2.4.5.2.CAMAC (IEEE-583) Hardware Functions
                            2.4.5.3.GPIB (IEEE-488) Hardware Functions
                            2.4.5.4.RS-232 Serial Interfaces
                            2.4.5.5.PC Port I/O
                            2.4.5.6.VME Hardware Functions
                            2.4.5.7.Miscellaneous
                            2.4.5.8.Counting
                            2.4.5.9.Controlling Motors
                     2.4.6.Data Handling and Analysis Functions
                            2.4.6.1.The Data-Pipe Facility
                     2.4.7.String and Number Functions
                            2.4.7.1.Math Functions
                            2.4.7.2.String Functions
                            2.4.7.3.Conversion Functions
       
3.STANDARD MACRO GUIDE
              3.1.Introduction
              3.2.Some Tips
              3.3.Utility Macros
                     3.3.1.UNIX Commands
                     3.3.2.Basic Aliases
                     3.3.3.Basic Utility Macros
                     3.3.4.Reading From Command Files
                     3.3.5.Saving To Output Devices
              3.4.Start-up Macros
              3.5.Motor Macros
              3.6.Counting Macros
              3.7.Plotting Macros
              3.8.Reciprocal Space Macros
              3.9.Scan Macros
                     3.9.1.Scan Miscellany
                     3.9.2.Motor Scans
                     3.9.3.Basic Reciprocal Space Scans
                     3.9.4.Special Reciprocal Space Scans
                     3.9.5.Temperature Scans
                     3.9.6.Powder Mode
                     3.9.7.Customizing Scan Output
              3.10.Temperature Control Macros
              3.11.Printer Initialization Macros
              3.12.The Scan Macros In Detail
              3.13.Standard Data-File Format
       
4.FOUR-CIRCLE REFERENCE
              4.1.Introduction
              4.2.Diffractometer Alignment
              4.3.Orientation Matrix
              4.4.Four-Circle Modes
                     4.4.1.Omega Equals Zero (g_mode = 0)
                            4.4.1.1.Omega Fixed (g_mode = 1)
                                   4.4.1.1.1.Zone or χ and φ Fixed (g_mode = 2)
                                   4.4.1.1.2.Phi Fixed or Three Circle (g_mode = 3)
                                   4.4.1.1.3.Azimuth Fixed (g_mode = 4)
                                   4.4.1.1.4.Alpha Fixed (g_mode = 5)
                                   4.4.1.1.5.Beta Fixed (g_mode = 6)
              4.5.Freezing Angles
              4.6.Sectors
              4.7.Cut Points
              4.8.Four-Circle Files
              4.9.Four-Circle Variables
              4.10.Four-Circle Functions
              4.11.Four-Circle Macros
              4.12.Zone Macros
              4.13.Least-Squares Refinement of Lattice Parameters
       
5.ADMINISTRATOR'S GUIDE
              5.1.Introduction
              5.2.Quick Install
              5.3.Steps For Installing spec
                     5.3.1.Extracting the Distribution
                     5.3.2.Installing the spec Program Files
                     5.3.3.Installing Drivers
                     5.3.4.Selecting the Hardware Configuration
                     5.3.5.Fine Tuning the Hardware Configuration
                     5.3.6.Adding Site-Dependent Help Files
                     5.3.7.Adding Site-Dependent C Code
              5.4.Updating spec
              5.5.Installed Files
                     5.5.1.File Hierarchy
                     5.5.2.The CAMAC Debugging Program
                     5.5.3.Enabling I/O Ports On PC Platforms (not linux)
                     5.5.4.Enabling I/O Ports On PC Platforms Running linux
                     5.5.5.Enabling E/ISA I/O Ports On HP 700 Systems
                     5.5.6.The Configuration Editor
                     5.5.7.The Settings File
                     5.5.8.The Config File
                            5.5.8.1.CAMAC Slots
                            5.5.8.2.Motor Parameters
                            5.5.8.3.Linked Configurations
              5.6.Security Issues
                     5.6.1.Extra Protection