Re: Online calculators for position angle



In article <436BDEAE.6010203@xxxxxxxxxxxx>,
Bill Owen <wmo@xxxxxxxxxxxx> wrote:
>canopus56 wrote:
>> Mark Gingrich wrote:
>>
>>>William Kahan['s] original solution to this very problem [of small angle
>>>angular distances, not position angle] -- a solution he claims is both
>>>accurate for *any* angular separation and efficient:
>>> http://www.cs.berkeley.edu/~wkahan/Math128/angle.pdf
>>
>>
>> That's an interesting implementation - convert the two positions to the
>> X,Y,Z coordinates on a unity sphere and then use the 3-D Pythagorean
>> formula. Meeus's small angluar distance formula is basically the
>> same, except he uses the 2-D Pythagorean formula.
>
>Cartesian coordinates are definitely the way to go, especially when you
>then use rotation matrices to transform between coordinate systems.
>Just figure out the sequence of rotations you need in order to put the z
>axis along your pole of interest (it's the primary star for the position
>angle and separation problem we've been discussing), and then you can
>use asin(z) [or, better, atan2(z, sqrt(x^2+y^2)] to get the latitude
>kind of angle and atan2(y,x) to get the longitude kind of angle. Or,
>acos(z) to get the polar angle.
>
>Incidentally, the "standard American" way of measuring azimuth CCW from
>north implies a *left-handed* coordinate system, with x north, y EAST,
>and z up.

I don't thin that standard is US specific -- don't most countries use
that standard?

Anyway, if you instead put x east, y north, and z up, you'll get a normally
oriented right-handed coordinate system. And that's an argument to
favour east positive longitudes rather than the older astronomical
standard of west positive longitudes.


>-- Bill


--
----------------------------------------------------------------
Paul Schlyter, Grev Turegatan 40, SE-114 38 Stockholm, SWEDEN
e-mail: pausch at stockholm dot bostream dot se
WWW: http://stjarnhimlen.se/
.



Relevant Pages

  • Re: Roof angles
    ... on the rafters and need to cut an angle piece to fit in beside the 2x8 ... holding up the roof. ... There's no standard. ...
    (alt.home.repair)
  • Re: Prime lenses for x1.6 focal length cameras
    ... 50mm gave a perspective that seemed natural to the human eye and could be considered "standard"; 35mm was moderately wide angle; 28mm rather wide angle and 80mm good for reducing depth of field in portraits. ... In an attempt to get a "standard" lens I have bought an EF 28mm f2.8. ... I did try an EF 35mm but its equivalent 56mm was markedly narrower in field of view than a 50mm on a film camera. ... The only easy one was the 50mm which gives me the 80mm portrait lens I am used to. ...
    (rec.photo.digital.slr-systems)
  • Re: Prime lenses for x1.6 focal length cameras
    ... 50mm gave a perspective that seemed natural to the human eye and could be considered "standard"; 35mm was moderately wide angle; 28mm rather wide angle and 80mm good for reducing depth of field in portraits. ... In an attempt to get a "standard" lens I have bought an EF 28mm f2.8. ... So do I just have to get used to this or will some "standard" small sensor lenses eventually appear? ... OTOH, if you simply crop the 28mm result a little bit, you will get a look very similar to the original 50mm result ... ...
    (rec.photo.digital.slr-systems)
  • Re: Prime lenses for x1.6 focal length cameras
    ... 50mm gave a perspective that seemed natural to the human eye and could be considered "standard"; 35mm was moderately wide angle; 28mm rather wide angle and 80mm good for reducing depth of field in portraits. ... In an attempt to get a "standard" lens I have bought an EF 28mm f2.8. ... I did try an EF 35mm but its equivalent 56mm was markedly narrower in field of view than a 50mm on a film camera. ... The only easy one was the 50mm which gives me the 80mm portrait lens I am used to. ...
    (rec.photo.digital.slr-systems)