-
-
Notifications
You must be signed in to change notification settings - Fork 591
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What to do about physics.solar_rotation
#5965
Comments
Reading the docs for these, I'm downright confused by them. How is it even valid/possible to shift a map observed in a helioprojective coordinate system to compensate for solar rotation (which is a (latitude dependent) shift in Carrington longitude)? I vote we deprecate these, and point users to an example to differentially de-rotate a full map by a certain time interval. |
@dstansby: I think you're over-thinking it. The purpose of this module is apply shifts to a sequence of maps so that the centers of the maps are all pointed at the same spot on the solar surface, accounting for solar rotation. This simulates a telescope tracking, say, an active region over time. A user may not want to actually transform/reproject the maps at all. |
Ah, that makes sense. I think I am confused by the multiple meanings
|
My proposed solution:
|
Provide a general description of the issue or problem.
When deprecating
image.coalignment
(#5957), it was revealed thatphysics.solar_rotation.mapsequence_solar_derotate
depends onimage.coalignment.apply_shifts
. This led me down the rabbit hole of thephysics.solar_rotation
module.physics.solar_rotation
contains two functions:calculate_solar_rotate_shift
mapsequence_solar_derotate
The latter is just a light wrapper around
apply_shifts
(which as mentioned above, we would like to deprecate). The former is just used by the latter to compute the shifts associated with rotation relative to some selected layer.I've mainly created this issue to discuss what we should do with this module. Leave it alone? Deprecate it and move it to
sunkit-image
?Given that it is such a lightweight wrapper, I could also imagine just adding an example gallery entry in
sunkit-image
on how to usesolar_rotate_coordinate
withapply_shifts
to shift a map according to some relative shift in the center coordinate of the map. This would also make it explicitly to users what is happening under the hood, i.e. there is no warping or rotation, just shifts in the image plane.The text was updated successfully, but these errors were encountered: