simonsobs / sotodlib

Simons Observatory: Time-Ordered Data processing library.
MIT License
16 stars 19 forks source link

Adding wobble correction to get_horizon_P #971

Closed chervias closed 1 month ago

chervias commented 2 months ago

The wobble correction will go in the pointing model, but in the meantime, we can have it here for making drone maps. Code by @ykyohei.

mhasself commented 1 month ago

Sorry I missed this -- I agree with @ykyohei .

In the pointing matrix, P.sight holds the rotation from focal plane coordinates to celestial/map coordinates. That's general for any P, so it is possible to construct a stand-alone function that modifies P to include wobble (P.sight = P.sight * deflq). Putting such a function in pointing_model.py makes sense to me.

Thanks for trying to get this into sotodlib!