nighres.laminar.profile_sampling(profile_surface_image, intensity_image, save_data=False, overwrite=False, output_dir=None, file_name=None)[source]

Sampling data on multiple intracortical layers

  • profile_surface_image (niimg) – 4D image containing levelset representations of different intracortical surfaces on which data should be sampled
  • intensity_image (niimg) – Image from which data should be sampled
  • save_data (bool) – Save output data to file (default is False)
  • overwrite (bool) – Overwrite existing results (default is False)
  • output_dir (str, optional) – Path to desired output directory, will be created if it doesn’t exist
  • file_name (str, optional) – Desired base name for output files with file extension (suffixes will be added)

Dictionary collecting outputs under the following keys (suffix of output files in brackets)

  • result (niimg): 4D profile image , where the 4th dimension represents the profile for each voxel (_lps-data)

Return type:



Original Java module by Pierre-Louis Bazin and Juliane Dinse