code: def dimensionality_problem_message(arr, num_samples, spr):
      """Message about the number of samples being smaller than one less the
          dimensionality of the data to be denoised.
  
          Parameters
          ----------
          arr : ndarray
              Data to be denoised.
          num_samples : int
              Number of samples.
          spr : int
              Suggested patch radius.
      .
          Returns
          -------
          str
              Message.
      """
  
      return (
          f"Number of samples {arr.shape[-1]} - 1 < Dimensionality "
          f"{num_samples}. This might have a performance impact. Increase p"
          f"atch_radius to {spr} to avoid this."
      )
  
file_path: dipy/dipy/denoise/localpca.py
imports: import copy
  from packaging.version import Version
  from warnings import warn
  import numpy
  import scipy
  from scipy.linalg import eigh
  from dipy.denoise.pca_noise_estimate import pca_noise_estimate
label_desc: Use image node_id 1 for calling a global function with example usage: dimensionality_problem_message(arr, num_samples, spr) and returns: str, arr, str, num_samples, str, spr, str