def _getModelMapProperty(self):
        prop = self
        def fget(self):
            return getattr(self.propMap, '_%sMap'%prop.name, None)
        return property(fget=fget)
dataset/ETHPy150Open simpeg/simpeg/SimPEG/PropMaps.py/Property._getModelMapProperty/original