next up previous contents index
Next: Create a User defined Up: 5.2 Tasks of the Previous: Calculate Counts within a

Equatorial, Ecliptic and Galactic Coordinates

 

Source positions may be given in image pixels, sky pixels, detector pixels, equatorial coordinates right ascension (degrees) and declination (degrees), ecliptic longitude (degrees) and latitude (degrees) and galactic longitude (degrees) and latitude (degrees).        

Sky pixels are specified relative to a pointing direction. This pointing direction in case of EXSAS is specified by the descriptors POINT_LONG and POINT_LAT. The sky coordinates of the pointing direction are given in the descriptors SKY_CEN_X and SKY_CEN_Y, cf. Table 5.32.    

Detector coordinates are specified with respect to the optical axis of the instrument. The detector center is given in the descriptors   DET_CEN_X and DET_CEN_Y. The length of a sky pixel in arc seconds is expressed by the descriptor SKY_PIX_SIZE and the length of a detector pixel by the descriptor DET_PIX_SIZE. In source tables provided by the source detection the coordinates of the source positions are expressed in sky pixels and/or in image pixels. They can be converted to sky pixels, equatorial, ecliptic and galactic coordinates with the command

TRANSFORM/COORDINATES in_table [out_table] [equinox] -
                      [ref_image] [dist_flag] [ampl]
 

Examples are:

TRANSFORM/COORDINATES solst coo\_solst
TRANSFORM/COORDINATES solst coo\_solst 1950.0
TRANSFORM/COORDINATES mytable mycoord 2000.0 image1
TRANSFORM/COORDINATES long\_table long\_coord 2000.0 image n
  In the third example the name of the source table is mytable.tbl, the name of the transformed table is mycoord.tbl, the equinox for the coordinates is 2000.0. A reference image image1.bdf has been specified which contains the general EXSAS descriptors.

A reference image has to be given in case the source table does not contain a set of general EXSAS descriptors and of general MIDAS descriptors. In the standard source detection case a reference image has not to be specified.

The transformed table contains the information listed in Table 5.23.

   table4377
Table 5.23: Coordinate information created by TRANSFORM/COORDINATES

A description of the information provided by the coordinate tables is given below.

Equatorial coordinates can be converted to image pixel and sky pixel coordinates with the command

TRANSFORM/RADEC_TO_PIXEL in_table [out_table] [ref_image] [equinox]
 

Example:

TRANSFORM/RADEC_TO_PIXEL equ_coord pix_coord myimage 2000.0
  In this example the name of the coordinate table is equ_coord.tbl and the equatorial coordinates are specified for equinox 2000.0, the name of the transformed coordinate table is pix_coord.tbl and the name of the reference image is myimage.bdf. A reference image has to be specified in any case. The equatorial longitude and latitude of the source must be specified in decimal degrees and has to be written to the standard columns :RA_DEG and :DEC_DEG.

Equatorial coordinates can be converted to ecliptic and galactic coordinates (and vice versa) with the command

TRANSFORM/EQU_ECL_GAL in_table [out_table] [equinox] [ref_sys]
 

Example:

TRANSFORM/EQU_ECL_GAL equ_coord ecl_gal_coord
TRANSFORM/EQU_ECL_GAL equ_coord ecl_gal_coord ? GAL
 

Note:The coordinates have to be specified for equinox 2000.0. With the Midas command COMPUTE/PRECESS equatorial coordinates can be   precessed from any equinox to equinox 2000.  

Equatorial, ecliptic and galactic coordinates have to be specified in degrees. The standard column labels are listed in Table 5.24.

   table4479
Table 5.24: Standard labels for the TRANSFORM commands

The format is not fixed if a user provides his own table. As the commands to transform coordinates works on Midas tables with default names for the column labels, the user has to provide a MIDAS table with those columns. This he can do with the command WRITE/RADEC_TABLE (see section 5.2.30 in case of ref_sys = EQU.


next up previous contents index
Next: Create a User defined Up: 5.2 Tasks of the Previous: Calculate Counts within a

If you have problems/suggestions please send mail to rosat_svc@mpe-garching.mpg.de