Determine the linearity class to use if the type is known.
Parameters
----------
linearityTypeName : str
String name of the linearity type that is needed.
Returns
-------
linearityType : `~lsst.ip.isr.linearize.LinearizeSquared`
The appropriate linearity class to use. If no matching class
is found, `None` is returned.
Definition at line 32 of file linearize.py.
33 """Determine the linearity class to use if the type is known. 37 linearityTypeName : str 38 String name of the linearity type that is needed. 42 linearityType : `~lsst.ip.isr.linearize.LinearizeSquared` 43 The appropriate linearity class to use. If no matching class 44 is found, `None` is returned. 46 for t
in [LinearizeLookupTable, LinearizeSquared]:
47 if t.LinearityType == linearityTypeName:
def getLinearityTypeByName(linearityTypeName)