parameters: (self, slicepoint: Sequence[Optional[float]],
                                           bin_params: Sequence[float], limits: tuple,
                                           transpose: bool,  dimension_indices: Sequence[int], cut: str)
return_statement: return help_msg
docstring: Export 1D cuts in the X/Y direction for the extent.
          :param slicepoint: ND sequence of either None or float. A float defines the point
                             in that dimension for the slice.
          :param bin_params: ND sequence containing the number of bins for each dimension. Can be None for HistoWorkspaces
          :param limits: An optional ND sequence containing limits for plotting dimensions. If
                         not provided the full extent of each dimension is used
          :param transpose: If true then the limits are transposed w.r.t to the data
          :param cut: A string denoting which type to export. Options=c,x,y.
docstring_summary: Export 1D cuts in the X/Y direction for the extent.
          :param slicepoint: ND sequence of either None or float. A float defines the point
                             in that dimension for the slice.
          :param bin_params: ND sequence containing the number of bins for each dimension. Can be None for HistoWorkspaces
          :param limits: An optional ND sequence containing limits for plotting dimensions. If
                         not provided the full extent of each dimension is used
          :param transpose: If true then the limits are transposed w.r.t to the data
          :param cut: A string denoting which type to export. Options=c,x,y.
docstring_tokens: Export 1D cuts in the X / Y direction for the extent . : param slicepoint : ND sequence of either None or float . A float defines the point in that dimension for the slice . : param bin_params : ND sequence containing the number of bins for each dimension . Can be None for HistoWorkspaces : param limits : An optional ND sequence containing limits for plotting dimensions . If not provided the full extent of each dimension is used : param transpose : If true then the limits are transposed w . r . t to the data : param cut : A string denoting which type to export . Options = c x y .
function: def export_cuts_to_workspace_mdhisto(self, slicepoint: Sequence[Optional[float]],
                                           bin_params: Sequence[float], limits: tuple,
                                           transpose: bool,  dimension_indices: Sequence[int], cut: str):
          """
          Export 1D cuts in the X/Y direction for the extent.
          :param slicepoint: ND sequence of either None or float. A float defines the point
                             in that dimension for the slice.
          :param bin_params: ND sequence containing the number of bins for each dimension. Can be None for HistoWorkspaces
          :param limits: An optional ND sequence containing limits for plotting dimensions. If
                         not provided the full extent of each dimension is used
          :param transpose: If true then the limits are transposed w.r.t to the data
          :param cut: A string denoting which type to export. Options=c,x,y.
          """
          workspace = self._get_ws()
          dim_limits = _dimension_limits(workspace, slicepoint, bin_params, dimension_indices, limits)
  
          # Construct paramters to integrate everything first and overrid per cut
          params = {f'P{n + 1}Bin': [*dim_limits[n]] for n in range(workspace.getNumDims())}
          xindex, yindex = _display_indices(slicepoint, transpose)
  
          xcut_name, ycut_name, help_msg = self._cut_names(cut)
          xdim_min, xdim_max = dim_limits[xindex]
          ydim_min, ydim_max = dim_limits[yindex]
          if xcut_name:
              params['OutputWorkspace'] = xcut_name
              params[f'P{xindex + 1}Bin'] = [xdim_min, 0, xdim_max]
              IntegrateMDHistoWorkspace(InputWorkspace=workspace, **params)
              _keep_dimensions(xcut_name, xindex)
          if ycut_name:
              params['OutputWorkspace'] = ycut_name
              params[f'P{xindex + 1}Bin'] = [xdim_min, xdim_max]
              params[f'P{yindex + 1}Bin'] = [ydim_min, 0, ydim_max]
              IntegrateMDHistoWorkspace(InputWorkspace=workspace, **params)
              _keep_dimensions(ycut_name, yindex)
  
          return help_msg
function_tokens: def export_cuts_to_workspace_mdhisto ( self , slicepoint : Sequence [ Optional [ float ] ] , bin_params : Sequence [ float ] , limits : tuple , transpose : bool , dimension_indices : Sequence [ int ] , cut : str ) : workspace = self . _get_ws ( ) dim_limits = _dimension_limits ( workspace , slicepoint , bin_params , dimension_indices , limits ) # Construct paramters to integrate everything first and overrid per cut params = { f'P{n + 1}Bin' : [ * dim_limits [ n ] ] for n in range ( workspace . getNumDims ( ) ) } xindex , yindex = _display_indices ( slicepoint , transpose ) xcut_name , ycut_name , help_msg = self . _cut_names ( cut ) xdim_min , xdim_max = dim_limits [ xindex ] ydim_min , ydim_max = dim_limits [ yindex ] if xcut_name : params [ 'OutputWorkspace' ] = xcut_name params [ f'P{xindex + 1}Bin' ] = [ xdim_min , 0 , xdim_max ] IntegrateMDHistoWorkspace ( InputWorkspace = workspace , * * params ) _keep_dimensions ( xcut_name , xindex ) if ycut_name : params [ 'OutputWorkspace' ] = ycut_name params [ f'P{xindex + 1}Bin' ] = [ xdim_min , xdim_max ] params [ f'P{yindex + 1}Bin' ] = [ ydim_min , 0 , ydim_max ] IntegrateMDHistoWorkspace ( InputWorkspace = workspace , * * params ) _keep_dimensions ( ycut_name , yindex ) return help_msg