Method: Wcs.wcscon

Defined in:
lib/wcs/libdoc.rb

.wcscon(sys1, sys2, eq1, eq2, dtheta, dphi, epoch) ⇒ [dtheta,dphi]

Convert between coordinate systems and equinoxes

Parameters:

  • sys1 (Integer)

    Input coordinate system (J2000, B1950, ECLIPTIC, GALACTIC)

  • sys2 (Integer)

    Output coordinate system (J2000, B1950, ECLIPTIC, GALACTIC)

  • eq1 (Float)

    Input equinox (default of sys1 if 0.0)

  • eq2 (Float)

    Output equinox (default of sys2 if 0.0)

  • dtheta (Float)

    Longitude or right ascension in degrees

  • dphi (Float)

    Latitude or declination in degrees

  • epoch (Float)

    Besselian epoch in years

Returns:

  • ([dtheta,dphi])
    • dtheta: Longitude or right ascension in degrees

    • dphi: Latitude or declination in degrees



393
394
395
# File 'lib/wcs/libdoc.rb', line 393

def wcscon(sys1,sys2,eq1,eq2,dtheta,dphi,epoch)
  # This function is defined in C
end