lsst.afw  21.0.0-27-g37a8c363b+1e633d4884
Functions | Variables
lsst.afw.geom._python._transform Namespace Reference

Functions

def getJacobian (self, x)
 
def then (self, next, simplify=True)
 
def unpickleTransform (cls, state)
 
def reduceTransform (transform)
 
def addTransformMethods (cls)
 

Variables

dictionary transformRegistry = {}
 
 toEndpoint
 
 getJacobian
 
 then
 

Function Documentation

◆ addTransformMethods()

def lsst.afw.geom._python._transform.addTransformMethods (   cls)
Add pure python methods to the specified Transform class, and register
the class in `transformRegistry`

All :ref:`_pybind11_transform_classes` must call this function.

Parameters
----------
cls : :ref:`_pybind11_transform_classes`
A Transform class or subclass, e.g.
`lsst.afw.geom.TransformPoint2ToSpherePoint`

Definition at line 94 of file _transform.py.

◆ getJacobian()

def lsst.afw.geom._python._transform.getJacobian (   self,
  x 
)

Definition at line 47 of file _transform.py.

◆ reduceTransform()

def lsst.afw.geom._python._transform.reduceTransform (   transform)
Pickle a Transform object

This provides the `__reduce__` implementation for a Transform.

Definition at line 86 of file _transform.py.

◆ then()

def lsst.afw.geom._python._transform.then (   self,
  next,
  simplify = True 
)
Concatenate two transforms

The result of A.then(B) is is C(x) = B(A(x))

Definition at line 55 of file _transform.py.

◆ unpickleTransform()

def lsst.afw.geom._python._transform.unpickleTransform (   cls,
  state 
)
Unpickle a Transform object

Parameters
----------
cls : `type`
    A `Transform` class.
state : `str`
    Pickled state.

Returns
-------
transform : `cls`
    The unpickled Transform.

Definition at line 68 of file _transform.py.

Variable Documentation

◆ getJacobian

lsst.afw.geom._python._transform.getJacobian

Definition at line 112 of file _transform.py.

◆ then

lsst.afw.geom._python._transform.then

Definition at line 113 of file _transform.py.

◆ toEndpoint

lsst.afw.geom._python._transform.toEndpoint

Definition at line 60 of file _transform.py.

◆ transformRegistry

dictionary lsst.afw.geom._python._transform.transformRegistry = {}

Definition at line 44 of file _transform.py.