Diab Jerius > Image-DS9-0.182 > Image::DS9::OldConstants

Download:
Image-DS9-0.182.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

NAME ^

Image::DS9::OldConstants - contants to avoid typographic errors

DESCRIPTION ^

This module contains the constants previously defined in Image::DS9. The really shouldn't be used anymore, as there are two many tags, and the prefixes are confusing and many. These are here to ease transition to the new constants.

The constants

Many constants have been defined to avoid typographic errors. By default they are not imported into the caller's namespace; they are available via the Image::DS9::OldConstants namespace, e.g. Image::DS9::OldConstants::CM_invert. Since this is quite a mouthful, various import tags are available which will import some, or all of the constants into the caller's namespace. For example:

        use Image::DS9::OldConstants qw( :frame :tile :filetype :display );

The following tags are available

        all
        bin
        colormap
        display
        filetype
        frame
        mode
        orient
        scale
        tile
        view
all

This tag imports all of the symbols defined by the other tags, as well as

        ON      => 1
        OFF     => 0
        YES     => 'yes'
        NO      => 'no'
bin
        B_about      => 'about'
        B_buffersize => 'buffersize'
        B_cols       => 'cols'
        B_factor     => 'factor'
        B_filter     => 'filter'
        B_function   => 'function'
        B_average    => 'average'
        B_sum        => 'sum'
        B_to_fit     => 'to fit'
colormap
        CM_invert    => 'invert'
coord_fmts
        CoordFmt_degrees     => 'degrees'
        CoordFmt_sexagesimal => 'sexagesimal'
coords
        Coord_fk4      => 'fk4'
        Coord_fk5      => 'fk5'
        Coord_icrs     => 'icrs'
        Coord_galactic => 'galactic'
        Coord_ecliptic => 'ecliptic'
        Coord_linear   => 'linear'
        Coord_image    => 'image'
        Coord_physical => 'physical'
display
        D_tile   => 'tile'
        D_single => 'single'
        D_blink  => 'blink'
dss
        DSS_name   => 'name'
        DSS_coord  => 'coord'
        DSS_server => 'server'
        DSS_survey => 'survey'
        DSS_size   => 'size'

        DSS_SAO    => 'sao'
        DSS_STSCI  => 'stsci'
        DSS_ESO    => 'eso'

        DSS_dss    => 'dss'
        DSS_dss2red     => 'dss2red'
        DSS_dss2blue    => 'dss2blue'
file
        FT_MosaicImage  => 'mosaicimage'
        FT_MosaicImages => 'mosaicimages'
        FT_Mosaic       => 'mosaic'
        FT_Array        => 'array'
        FT_Save         => 'save'
frame
        FR_active  => 'active'
        FR_all     => 'all'
        FR_center  => 'center'
        FR_clear   => 'clear'
        FR_delete  => 'delete'
        FR_first   => 'first'
        FR_hide    => 'hide'
        FR_last    => 'last'
        FR_new     => 'new'
        FR_next    => 'next'
        FR_prev    => 'prev'
        FR_refresh => 'refresh'
        FR_reset   => 'reset'
        FR_show    => 'show'
mode
        MB_pointer      => 'pointer'
        MB_crosshair    => 'crosshair'
        MB_colorbar     => 'colorbar'
        MB_pan          => 'pan'
        MB_zoom         => 'zoom'
        MB_rotate       => 'rotate'
        MB_examine      => 'examine'
orient
        OR_X    => 'x'
        OR_Y    => 'y'
        OR_XY   => 'xy'
regions
        Rg_movefront   => 'movefront'
        Rg_moveback    => 'moveback'
        Rg_selectall   => 'selectall'
        Rg_selectnone  => 'selectnone'
        Rg_deleteall   => 'deleteall'
        Rg_file        => 'file'
        Rg_load        => 'load'
        Rg_save        => 'save'

        Rg_format      => 'format'
        Rg_coord       => 'coord'
        Rg_coordformat => 'coordformat'
        Rg_delim       => 'delim'

        Rg_nl          => 'nl
        Rg_semicolon   => 'semicolon'

        Rg_ds9         => 'ds9'
        Rg_saotng      => 'saotng'
        Rg_saoimage    => 'saoimage'
        Rg_pros        => 'pros'

        Rg_return_fmt
        Rg_raw
scale
        S_linear   => 'linear'
        S_log      => 'log'
        S_squared  => 'squared'
        S_sqrt     => 'sqrt'

        S_minmax   => 'minmax'
        S_zscale   => 'zscale'
        S_user     => 'user'

        S_local    => 'local'
        S_global   => 'global'

        S_limits   => 'limits'
        S_mode     => 'mode'
        S_scope    => 'scope'
        S_datasec  => 'datasec'
tile
        T_grid   => 'grid'
        T_column => 'column'
        T_row    => 'row'
        T_gap    => 'gap'
        T_layout => 'layout'
        T_mode   => 'mode'
        T_auto   => 'automatic'
        T_manual => 'manual'
view
        V_info      => 'info'
        V_panner    => 'panner'
        V_magnifier => 'magnifier'
        V_buttons   => 'buttons'
        V_colorbar  => 'colorbar'
        V_horzgraph => 'horzgraph'
        V_vertgraph => 'vertgraph'
        V_wcs       => 'wcs'
        V_detector  => 'detector'
        V_amplifier => 'amplifier'
        V_physical  => 'physical'
        V_image     => 'image'
wcs
        WCS_align   => 'align'
        WCS_format  => 'format'
        WCS_reset   => 'reset'
        WCS_replace => 'replace'
        WCS_append  => 'append'

REQUIREMENTS ^

LICENSE ^

This software is released under the GNU General Public License. You may find a copy at

   http://www.fsf.org/copyleft/gpl.html

AUTHOR ^

Diab Jerius ( djerius@cfa.harvard.edu )

SEE ALSO ^

perl(1), Image::DS9

syntax highlighting: