code: def calcAbsSegCoords(self):
          ''' Calculate absolute seg coords by translating the relative seg coords -- used for LFP calc'''
          from .. import sim
  
          p3dsoma = self.getSomaPos()
          pop = self.tags['pop']
          morphSegCoords = sim.net.pops[pop]._morphSegCoords
  
          # rotated coordinates around z axis first then shift relative to the soma
          self._segCoords = {}
          p3dsoma = p3dsoma[np.newaxis].T  # trasnpose 1d array to enable matrix calculation
          self._segCoords['p0'] = p3dsoma + morphSegCoords['p0']
          self._segCoords['p1'] = p3dsoma + morphSegCoords['p1'f calcAbsSegCoords(self):
          ''' Calculate absolute seg coords by translating the relative seg coords -- used for LFP calc'''
          from .. import sim
  
          p3dsoma = self.getSomaPos()
          pop = self.tags['pop']
          morphSegCoords = sim.net.pops[pop]._morphSegCoords
  
          # rotated coordinates around z axis first then shift relative to the soma
          self._segCoords = {}
          p3dsoma = p3dsoma[np.newaxis].T  # trasnpose 1d array to enable matrix calculation
          self._segCoords['p0'] = p3dsoma + morphSegCoords['p0']
          self._segCoords['p1'] = p3dsoma + morphSegCoords['p1']
docs: Calculate absolute seg coords by translating the relative seg coords -- used for LFP calc