Open raybellis opened 1 year ago
Is it intentional that the HourAngle class and its derived RA class return .hour() when .deg() is called?
HourAngle
RA
.hour()
.deg()
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.
6 90
6 6
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
.