next up previous contents index
Next: 5.2 Tasks of the Up: 5.1 Examples of Typical Previous: Get Extent of a

Determine Galactic Coordinates of a Source

 

First create a table mysource.tbl specifying the source position. This can be done with the command

          
Midas 001> write/radec_table mysource RA=5,40,22.5 DEC=-69,20,2.4
  Now perform the transformation to galactic coordinates.

Midas 002> transform/equ_ecl_gal mysource gal_mysource
  The result is written to the column :LII in the table gal_mysource.tbl for the galactic longitude and to the column :BII for the galactic latitude. Read the galactic longitude :LII and the galactic latitude :BII

Midas 003> read/tab gal_mysource.tbl :LII :BII

  Table : gal_mysource.tbl

 Sequence LII       BII
 -------- --------- ---------
        1 279.71860 -31.49865
 -------- --------- ---------
The galactic coordinates of a source in an image can be determined with a coordinate cursor. The command

 
Midas 004> get/coordinates gal 2000.0
  delivers galactic coordinates of a source for equinox 2000.0 by cursor reading. The galactic longitude and latitude is written to the keywords COODEG and COOSTR.



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