parameters: (transmission_workspace, calculate_transmission_state)
return_statement: return detector_ids_roi, detector_id_transmission_monitor
docstring: Get the detector ids which participate in the transmission calculation.
  
      This can come either from a ROI/MASK/RADIUS selection or from a transmission monitor, not both.
      :param transmission_workspace: the transmission workspace.
      :param calculate_transmission_state: a SANSStateCalculateTransmission object.
      :return: a list of detector ids for ROI and a detector id for the transmission monitor, either can be None
docstring_summary: Get the detector ids which participate in the transmission calculation.
docstring_tokens: Get the detector ids which participate in the transmission calculation .
function: def _get_detector_ids_for_transmission_calculation(transmission_workspace, calculate_transmission_state):
      """
      Get the detector ids which participate in the transmission calculation.
  
      This can come either from a ROI/MASK/RADIUS selection or from a transmission monitor, not both.
      :param transmission_workspace: the transmission workspace.
      :param calculate_transmission_state: a SANSStateCalculateTransmission object.
      :return: a list of detector ids for ROI and a detector id for the transmission monitor, either can be None
      """
      # Get the potential ROI detector ids
      transmission_radius = calculate_transmission_state.transmission_radius_on_detector
      transmission_roi = calculate_transmission_state.transmission_roi_files
      transmission_mask = calculate_transmission_state.transmission_mask_files
      detector_ids_roi = get_region_of_interest(transmission_workspace, transmission_radius, transmission_roi,
                                                transmission_mask)
  
      # Get the potential transmission monitor detector id
      transmission_monitor_spectrum_number = calculate_transmission_state.transmission_monitor
      detector_id_transmission_monitor = None
  
      if transmission_monitor_spectrum_number is not None:
          detector_id_transmission_monitor = get_detector_id_for_spectrum_number(transmission_workspace,
                                                                                 transmission_monitor_spectrum_number)
  
      return detector_ids_roi, detector_id_transmission_monitor
function_tokens: def _get_detector_ids_for_transmission_calculation ( transmission_workspace , calculate_transmission_state ) : # Get the potential ROI detector ids transmission_radius = calculate_transmission_state . transmission_radius_on_detector transmission_roi = calculate_transmission_state . transmission_roi_files transmission_mask = calculate_transmission_state . transmission_mask_files detector_ids_roi = get_region_of_interest ( transmission_workspace , transmission_radius , transmission_roi , transmission_mask ) # Get the potential transmission monitor detector id transmission_monitor_spectrum_number = calculate_transmission_state . transmission_monitor detector_id_transmission_monitor = None if transmission_monitor_spectrum_number is not None : detector_id_transmission_monitor = get_detector_id_for_spectrum_number ( transmission_workspace , transmission_monitor_spectrum_number ) return detector_ids_roi , detector_id_transmission_monitor