Skip to content

Commit

Permalink
Better rst in alignment_methods.py
Browse files Browse the repository at this point in the history
  • Loading branch information
FOUCHARD Denis committed Feb 26, 2024
1 parent 008422e commit 8fd6863
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions fmralign/alignment_methods.py
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ def fit(self, X, Y):
"""
Parameters
--------------
----------
X: (n_samples, n_features) nd array
source data
Y: (n_samples, n_features) nd array
Expand Down Expand Up @@ -440,7 +440,7 @@ def fit(self, X, Y):
"""
Parameters
--------------
----------
X: (n_samples, n_features) nd array
source data
Y: (n_samples, n_features) nd array
Expand Down Expand Up @@ -492,7 +492,7 @@ def __init__(
Initialize the IndividualizedNeuralTuning object.
Parameters:
--------
----------
decomp_method : str
The decomposition method to use.
Can be ["pca", "pcav1", "procrustes"]
Expand Down Expand Up @@ -541,7 +541,7 @@ def _tuning_estimator(shared_response, target):
Estimate the tuning matrix for individualized neural tuning.
Parameters:
--------
----------
shared_response : array-like
The shared response matrix of shape (n_timepoints, k)
where k is the dimension of the sources latent space.
Expand All @@ -565,7 +565,7 @@ def _stimulus_estimator(full_signal, n_subjects, latent_dim=None, scaling=True):
Estimates the stimulus matrix for the Individualized Neural Tuning model.
Parameters:
--------
-----------
full_signal : numpy.ndarray
Concatenated signal for all subjects,
of shape (n_timepoints, n_subjects * n_voxels).
Expand Down Expand Up @@ -623,7 +623,7 @@ def fit(
Fits the IndividualizedNeuralTuning model to the training data.
Parameters:
--------
-----------
X : array-like
The training data of shape (n_subjects, n_samples, n_voxels).
Expand Down Expand Up @@ -702,7 +702,7 @@ def transform(self, X, verbose=False):
Transforms the input test data using the hyperalignment model.
Parameters:
--------
----------
X : array-like
The test data of shape (n_subjects, n_timepoints, n_voxels).
verbose : bool(optional)
Expand Down

0 comments on commit 8fd6863

Please sign in to comment.