@property
    def nP(self):
        if self.normal == 'Z':
            return self.mesh.nCx * self.mesh.nCy
        elif self.normal == 'Y':
            return self.mesh.nCx * self.mesh.nCz
        elif self.normal == 'X':
            return self.mesh.nCy * self.mesh.nCz
Get language with a specific code 
dataset/ETHPy150Open simpeg/simpeg/SimPEG/Maps.py/Surject2Dto3D.nP--crossover with--dataset/ETHPy150Open Opentaste/bombolone/bombolone/core/languages.py/Languages.get_all_lang_by_code