A Transform that does nothing.
| 209 | |
| 210 | |
| 211 | class NoOpTransform(Transform): |
| 212 | """ |
| 213 | A Transform that does nothing. |
| 214 | """ |
| 215 | def __getattr__(self, name): |
| 216 | if name.startswith("apply_"): |
| 217 | return lambda x: x |
| 218 | raise AttributeError("NoOpTransform object has no attribute {}".format(name)) |
| 219 | |
| 220 | |
| 221 | class PhotometricTransform(Transform): |
no outgoing calls
no test coverage detected
searching dependent graphs…