code: def test_isc_input():
      # Set parameters for toy time series data
      n_subjects = 20
      n_TRs = 60
      n_voxels = 30
      random_state = 42
  
      logger.info("Testing ISC inputs")
  
      data = simulated_timeseries(
          n_subjects,
          n_TRs,
          n_voxels=None,
          data_type="list",
          random_state=random_state,
      )
      iscs_list = isc(data, pairwise=False, summary_statistic=None)
  
      # Array of subjects with one voxel/ROI
      data = simulated_timeseries(
          n_subjects,
          n_TRs,
          n_voxels=None,
          data_type="array",
          random_state=random_state,
      )
      iscs_array = isc(data, pairwise=False, summary_statistic=None)
  
      # Check they're the same
      assert np.array_equal(iscs_list, iscs_array)
  
      # List of subjects with multiple voxels/ROIs
      data = simulated_timeseries(
          n_subjects,
          n_TRs,
          n_voxels=n_voxels,
          data_type="list",
          random_state=random_state,
      )
      iscs_list = isc(data, pairwise=False, summary_statistic=None)
  
      # Array of subjects with multiple voxels/ROIs
      data = simulated_timeseries(
          n_subjects,
          n_TRs,
          n_voxels=n_voxels,
          data_type="array",
          random_state=random_state,
      )
      iscs_array = isc(data, pairwise=False, summary_statistic=None)
  
      # Check they're the same
      assert np.array_equal(iscs_list, iscs_array)
  
      logger.info("Finished testing ISC inputs")
  
file_path: brainiak/tests/isc/test_isc.py
imports: import numpy
  import logging
  import pytest
  from brainiak.isc import isc, isfc, bootstrap_isc, permutation_isc, squareform_isfc, timeshift_isc, phaseshift_isc
  from scipy.spatial.distance import squareform
label_desc: Use image node_id 3 for calling a global function with example usage: test_isc_input() without return types