Skip to content

Commit

Permalink
Updated documentation for data_path.py
Browse files Browse the repository at this point in the history
  • Loading branch information
yingtluo committed Dec 12, 2015
1 parent 683cad2 commit ac9060d
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions code/stat159lambda/utils/data_path.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,37 @@ def get_smoothed_path(subj_num, fwhm_mm):


def get_smoothed_2d_path(subj_num, fwhm_mm):
"""
Derives the absolute path to the smoothed 2-D data for a particular subject
and particular full width half maximum smoothed version
Parameters
----------
subj_num : int
fwhm_mm : int
Returns
-------
path: string
"""
return '{0}/data/processed/sub{1}_rcds_smoothed_{2}_mm_2d.npy'.format(
REPO_HOME_PATH, subj_num, fwhm_mm)


def get_correlation_path(subj_1_num, subj_2_num):
"""
Derives the absolute path to the calculated correlations between two
subjects
Parameters
----------
subj_1_num : int
subj_2_num : int
Returns
-------
path: string
"""
return '{0}/data/processed/sub{1}_sub{2}_correlation.npy'.format(
REPO_HOME_PATH, subj_1_num, subj_2_num)

Expand Down

0 comments on commit ac9060d

Please sign in to comment.