code: def get_corr(reduced, alldims):
      return pearsonr(alldims.ravel(), reduced.ravel())[0]
  
file_path: hypertools/hypertools/tools/describe.py
imports: import warnings
  import numpy
  from scipy.stats.stats import pearsonr
  from scipy.spatial.distance import cdist
  import matplotlib.pyplot
  import seaborn
  from .reduce import reduce
  from .format_data import format_data
  from .._shared.helpers import memoize
label_desc: Use image node_id 2 for calling a global function with example usage: get_corr(reduced, alldims) and returns: pearsonr