parameters: (
          nx_low,
          nx_high,
          ny_low,
          ny_high,
          workspace,
          component_name=None)
return_statement: return pixel_list
docstring: Generate a list of masked pixels.
          @param nx_low: number of pixels to mask on the lower-x side of the detector
          @param nx_high: number of pixels to mask on the higher-x side of the detector
          @param ny_low: number of pixels to mask on the lower-y side of the detector
          @param ny_high: number of pixels to mask on the higher-y side of the detector
          @param workspace: the pixel number and size info will be taken from the workspace
docstring_summary: Generate a list of masked pixels.
docstring_tokens: Generate a list of masked pixels .
function: def get_masked_pixels(
          nx_low,
          nx_high,
          ny_low,
          ny_high,
          workspace,
          component_name=None):
      """
          Generate a list of masked pixels.
          @param nx_low: number of pixels to mask on the lower-x side of the detector
          @param nx_high: number of pixels to mask on the higher-x side of the detector
          @param ny_low: number of pixels to mask on the lower-y side of the detector
          @param ny_high: number of pixels to mask on the higher-y side of the detector
          @param workspace: the pixel number and size info will be taken from the workspace
      """
      id_list = get_masked_ids(
          nx_low,
          nx_high,
          ny_low,
          ny_high,
          workspace,
          component_name)
  
      nx_pixels = int(workspace.getInstrument(
      ).getNumberParameter("number-of-x-pixels")[0])
      ny_pixels = int(workspace.getInstrument(
      ).getNumberParameter("number-of-y-pixels")[0])
  
      pixel_list = []
      current_det_id = 3  # First ID (Need to get this from somewhere!!)
      for i in range(ny_pixels):
          for j in range(nx_pixels):
              if current_det_id in id_list:
                  pixel_list.append([i, j])
      return pixel_list
function_tokens: def get_masked_pixels ( nx_low , nx_high , ny_low , ny_high , workspace , component_name = None ) : id_list = get_masked_ids ( nx_low , nx_high , ny_low , ny_high , workspace , component_name ) nx_pixels = int ( workspace . getInstrument ( ) . getNumberParameter ( "number-of-x-pixels" ) [ 0 ] ) ny_pixels = int ( workspace . getInstrument ( ) . getNumberParameter ( "number-of-y-pixels" ) [ 0 ] ) pixel_list = [ ] current_det_id = 3 # First ID (Need to get this from somewhere!!) for i in range ( ny_pixels ) : for j in range ( nx_pixels ) : if current_det_id in id_list : pixel_list . append ( [ i , j ] ) return pixel_list