Package gmisclib :: Module g_ds9 :: Class ds9_io
[frames] | no frames]

Class ds9_io

source code


Instance Methods
 
__init__(self, ds9start=None, xpaname='ds9', xpaset=['xpaset'], xpaset_p=['xpaset', '-p'], xpaget=['xpaget'])
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
set(self, *args) source code
 
set_with_input(self, input, *args)
Run the xpaset command and feed it data on its standard input.
source code
 
getlast(self, *args) source code
 
getall(self, *args) source code
 
getiter(self, *args) source code
 
close(self) source code
 
__del__(self) source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties

Inherited from object: __class__

Method Details

__init__(self, ds9start=None, xpaname='ds9', xpaset=['xpaset'], xpaset_p=['xpaset', '-p'], xpaget=['xpaget'])
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

set_with_input(self, input, *args)

source code 

Run the xpaset command and feed it data on its standard input. Each element in the input list becomes one line of data to xpaset.

Parameters:
  • input (list or iterator)
  • args ([ "xpaset", ...]) - The command line used to execute xpaset.