SunPy physics

The physics submodule contains routines to calculate various physical parameters and models for the Sun.

sunpy.physics Package

sunpy.physics.differential_rotation Module


diff_rot(duration, latitude[, rot_type, …]) This function computes the change in longitude over days in degrees.
solar_rotate_coordinate(coordinate, …[, …]) Given a coordinate on the Sun, calculate where that coordinate maps to at some later or earlier time, given the solar rotation profile.
diffrot_map(smap[, time, dt, pad]) Function to apply solar differential rotation to a sunpy map.

sunpy.physics.solar_rotation Module

This module provides routines for applying solar rotation functions to mapcubes.


calculate_solar_rotate_shift(mc[, layer_index]) Calculate the shift that must be applied to each map contained in a mapcube in order to compensate for solar rotation.
mapcube_solar_derotate(mc[, layer_index, …]) Move the layers in a mapcube according to the input shifts.