astLib.astPlots

Package astLib :: Module astPlots |
[hide private]
[frames] | no frames]

# Module astPlots

source code

module for producing astronomical plots

(c) 2007-2013 Matt Hilton

http://astlib.sourceforge.net

This module provides the matplotlib powered ImagePlot class, which is designed to be flexible. ImagePlots can have RA, Dec. coordinate axes, contour overlays, and have objects marked in them, using WCS coordinates. RGB plots are supported too.

Classes | [hide private]
| ImagePlot This class describes a matplotlib image plot containing an astronomical image with an associated WCS.

Functions | [hide private]
u(x) | source code

Variables | [hide private]
dictionary list | DEC_TICK_STEPS = `[{'deg': 1.0/ 60.0/ 60.0, 'unit': "s"}, {'deg`...`` Defines the possible coordinate label steps on the delination axis in sexagesimal mode.
dictionary list | RA_TICK_STEPS = `[{'deg':(0.5/ 60.0/ 60.0/ 24.0)* 360.0, 'unit'`...`` Defines the possible coordinate label steps on the right ascension axis in sexagesimal mode.
list | DECIMAL_TICK_STEPS = `[0.001, 0.0025, 0.005, 0.01, 0.025, 0.05,`...`` Defines the possible coordinate label steps on both coordinate axes in decimal degrees mode.
string | DEG = `u("\N{DEGREE SIGN}")` Variable to stand in for the degrees symbol.
string | PRIME = `"$^\prime$"` Variable to stand in for the prime symbol.
string | DOUBLE_PRIME = `"$^{\prime\prime}$"` Variable to stand in for the double prime symbol.

Variables Details | [hide private]

  ### DEC_TICK_STEPS Defines the possible coordinate label steps on the delination axis in sexagesimal mode. Dictionary format: {'deg', 'unit'} Type: dictionary list Value:
      [{'deg': 1.0/ 60.0/ 60.0, 'unit': "s"}, {'deg': 2.0/ 60.0/ 60.0, 'unit
      ': "s"}, {'deg': 5.0/ 60.0/ 60.0, 'unit': "s"}, {'deg': 10.0/ 60.0/ 60
      .0, 'unit': "s"}, {'deg': 30.0/ 60.0/ 60.0, 'unit': "s"}, {'deg': 1.0/
       60.0, 'unit': "m"}, {'deg': 2.0/ 60.0, 'unit': "m"}, {'deg': 5.0/ 60.
      0, 'unit': "m"}, {'deg': 15.0/ 60.0, 'unit': "m"}, {'deg': 30.0/ 60.0,
       'unit': "m"}, {'deg': 1.0, 'unit': "d"}, {'deg': 2.0, 'unit': "d"}, {
      'deg': 4.0, 'unit': "d"}, {'deg': 5.0, 'unit': "d"}, {'deg': 10.0, 'un
      it': "d"}, {'deg': 20.0, 'unit': "d"}, {'deg': 30.0, 'unit': "d"}]

  ### RA_TICK_STEPS Defines the possible coordinate label steps on the right ascension axis in sexagesimal mode. Dictionary format: {'deg', 'unit'} Type: dictionary list Value:
      [{'deg':(0.5/ 60.0/ 60.0/ 24.0)* 360.0, 'unit': "s"}, {'deg':(1.0/ 60.
      0/ 60.0/ 24.0)* 360.0, 'unit': "s"}, {'deg':(2.0/ 60.0/ 60.0/ 24.0)* 3
      60.0, 'unit': "s"}, {'deg':(4.0/ 60.0/ 60.0/ 24.0)* 360.0, 'unit': "s"
      }, {'deg':(5.0/ 60.0/ 60.0/ 24.0)* 360.0, 'unit': "s"}, {'deg':(10.0/
      60.0/ 60.0/ 24.0)* 360.0, 'unit': "s"}, {'deg':(20.0/ 60.0/ 60.0/ 24.0
      )* 360.0, 'unit': "s"}, {'deg':(30.0/ 60.0/ 60.0/ 24.0)* 360.0, 'unit'
      : "s"}, {'deg':(1.0/ 60.0/ 24.0)* 360.0, 'unit': "m"}, {'deg':(2.0/ 60
      .0/ 24.0)* 360.0, 'unit': "m"}, {'deg':(5.0/ 60.0/ 24.0)* 360.0, 'unit
      ...

  ### DECIMAL_TICK_STEPS Defines the possible coordinate label steps on both coordinate axes in decimal degrees mode. Type: list Value:
      [0.001, 0.0025, 0.005, 0.01, 0.025, 0.05, 0.1, 0.25, 0.5, 1.0, 2.0, 2.
      5, 5.0, 10.0, 30.0, 90.0]