SphericalRotationSequence

class astropy.modeling.rotations.SphericalRotationSequence(angles, axes_order, name=None, **kwargs)[source]

Bases: RotationSequence3D

Perform a sequence of rotations about arbitrary number of axes in spherical coordinates.

Parameters:
anglespython:list

A sequence of angles (in deg).

axes_orderpython:str

A sequence of characters (‘x’, ‘y’, or ‘z’) corresponding to the axis of rotation and matching the order in angles.

Attributes Summary

n_inputs

int([x]) -> integer int(x, base=10) -> integer

n_outputs

int([x]) -> integer int(x, base=10) -> integer

Methods Summary

evaluate(lon, lat, angles)

Apply the rotation to a set of 3D Cartesian coordinates.

Attributes Documentation

n_inputs

The number of inputs.

n_outputs

The number of outputs.

Methods Documentation

evaluate(lon, lat, angles)[source]

Apply the rotation to a set of 3D Cartesian coordinates.