#560 closed defect (invalid)
psGravityDeflection definition
| Reported by: | Owned by: | Paul Price | |
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | PSLib SDRS | Version: | unspecified |
| Severity: | normal | Keywords: | |
| Cc: |
Description
the SDRS 7.5.1.2 (rev 17) says,
the following function calculates the apparent position of a star, given its
actual position and the position of the sun.
I believe the "apparent" and "actual" got switched here. ie., you're
calculating the actual position given the apparent and the position of the sun.
Change History (4)
comment:1 by , 21 years ago
comment:2 by , 21 years ago
| Cc: | added |
|---|---|
| Status: | new → assigned |
No, I think the SDRS got it correct. We know the actual position of the star,
and want to calculate the apparent position (so we can point the telescope at it).
Ed?
comment:3 by , 21 years ago
Paul is correct here that the tranform goes from actual to apparent.
To be pedantic, this is more of a convention than an exact mathematical fact.
The error you get by switching the actual and apparent directions would
be of the same order as the error due to the first order approximation
used in the formula.
comment:4 by , 21 years ago
| Resolution: | → invalid |
|---|---|
| Status: | assigned → closed |
Ok. I switched the arguments back to the way they were.

same thing for psAberration. I've switched the order so they read,
psSphere *psAberration(psSphere *actual,
and
psSphere *psGravityDeflection(psSphere *actual,