@@ -40,13 +40,13 @@ def spm_hrf(RT, P=None, fMRI_T=16):
4040 % p - parameters of the response function (two gamma
4141 % functions)
4242 % defaults (seconds)
43- % p(0) - delay of response (relative to onset) 6
44- % p(1) - delay of undershoot (relative to onset) 16
45- % p(2) - dispersion of response 1
46- % p(3) - dispersion of undershoot 1
47- % p(4) - ratio of response to undershoot 6
48- % p(5) - onset (seconds) 0
49- % p(6) - length of kernel (seconds) 32
43+ % p(0) - delay of response (relative to onset) 6
44+ % p(1) - delay of undershoot (relative to onset) 16
45+ % p(2) - dispersion of response 1
46+ % p(3) - dispersion of undershoot 1
47+ % p(4) - ratio of response to undershoot 6
48+ % p(5) - onset (seconds) 0
49+ % p(6) - length of kernel (seconds) 32
5050 %
5151 % hrf - hemodynamic response function
5252 % p - parameters of the response function
@@ -135,7 +135,7 @@ def scale_timings(timelist, input_units, output_units, time_repetition):
135135
136136
137137def bids_gen_info (
138- bids_event_files , condition_column = "" , amplitude_column = None , time_repetition = False ,
138+ bids_event_files , condition_column = "" , amplitude_column = None , time_repetition = False
139139):
140140 """
141141 Generate a subject_info structure from a list of BIDS .tsv event files.
@@ -471,8 +471,7 @@ def _generate_standard_design(
471471 return sessinfo
472472
473473 def _generate_design (self , infolist = None ):
474- """Generate design specification for a typical fmri paradigm
475- """
474+ """Generate design specification for a typical fmri paradigm"""
476475 realignment_parameters = []
477476 if isdefined (self .inputs .realignment_parameters ):
478477 for parfile in self .inputs .realignment_parameters :
@@ -517,8 +516,7 @@ def _generate_design(self, infolist=None):
517516 )
518517
519518 def _run_interface (self , runtime ):
520- """
521- """
519+ """"""
522520 self ._sessioninfo = None
523521 self ._generate_design ()
524522 return runtime
@@ -739,7 +737,7 @@ class SpecifySparseModelOutputSpec(SpecifyModelOutputSpec):
739737
740738
741739class SpecifySparseModel (SpecifyModel ):
742- """ Specify a sparse model that is compatible with SPM/FSL designers [1]_.
740+ """Specify a sparse model that is compatible with SPM/FSL designers [1]_.
743741
744742 Examples
745743 --------
@@ -770,8 +768,7 @@ class SpecifySparseModel(SpecifyModel):
770768 output_spec = SpecifySparseModelOutputSpec
771769
772770 def _gen_regress (self , i_onsets , i_durations , i_amplitudes , nscans ):
773- """Generates a regressor for a sparse/clustered-sparse acquisition
774- """
771+ """Generates a regressor for a sparse/clustered-sparse acquisition"""
775772 bplot = False
776773 if isdefined (self .inputs .save_plot ) and self .inputs .save_plot :
777774 bplot = True
@@ -901,8 +898,7 @@ def _gen_regress(self, i_onsets, i_durations, i_amplitudes, nscans):
901898 return reg
902899
903900 def _cond_to_regress (self , info , nscans ):
904- """Converts condition information to full regressors
905- """
901+ """Converts condition information to full regressors"""
906902 reg = []
907903 regnames = []
908904 for i , cond in enumerate (info .conditions ):
0 commit comments