original_docstring: 
  
      Parameters
      ----------
      bboxes : list
      lc_object : `~lightkurve.LightCurve` instance
      fill : float
          If None, return light curve in the bounding boxes.
          Otherwise the outer region will be filled with a given value.
          Default value is 1.
      Returns
      -------
      
docstring: Parameters
  bboxes : list
  lc_object : `~lightkurve.LightCurve` instance
  fill : float
  If None, return light curve in the bounding boxes.
  Otherwise the outer region will be filled with a given value.
  Default value is 1.
  Returns
docstring_tokens: Parameters bboxes : list lc_object : ` ~lightkurve . LightCurve ` instance fill : float If None return light curve in the bounding boxes . Otherwise the outer region will be filled with a given value . Default value is 1 . Returns
code: def select_lc_from_bboxes(lc_object, bboxes, fill=1):
      """
  
      Parameters
      ----------
      bboxes : list
      lc_object : `~lightkurve.LightCurve` instance
      fill : float
          If None, return light curve in the bounding boxes.
          Otherwise the outer region will be filled with a given value.
          Default value is 1.
      Returns
      -------
      """
      range_logic = False
      for bbox in bboxes:
          t0 = bbox[1] - bbox[3] / 2
          t1 = bbox[1] + bbox[3] / 2
          y0 = bbox[2] - bbox[4] / 2
          y1 = bbox[2] + bbox[4] / 2
          range_logic = range_logic | (lc_object.time.value >= t0) & (lc_object.time.value <= t1) & (
                  lc_object.flux.value >= y0) & (lc_object.flux.value <= y1)
  
      if fill is not None:
          notransiting_lc = lc_object[~range_logic]
          notransiting_lc['flux'] = fill
          filled_lc = lc_object[range_logic].append(notransiting_lc)
          filled_lc.sort('time')
          return filled_lc
      else:
          return lc_object[range_logic]
code_tokens: def select_lc_from_bboxes ( lc_object , bboxes , fill = 1 ) : range_logic = False for bbox in bboxes : t0 = bbox [ 1 ] - bbox [ 3 ] / 2 t1 = bbox [ 1 ] + bbox [ 3 ] / 2 y0 = bbox [ 2 ] - bbox [ 4 ] / 2 y1 = bbox [ 2 ] + bbox [ 4 ] / 2 range_logic = range_logic | ( lc_object . time . value >= t0 ) & ( lc_object . time . value <= t1 ) & ( lc_object . flux . value >= y0 ) & ( lc_object . flux . value <= y1 ) if fill is not None : notransiting_lc = lc_object [ ~ range_logic ] notransiting_lc [ 'flux' ] = fill filled_lc = lc_object [ range_logic ] . append ( notransiting_lc ) filled_lc . sort ( 'time' ) return filled_lc else : return lc_object [ range_logic ]
short_docstring: Parameters
  bboxes : list
  lc_object : `~lightkurve.LightCurve` instance
  fill : float
  If None, return light curve in the bounding boxes.
short_docstring_tokens: Parameters bboxes : list lc_object : ` ~lightkurve . LightCurve ` instance fill : float If None return light curve in the bounding boxes .
comment: """
  
      Parameters
      ----------
      bboxes : list
      lc_object : `~lightkurve.LightCurve` instance
      fill : float
          If None, return light curve in the bounding boxes.
          Otherwise the outer region will be filled with a given value.
          Default value is 1.
      Returns
      -------
      """