aboutsummaryrefslogtreecommitdiff
path: root/math/slalib/doc/dv2tp.hlp
diff options
context:
space:
mode:
authorJoe Hunkeler <jhunkeler@gmail.com>2015-08-11 16:51:37 -0400
committerJoe Hunkeler <jhunkeler@gmail.com>2015-08-11 16:51:37 -0400
commit40e5a5811c6ffce9b0974e93cdd927cbcf60c157 (patch)
tree4464880c571602d54f6ae114729bf62a89518057 /math/slalib/doc/dv2tp.hlp
downloadiraf-osx-40e5a5811c6ffce9b0974e93cdd927cbcf60c157.tar.gz
Repatch (from linux) of OSX IRAF
Diffstat (limited to 'math/slalib/doc/dv2tp.hlp')
-rw-r--r--math/slalib/doc/dv2tp.hlp42
1 files changed, 42 insertions, 0 deletions
diff --git a/math/slalib/doc/dv2tp.hlp b/math/slalib/doc/dv2tp.hlp
new file mode 100644
index 00000000..6b927741
--- /dev/null
+++ b/math/slalib/doc/dv2tp.hlp
@@ -0,0 +1,42 @@
+.help dv2tp Jun99 "Slalib Package"
+.nf
+
+ SUBROUTINE slDVTP (V, V0, XI, ETA, J)
+
+ - - - - - -
+ D V T P
+ - - - - - -
+
+ Given the direction cosines of a star and of the tangent point,
+ determine the star's tangent-plane coordinates.
+
+ (double precision)
+
+ Given:
+ V d(3) direction cosines of star
+ V0 d(3) direction cosines of tangent point
+
+ Returned:
+ XI,ETA d tangent plane coordinates of star
+ J i status: 0 = OK
+ 1 = error, star too far from axis
+ 2 = error, antistar on tangent plane
+ 3 = error, antistar too far from axis
+
+ Notes:
+
+ 1 If vector V0 is not of unit length, or if vector V is of zero
+ length, the results will be wrong.
+
+ 2 If V0 points at a pole, the returned XI,ETA will be based on the
+ arbitrary assumption that the RA of the tangent point is zero.
+
+ 3 This routine is the Cartesian equivalent of the routine slDSTP.
+
+ P.T.Wallace Starlink 27 November 1996
+
+ Copyright (C) 1996 Rutherford Appleton Laboratory
+ Copyright (C) 1995 Association of Universities for Research in Astronomy Inc.
+
+.fi
+.endhelp