Module irafgwcs
source code
irafgwcs.py: WCS handling for graphics
This contains some peculiar code to work around bugs in splot (and
possibly other tasks) where the WCS for an existing plot gets changed
before the plot is cleared. I save the changed wcs in self.pending and
only commit the change when it appears to really be applicable.
$Id: irafgwcs.py 779 2007-02-09 16:52:50Z rij $
|
|
IrafGWcs
Class to handle the IRAF Graphics World Coordinate System Structure
|
|
|
|
|
|
_setWCSDefault()
Define default WCS for STDGRAPH plotting area. |
source code
|
|
|
|
WCS_SLOTS = 16
|
|
|
WCS_RECORD_SIZE = 22
|
|
|
LINEAR = 0
|
|
|
LOG = 1
|
|
|
ELOG = 2
|
|
|
DEFINED = 1
|
|
|
CLIP = 2
|
|
|
NEWFORMAT = 4
|
Imports:
struct,
numpy,
math,
IrafError
|
Extended range log scale. Handles negative and positive values.
values between 10 and -10 are linearly scaled, values outside are log
scaled (with appropriate sign changes.
|