code: def get_segment(neuron, section_id, segment_id):
      '''Get a segment given a section and segment id
  
      Returns:
          array of two [x, y, z, r] points defining segment
      '''
      sec = neuron.sections[section_id]
      return sec.points[segment_id:segment_id + 2][:, COLS.XYZRf get_segment(neuron, section_id, segment_id):
      '''Get a segment given a section and segment id
  
      Returns:
          array of two [x, y, z, r] points defining segment
      '''
      sec = neuron.sections[section_id]
      return sec.points[segment_id:segment_id + 2][:, COLS.XYZR]
docs: Get a segment given a section and segment id
  
      Returns:
          array of two [x, y, z, r] points defining segment