Skip to content

Conversation

@abhisrkckl
Copy link
Contributor

@abhisrkckl abhisrkckl commented Dec 18, 2025

This is based on https://arxiv.org/abs/2509.21203, mostly for simulation purposes.

@abhisrkckl
Copy link
Contributor Author

Example par file:

        RAJ         05:00:00    1
        DECJ        15:00:00    1
        POSEPOCH    55000
        VLBIAX      -0.15
        VLBIAY      0.05
        VLBIAZ      0.21
        F0          100         1
        F1          -1e-15      1
        PEPOCH      55000
        TZRMJD      55000
        TZRFRQ      1400
        TZRSITE     gbt
        UNITS       TDB
        EPHEM       DE440

The coordinate offsets are not fittable parameters since they cannot be determined from a single pulsar.

@abhisrkckl
Copy link
Contributor Author

Relevant expressions from Sosa Fiscella et al:
image
image
image

@abhisrkckl abhisrkckl requested a review from dlakaplan December 18, 2025 05:26

def vlbi_coord_rotation(self) -> Optional[np.ndarray]:
"""Returns the coordinate rotation matrix between VLBI and pulsar
timing coordinate systems if the rotation parameters are given."""
Copy link
Contributor

Choose a reason for hiding this comment

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

would be helpful to have a paper reference or a little more math to explain this

Choose a reason for hiding this comment

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

Hello @dlakaplan and @abhisrkckl ! If you need a paper reference or a little more math, I'd recommend Wang et al.'s paper. That being said, the notation wasn't super intuitive when I read it so please let me know if I can help with that.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I have added a reference to Madison et al, since I think that is the original paper where this equation is from.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Please let me know if there is an older referecne I should use.

@dlakaplan
Copy link
Contributor

@mtlam : this looks good to me, but don't know if you have thoughts.

@sophiasosafiscella
Copy link

Relevant expressions from Sosa Fiscella et al: image image image

I'd say that the real relevant equation is Eq. (7) from the paper:

image

I'd be happy to provide the script that already implements all this math, if that'd be of any help.

@mtlam
Copy link
Member

mtlam commented Dec 18, 2025

I'm going to mostly defer to Sophia as the expert here. It looks like the goal is to allow for these kinds of offsets in simulated TOAs?

@abhisrkckl
Copy link
Contributor Author

The main aim here is simulations, and to allow VLBI measurements to be used directly in par files.

Fitting for the coordinate offsets is not an aim, since that can't be done with single pulsars.

@abhisrkckl
Copy link
Contributor Author

I'd say that the real relevant equation is Eq. (7) from the paper:

If I understand correctly, this equation is used for estimating the coordinate offset. However, this PR is not doing that. It is only for simulating the offset, and for using the offset in a par file if it's already known.

I am not adding the coordinate offset estimation part since it requires analyzing multiple pulsars together, and we had decided to keep PINT strictly single-pulsar to avoid overlapping functionalities with enterprise etc.

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.

4 participants