<p>You cannot estimate the distance to anything or from anything in 3-dimensional space using a 2-dimensional coordinate alone.</p>

<p>You may calculate an angular distance (as per Mike G's answer), then assume they are all at a common distance and translate that angular distance into a physical distance, but since they aren't all at the same distance, that won't work.</p>

<p>To do what you want requires an estimate of the distance to these sources.</p>

CC BY-SA 4.0
2019-04-08T13:52:37.960Z
2019-04-08T13:52:37.960Z
ProfRob
<p>If r is the lateral (orthogonal to line of sight) distance between the VFXT and Sgr A*,
and R is the distance from the Sun to Sgr A*, and</p>

<p><span class="math-container">$$\theta = \sqrt{(\Delta\alpha \cos \delta)^2 + (\Delta\delta)^2 }$$</span></p>

<p>then r = R tan &theta; as suggested in the comments.
For the example in the question,
using R = 7860 &plusmn; 140 pc
[<a href="https://doi.org/10.3847/0004-637X/830/1/17" rel="nofollow noreferrer">Boehle et al. 2016</a> via <a href="https://en.wikipedia.org/wiki/Sagittarius_A*" rel="nofollow noreferrer">Wikipedia</a>],
I get r = 0.4216 &plusmn; 0.0075 pc, also not in your colleague's <code>vfxt_d</code>.</p>

<p>Where |&theta;| &lt; 1&deg;, tan &theta; &approx; &theta; in radians.
The approximation in the question used this but was off by a factor of 5.
A coefficient of 137.2 &plusmn; 2.4 pc/deg should give a better result.</p>

CC BY-SA 4.0
2019-03-08T19:03:08.080Z
2019-03-08T19:16:40.610Z
2019-03-08T19:16:40.610Z
Mike G
<p>I have a list of coordinates of black hole/neutron star systems in decimal degrees (ie. {(266.416,-29.009), (266.418,-29.009),...} from DS9 and would like to determine the distance from SgrA* in parsecs. To my knowledge, 25.8 parsecs ~ 1 degree, but the distance I calculate do not agree with values previously determined by a colleague. </p>

<p>For example, I have a list of nine very faint X-ray transients (VFXTs) and their coordinates, one of which is (266.4191667, -29.0101111). Using the distance formula, I estimated the degree distance from SgrA* - from <a href="https://en.wikipedia.org/wiki/Sagittarius_A*" rel="nofollow noreferrer">Wikipedia</a>, in decimal degrees, (266.4168371,-29.0078106) using the Euclidean distance formula and multiplied my value to get</p>

<blockquote>
  <p>(25.8 pc/deg)(0.00327404 deg) = 0.0844702 pc</p>
</blockquote>

<p>from the center; but this value <strong>does not agree with any</strong> previously determined values of the VFXTs offsets.</p>

<p>The list I received from my colleague for VFXT offsets is </p>

<pre><code>"vfxt_d = [.7209, .8605, 1.0233, 3.1395, 3.1628, 10.4651, 14.8372, 25.6744, 29.2093] " 
</code></pre>

<p>I would appreciate some pointers to complete this project sometime today. Thanks in advance.</p>

CC BY-SA 4.0
2019-03-07T17:14:43.390Z
1 degree is not 25.8 parsecs at the distance to the galactic center.  Start with the distance to the galactic center from our location, multiply by the tangent of the angle from the galactic center to get the distance from the center (excluding the line of site component, which may dominate)
antlersoft
CC BY-SA 4.0
2019-03-07T21:15:23.603Z
When you say our location do you mean the coordinates of Earth? Then I would have some value D from the Earth to SgrA* and would multiply by the angle (should I use the value  X (from ( X, -Y) ) to get the distance d = D Tan[X] ? Is it fine to use the X value in degrees or should I use radians?
K F
<distances><ds9>
Determine distance from the galactic center in DS9
K F
# Determine distance from the galactic center in DS9

(Asked by: username_0 on 2019-03-07)

I have a list of coordinates of black hole/neutron star systems in decimal degrees (ie. {(266.416,-29.009), (266.418,-29.009),...} from DS9 and would like to determine the distance from SgrA\* in parsecs. To my knowledge, 25.8 parsecs ~ 1 degree, but the distance I calculate do not agree with values previously determined by a colleague.

For example, I have a list of nine very faint X-ray transients (VFXTs) and their coordinates, one of which is (266.4191667, -29.0101111). Using the distance formula, I estimated the degree distance from SgrA\* - from [Wikipedia](https://en.wikipedia.org/wiki/Sagittarius_A*), in decimal degrees, (266.4168371,-29.0078106) using the Euclidean distance formula and multiplied my value to get

> (25.8 pc/deg)(0.00327404 deg) = 0.0844702 pc

from the center; but this value **does not agree with any** previously determined values of the VFXTs offsets.

The list I received from my colleague for VFXT offsets is

```
"vfxt_d = [.7209, .8605, 1.0233, 3.1395, 3.1628, 10.4651, 14.8372, 25.6744, 29.2093] " 

```

I would appreciate some pointers to complete this project sometime today. Thanks in advance.

**Tags:** distances, ds9

> **Comments:**
> **username_1**: 1 degree is not 25.8 parsecs at the distance to the galactic center.  Start with the distance to the galactic center from our location, multiply by the tangent of the angle from the galactic center to get the distance from the center (excluding the line of site component, which may dominate)  
> **username_0**: When you say our location do you mean the coordinates of Earth? Then I would have some value D from the Earth to SgrA* and would multiply by the angle (should I use the value  X (from ( X, -Y) ) to get the distance d = D Tan[X] ? Is it fine to use the X value in degrees or should I use radians?  

---

## 2 answers

### Answer by username_2 on 2019-04-08. Score: 1

You cannot estimate the distance to anything or from anything in 3-dimensional space using a 2-dimensional coordinate alone.

You may calculate an angular distance (as per username_3 G's answer), then assume they are all at a common distance and translate that angular distance into a physical distance, but since they aren't all at the same distance, that won't work.

To do what you want requires an estimate of the distance to these sources.


---

### Answer by username_3 on 2019-03-08. Score: 0

If r is the lateral (orthogonal to line of sight) distance between the VFXT and Sgr A\*,
and R is the distance from the Sun to Sgr A\*, and

$$\theta = \sqrt{(\Delta\alpha \cos \delta)^2 + (\Delta\delta)^2 }$$

then r = R tan θ as suggested in the comments.
For the example in the question,
using R = 7860 ± 140 pc
[[Boehle et al. 2016](https://doi.org/10.3847/0004-637X/830/1/17) via [Wikipedia](https://en.wikipedia.org/wiki/Sagittarius_A*)],
I get r = 0.4216 ± 0.0075 pc, also not in your colleague's `vfxt_d`.

Where |θ| < 1°, tan θ &approx; θ in radians.
The approximation in the question used this but was off by a factor of 5.
A coefficient of 137.2 ± 2.4 pc/deg should give a better result.


---

