Chris Beaumont's IDL Library

Download source code

single page | use frames     summary     class     fields     routine details     file attributes

./

kdisterr.pro

topkdisterr

coordinate systems

result = kdisterr(l, vlow, vhigh [, RADIANS=RADIANS] [, SILENT=SILENT])

This routine uses kdist.pro to do all of the work

This only works for objects with latitudes between 270 degrees and 90 degrees, for which there are two possible kinematic distances

Return value

A 4 element vector. The first and third elements give the near and far kinematic distances in kpc, while the second and fourth give error estimates.

Parameters

l in required

The galactic longitude of the source given in degrees (or radians, if /RADIANS is set)

vlow in required

The lower bound for the radial velocity estimate, in km/s

vhigh in required

The uppper bound for the radial velocity estimate, in km/s

Keywords

RADIANS in optional

If set, l is given in radians

SILENT in optional

If set, textual summary of the results are suppressed

File attributes

Modifcation date: Mon Mar 22 16:17:13 2010
Lines: 76