original_docstring: 
          This method returns distal pressure in the index finger (mmHg)
          
docstring: This method returns distal pressure in the index finger (mmHg)
docstring_tokens: This method returns distal pressure in the index finger ( mmHg )
code: def GetDistalPressure(self, adaptation):
          '''
          This method returns distal pressure in the index finger (mmHg)
          '''
          for element in self.NetworkMesh.Elements:
              if element.Name == 'index_finger':
                  for day,sol in adaptation.solutions.iteritems():
                      if day == 4:
                          meshid = element.Id
                          dofs = element.GetPoiseuilleDofs()
                          distalPressure = mean(self.Solutions[(self.DofMap.DofMap[meshid, dofs[1]]),self.CardiacFreq*(self.Cycles-1):])
                 
          return round(distalPressure/133.32,2)
code_tokens: def GetDistalPressure ( self , adaptation ) : for element in self . NetworkMesh . Elements : if element . Name == 'index_finger' : for day , sol in adaptation . solutions . iteritems ( ) : if day == 4 : meshid = element . Id dofs = element . GetPoiseuilleDofs ( ) distalPressure = mean ( self . Solutions [ ( self . DofMap . DofMap [ meshid , dofs [ 1 ] ] ) , self . CardiacFreq * ( self . Cycles - 1 ) : ] ) return round ( distalPressure / 133.32 , 2 )
short_docstring: This method returns distal pressure in the index finger (mmHg)
short_docstring_tokens: This method returns distal pressure in the index finger ( mmHg )
comment: '''
          This method returns distal pressure in the index finger (mmHg)
          '''