Table of Contents

Class: AnyCommand interface/any.py

Command level interface to any.

All any commands are methods of this class.

Methods   
AutoMsa
BadTable
Cwd
ExpStatus
ExpTable
ExperimentList
FlagFilterTable
FlagStatus
FlagTable
GetPointGroup
GetStatus
GetThetaLimits
IntensityTable
LostTable
Msa
NequivTable
PointGroupTable
Read
Reject
RejectTable
SaveJana
SaveSad
SaveTwinabs
Savehkl4
Savehkl5
SetPointGroup
SetThetaLimits
Setnnomore
ShellTable
ShoePath
ShoeboxTable
Sigma
StatusWordList
TotalTable
UnavailableTable
__del__
__init__
answer
anycmd
asking
icr
plotshift
  AutoMsa 
AutoMsa ( self )

Determine the instability factor p automatically.

  BadTable 
BadTable ( self )

Make a listing of the reflections with the worst chi**2 values

Returns the lines printed by the any program.

  Cwd 
Cwd ( self )

Retrieve the current working directory

  ExpStatus 
ExpStatus ( self,  expstatus=None )

Get or set the experiments that are used in calculations.

If no expstatus is specified, the current setting is retrieved. The result is a list of 2-tuples (experiment,0 or 1). If any experiment is partially used, an exception is raised.

If a expstatus is specified it should take the same form.

Exceptions   
error( "Incomplete experiment" )
  ExpTable 
ExpTable ( self )

Make a summary table as function of the scan number

Returns the lines printed by the any program.

  ExperimentList 
ExperimentList ( self )

Make an experiment list.

Returns the lines printed by the any program.

  FlagFilterTable 
FlagFilterTable ( self )

Make a listing of all allowed reflection flags.

Returns the lines printed by the any program.

  FlagStatus 
FlagStatus ( self,  flagstatus=None )

Get or set the flags that are acceptable for the data set.

If no flagstatus is specified, the current setting is retrieved. The result is a list of 2-tuples (flagname,0 or 1).

If a flagstatus is specified it should take the same form.

  FlagTable 
FlagTable ( self )

Make a listing of all reflection flags.

Returns the lines printed by the any program.

  GetPointGroup 
GetPointGroup ( self )

Retrieve the currently active point group

  GetStatus 
GetStatus ( self )

  GetThetaLimits 
GetThetaLimits ( self )

Retrieve the currently active theta boundaries

  IntensityTable 
IntensityTable ( self,  number=10 )

Make a summary table as function of the intensities.

Returns the lines printed by the any program.

  LostTable 
LostTable ( self )

Make a listing of reflections for which all measurements were rejected.

Returns the lines printed by the any program.

  Msa 
Msa ( self,  msa )

Set the instability factor p

  NequivTable 
NequivTable ( self )

Make a summary table as function of the number of equivalents

Returns the lines printed by the any program.

  PointGroupTable 
PointGroupTable ( self )

Make a summary table for each Laue group.

Returns the lines printed by the any program.

  Read 
Read ( self,  yfile )

Instruct any to read another .y file.

  Reject 
Reject ( self,  level )

Set the reject level (number of sigma's)

  RejectTable 
RejectTable ( self )

Make a listing of rejected reflections.

Returns the lines printed by the any program.

  SaveJana 
SaveJana ( self )

Save data in JANA format into jana.hkl

  SaveSad 
SaveSad ( self )

Save data in SADABS format into shelx.sad

  SaveTwinabs 
SaveTwinabs (
        self,
        filename2,
        outputfilename,
        cmd='twinabs',
        )

Save data in TWINABS format into the given outputfilename.

  Savehkl4 
Savehkl4 ( self,  filename )

Save data in HKLF4 format into the specified file

  Savehkl5 
Savehkl5 (
        self,
        filename2,
        outputfilename,
        cmd='hklf5',
        )

Save data in HKLF5 format.

The currently loaded data together with the data in filename2 (also a .y file) will be written into outputfilename in such a way that shelx will be able to recognize the data from the 2 different crystals in the twin.

  SetPointGroup 
SetPointGroup ( self,  pointgroup )

Change the point group to the given value

Exceptions   
ValueError("Problem setting point group: %s" % repr( l ) )
  SetThetaLimits 
SetThetaLimits (
        self,
        low,
        high,
        )

Set the theta limits

  Setnnomore 
Setnnomore ( self,  n )

Set the maximum number of lines in a listing

  ShellTable 
ShellTable ( self )

Make a summary table as function of the resolution shells.

Returns the lines printed by the any program.

  ShoePath 
ShoePath ( self )

Retrieve the current working directory

  ShoeboxTable 
ShoeboxTable ( self )

Make a summary table as function of the shoe box file number

Returns the lines printed by the any program.

  Sigma 
Sigma ( self,  sigma )

Set the weak-level in any to the given number of standard deviations.

Returns the lines printed by the any program.

  StatusWordList 
StatusWordList ( self )

  TotalTable 
TotalTable ( self )

Make a summary table.

Returns the lines printed by the any program.

  UnavailableTable 
UnavailableTable ( self )

Make a listing of reflections that were not measured.

Returns the lines printed by the any program.

  __del__ 
__del__ ( self )

Destructor.

Closes the connection to any in a soft way.

  __init__ 
__init__ ( self,  yfile )

Constructor.

Will start any on the named .y file

  answer 
answer ( self,  s )

Send s as answer on the current question.

  anycmd 
anycmd ( self,  s )

Low-level routine to send a command in string s to the any program.

  asking 
asking ( self,  s )

Return true if s appears in the prompt.

  icr 
icr ( self,  xaxis='frame' )

  plotshift 
plotshift ( self )


Table of Contents

This document was automatically generated on Fri Jul 3 09:28:36 2009 by HappyDoc version WORKING