You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it intentional that the HourAngle class and its derived RA class return .hour() when .deg() is called?
I would have expected .deg() to convert the results into true decimal degrees, such that given:
const sx = require('astronomia/sexagesimal');
const ra = Math.PI / 2;
const o = new sx.RA(ra)
console.log(o.hour(), o.deg())
it should output 6 90 and not 6 6.
The text was updated successfully, but these errors were encountered:
raybellis
changed the title
Confused over sexagesimal.HourAngle sexagesimal.RA
Unexpected .deg() result from sexagesimal.HourAngle and .RA
Jun 28, 2023
Is it intentional that the
HourAngle
class and its derivedRA
class return.hour()
when.deg()
is called?I would have expected
.deg()
to convert the results into true decimal degrees, such that given:it should output
6 90
and not6 6
.The text was updated successfully, but these errors were encountered: