I've worked out how to calculate a planet's orientation from the models in pck00010.tpc. So I have the RA and DEC of the planet's pole as well as its prime meridian. Now I'm trying to figure out how to build a reference frame, but it's not clear to me how to do so. How do I make a frame with the information?
I was able to calculate rotation matrices to do the conversions I needed. But I'd like to get everything into skyfield's existing framework instead of doing coordinate conversions by dealing with the matrices directly.
I've worked out how to calculate a planet's orientation from the models in pck00010.tpc. So I have the RA and DEC of the planet's pole as well as its prime meridian. Now I'm trying to figure out how to build a reference frame, but it's not clear to me how to do so. How do I make a frame with the information?
I was able to calculate rotation matrices to do the conversions I needed. But I'd like to get everything into skyfield's existing framework instead of doing coordinate conversions by dealing with the matrices directly.