Method: Wcs.wcsconp

Defined in:
lib/wcs/libdoc.rb

.wcsconp(sys1, sys2, eq1, eq2, ep1, ep2, dtheta, dphi, ptheta, pphi) ⇒ [dtheta,dphi,ptheta,pphi]

Convert from coordinate system sys1 to coordinate system sys2, converting proper motions, too, and adding them if an epoch is specified

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)

  • ep1 (Float)

    Input Besselian epoch in years (for proper motion)

  • ep2 (Float)

    Output Besselian epoch in years (for proper motion)

  • dtheta (Float)

    Longitude or right ascension in degrees

  • dphi (Float)

    Latitude or declination in degrees

  • ptheta (Float)

    Longitude or right ascension proper motion in RA degrees/yea

  • pphi (Float)

    Latitude or declination proper motion in Dec degrees/year

Returns:

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

    • dphi: Latitude or declination in degrees

    • ptheta: Longitude or right ascension proper motion in RA degrees/yea

    • pphi: Latitude or declination proper motion in Dec degrees/year



378
379
# File 'lib/wcs/libdoc.rb', line 378

def wcsconp(sys1,sys2,eq1,eq2,ep1,ep2,dtheta,dphi,ptheta,pphi);
end