get_transformation_matrix¶
-
modspectra.get_transformation_matrix(tilteddisk_frame, inverse=False)[source]¶ Create coordinate transformation matrix for converting between the TiltedDisk frame and Galactocentric frame
Parameters: tilteddisk_frame: TiltedDisk class Coordinate frame
inverse: ‘bool’, optional, must be keyword
if True, return the transposed matrix for converting from the Galactocentric frame to the TiltedDisk frame