StaticMatrixTransform#
- class astropy.coordinates.StaticMatrixTransform(matrix, fromsys, tosys, priority=1, register_graph=None)[源代码]#
-
定义为3×3笛卡尔变换矩阵的坐标变换。
这不同于DynamicMatrixTransform,因为这种矩阵与帧属性无关。这要看情况而定 only 在帧的类上。
- 参数:
- matrix : array_like 或
callable()
NumPy:ARRAY_LIKE或PYTHON:Callable() 用于转换3个向量的3x3矩阵。在大多数情况下将是统一的(尽管这不是严格要求)。如果是可调用的,将被调用 没有争论 得到矩阵。
- fromsys类
要开始的坐标系类。
- tosys类
要转换为的坐标系类。
- priority :
float
或int
PYTHON:FLOAT或PYTHON:INT 当找到最短坐标变换路径时,此变换的优先级-大数为低优先级。
- register_graph :
TransformGraph
orNone
TransformGraph或PYTHON:无 用于在创建时注册此转换的图形,或
None
不登记。
- matrix : array_like 或
- 加薪:
ValueError
如果矩阵不是3x3