astro py:docs

- Index
- Modules

### Navigation

- next »
- « previous |
- Astropy v0.3 »
- Astronomical Coordinate Systems (`astropy.coordinates`) »
- DynamicMatrixTransform

# DynamicMatrixTransform

class `astropy.coordinates.transformations.``DynamicMatrixTransform`(fromsys, tosys, matrix_func, priority=1, register=True)

  Bases: `astropy.coordinates.transformations.CoordinateTransform`

  A coordinate transformation specified as a function that yields a 3 x 3 cartesian transformation matrix.

  Parameters:

  fromsys : class

  > The coordinate system class to start from.

  tosys : class

  > The coordinate system class to transform into.

  matrix_func : callable

  > A callable that accepts a coordinate object and yields the 3 x 3 matrix that converts it to the new coordinate system.

  priority : number

  > The priority if this transform when finding the shortest coordinate tranform path - large numbers are lower priorities.

  Raises:

  TypeError :

  > If `matrix_func` is not callable