code: def _load_noise_component(confounds_raw, component, missing, **kargs):
      """Load confound of a single noise component.
  
      Parameters
      ----------
      confounds_raw : :class:`pandas.DataFrame`
          The confounds loaded from the confounds file.
  
      component : :obj:`str`
          The noise component to be loaded. The item from the strategy list.
  
      missing : :obj:`dict`
          A dictionary of missing confounds and noise component keywords.
  
      kargs : :obj:`dict`
          Extra relevant parameters for the given `component`.
          See :func:`nilearn.interfaces.fmriprep.load_confounds` for details.
  
      Returns
      -------
      loaded_confounds : :class:`pandas.DataFrame`
          The confounds loaded from the confounds file for the given component.
  
      missing : :obj:`dict`
          A dictionary of missing confounds and noise component keywords.
  
      Raises
      ------
      MissingConfound
          If any of the confounds specified in the strategy are not found in the
          confounds file or confounds json file.
      """
      try:
          need_params = component_parameters.get(component)
          if need_params:
              params = {
                  param: kargs.get(param) for param in need_params
              }
              loaded_confounds = getattr(
                  components, f"_load_{component}"
              )(confounds_raw, **params)
          else:
              loaded_confounds = getattr(
                  components, f"_load_{component}"
              )(confounds_raw)
      except MissingConfound as exception:
          missing["confounds"] += exception.params
          missing["keywords"] += exception.keywords
          loaded_confounds = pd.DataFrame()
      return loaded_confounds, missing
  
file_path: nilearn/nilearn/interfaces/fmriprep/load_confounds.py
imports: import warnings
  import pandas
  from .None import load_confounds_components
  from .load_confounds_utils import MissingConfound, get_confounds_file, get_json, load_confounds_file_as_dataframe, load_confounds_json, prepare_output, sanitize_confounds
label_desc: Use image node_id 6 for calling a global function with example usage: _load_noise_component(confounds_raw, component, missing) and returns: loaded_confounds,  missing