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.Doc Strings
                     2.3.3.Identifiers
                     2.3.4.Arrays
                            2.3.4.1.Associative Arrays
                            2.3.4.2.Data Arrays
                                   2.3.4.2.1.Data Array Usage
                                   2.3.4.2.2.String Data Arrays
                                   2.3.4.2.3.Row-wise and Column-wise Sense
                                   2.3.4.2.4.Shared Memory Arrays
                     2.3.5.Keywords
                     2.3.6.Numeric Constants
                     2.3.7.String Constants
                     2.3.8.String Patterns and Wild Cards
                     2.3.9.Tilde Expansion
                     2.3.10.Command Recall (History)
                     2.3.11.Starting Up
                     2.3.12.Keyboard Interrupts
                     2.3.13.Cleanup Macros
                     2.3.14.Exiting
                     2.3.15.Variables
                            2.3.15.1.Built-In Variables
                     2.3.16.Operators
                            2.3.16.1.Unary Operators
                            2.3.16.2.Indirection Operator
                            2.3.16.3.Binary Operators
                            2.3.16.4.Assignment Operators
                            2.3.16.5.Ternary Operator
                     2.3.17.Flow Control
                            2.3.17.1.Conditional Statement
                            2.3.17.2.While Statement
                            2.3.17.3.For Statement
                            2.3.17.4.Break Statement
                            2.3.17.5.Continue Statement
                            2.3.17.6.Exit Statement
                     2.3.18.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.Keyboard and File Input, Screen and File Output
                            2.4.2.1.Controlling Output Files
                            2.4.2.2.Log Files (log, dlog, elog, tlog)
                            2.4.2.3.Reading From Files
                            2.4.2.4.Keyboard Input
                            2.4.2.5.Text Output
                     2.4.3.Variables
                     2.4.4.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.String and Number Functions
                            2.4.5.1.Math Functions
                            2.4.5.2.String Functions
                            2.4.5.3.Regular Expression Functions
                            2.4.5.4.Conversion Functions
                     2.4.6.Data Handling and Plotting Functions
                            2.4.6.1.Binary Input/Output
                            2.4.6.2.The Data-Pipe Facility
                     2.4.7.Client/Server Functions
                     2.4.8.Hardware Functions and Commands
                            2.4.8.1.Controlling Motors
                            2.4.8.2.Counting
                            2.4.8.3.Miscellaneous
                            2.4.8.4.MCA (1D) Data Acquisition
                            2.4.8.5.Image (2D) Data Acquisition
                            2.4.8.6.Socket Functions
                            2.4.8.7.RS-232 Serial Interfaces
                            2.4.8.8.GPIB (IEEE-488) Hardware Functions
                            2.4.8.9.VME Hardware Functions
                            2.4.8.10.PC Port I/O
                            2.4.8.11.CAMAC (IEEE-583) Hardware 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.Selecting the Hardware Configuration
                     5.3.4.Adding Site-Dependent Help Files
                     5.3.5.Adding Site-Dependent C Code
              5.4.Updating spec
              5.5.Installed Files
                     5.5.1.File Hierarchy
                     5.5.2.Accessing Protected I/O Ports On PC Platforms Running linux
                     5.5.3.The Configuration Editor
                     5.5.4.The Settings File
                     5.5.5.The Config File
                            5.5.5.1.CAMAC Slots
                            5.5.5.2.Motor Parameters
                            5.5.5.3.Linked Configurations
              5.6.Security Issues
                     5.6.1.Extra Protection