Skip to content

Replace decimal year conversions with julian year conversions.#382

Open
sblunt wants to merge 5 commits into
mainfrom
decimalyear-to-julianyear
Open

Replace decimal year conversions with julian year conversions.#382
sblunt wants to merge 5 commits into
mainfrom
decimalyear-to-julianyear

Conversation

@sblunt

@sblunt sblunt commented Oct 8, 2024

Copy link
Copy Markdown
Owner

See issue #372. This doesn't have any big impact on the Hipparcos IAD refitting, but maybe it affects things on longer timescales (i.e. hipparcos-gaia). Will continue to investigate.

@sblunt sblunt requested a review from semaphoreP October 8, 2024 21:37

@semaphoreP semaphoreP left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it generally looks good to me. Did you have a chance to run an HGCA orbit fit to see if it matches previous results?

Comment thread orbitize/hipparcos.py
"""

def __init__(self, epochs_mjd, alpha0, delta0, alphadec0_epoch=1991.25):
def __init__(self, epochs_mjd, alpha0, delta0, alphadec0_epoch=Time("J1991.25", format="jyear_str").jyear):

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

probably shouldn't initialize a keyword with a non-primitive type for python reasons.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants