Пример #1
0
 def __init__(self, stimulus, hrf_model, normalizer=utils.percent_change, cached_model_path=None, nuisance=None):
     
     r"""A 2D Gaussian population receptive field model [1]_.
     
     Paramaters
     ----------
     
     stimulus : `VisualStimulus` class object
         A class instantiation of the `VisualStimulus` class
         containing a representation of the visual stimulus.
         
     hrf_model : callable
         A function that generates an HRF model given an HRF delay.
         For more information, see `popeye.utilties.double_gamma_hrf_hrf`
     
     
     References
     ----------
     
     .. [1] Dumoulin SO, Wandell BA. (2008) Population receptive field 
     estimates in human visual cortex. NeuroImage 39:647-660
     
     """
     
     PopulationModel.__init__(self, stimulus, hrf_model, normalizer)
Пример #2
0
 def __init__(self, stimulus, hrf_model):
     
     r"""A 1D Gaussian population receptive field model [1]_.
     
     Paramaters
     ----------
     
     stimulus : `AuditoryStimulus` class object
         A class instantiation of the `AuditoryStimulus` class
         containing a representation of the auditory stimulus.
         
     hrf_model : callable
         A function that generates an HRF model given an HRF delay.
         For more information, see `popeye.utilties.double_gamma_hrf_hrf`
     
     
     References
     ----------
     
     .. [1] Thomas JM, Huber E, Stecker GC, Boynton GM, Saenz M, Fine I. (2015) 
     Population receptive field estimates in human auditory cortex. 
     NeuroImage 105, 428-439.
     
     """
     
     # invoke the base class
     PopulationModel.__init__(self, stimulus, hrf_model)
Пример #3
0
 def __init__(self, stimulus, hrf_model, normalizer=utils.percent_change):
     
     r"""A 2D Gaussian population receptive field model [1]_,[2]_.
     
     Paramaters
     ----------
     
     stimulus : `VisualStimulus` class object
         A class instantiation of the `VisualStimulus` class
         containing a representation of the visual stimulus.
         
     hrf_model : callable
         A function that generates an HRF model given an HRF delay.
         For more information, see `popeye.utilties.double_gamma_hrf_hrf`
     
     
     References
     ----------
     
     .. [1] Dumoulin SO, Wandell BA. (2008) Population receptive field 
     estimates in human visual cortex. NeuroImage 39:647-660
     .. [2] DeSimone K, Viviano JD, Schneider KA (2015) Population receptive 
     field estimation reveals new maps in human subcortex.  Journal of 
     Neuroscience 35: 9836-9847. doi:10.1523/jneurosci.3840-14.2015
     
     """
     
     PopulationModel.__init__(self, stimulus, hrf_model, normalizer)
Пример #4
0
 def __init__(self, stimulus, hrf_model):
     
     r"""A 1D Gaussian population receptive field model [1]_.
     
     Paramaters
     ----------
     
     stimulus : `AuditoryStimulus` class object
         A class instantiation of the `AuditoryStimulus` class
         containing a representation of the auditory stimulus.
         
     hrf_model : callable
         A function that generates an HRF model given an HRF delay.
         For more information, see `popeye.utilties.double_gamma_hrf_hrf`
     
     
     References
     ----------
     
     .. [1] Thomas JM, Huber E, Stecker GC, Boynton GM, Saenz M, Fine I. (2015) 
     Population receptive field estimates in human auditory cortex. 
     NeuroImage 105, 428-439.
     
     """
     
     # invoke the base class
     PopulationModel.__init__(self, stimulus, hrf_model)
Пример #5
0
    def __init__(self,
                 stimulus,
                 hrf_model,
                 cached_model_path=None,
                 nuisance=None):

        PopulationModel.__init__(self, stimulus, hrf_model, nuisance)
Пример #6
0
 def __init__(self, stimulus, hrf_model, nuisance=None):
     
     r"""A 2D Gaussian population receptive field model [1]_,[2]_.
     
     Paramaters
     ----------
     
     stimulus : `VisualStimulus` class object
         A class instantiation of the `VisualStimulus` class
         containing a representation of the visual stimulus.
         
     hrf_model : callable
         A function that generates an HRF model given an HRF delay.
         For more information, see `popeye.utilties.double_gamma_hrf_hrf`
     
     
     References
     ----------
     
     .. [1] Dumoulin SO, Wandell BA. (2008) Population receptive field 
     estimates in human visual cortex. NeuroImage 39:647-660
     .. [2] DeSimone K, Viviano JD, Schneider KA (2015) Population receptive 
     field estimation reveals new maps in human subcortex.  Journal of 
     Neuroscience 35: 9836-9847. doi:10.1523/jneurosci.3840-14.2015
     
     """
     
     PopulationModel.__init__(self, stimulus, hrf_model, nuisance)
Пример #7
0
 def __init__(self, stimulus, hrf_model, nuisance=None):
     
     r"""A 2D Gaussian population receptive field model [1]_.
     
     Paramaters
     ----------
     
     stimulus : `VisualStimulus` class object
         A class instantiation of the `VisualStimulus` class
         containing a representation of the visual stimulus.
         
     hrf_model : callable
         A function that generates an HRF model given an HRF delay.
         For more information, see `popeye.utilties.double_gamma_hrf_hrf`
     
     
     References
     ----------
     
     .. [1] Dumoulin SO, Wandell BA. (2008) Population receptive field 
     estimates in human visual cortex. NeuroImage 39:647-660
     
     """
     
     PopulationModel.__init__(self, stimulus, hrf_model, nuisance)
Пример #8
0
 def __init__(self, stimulus, hrf_model, normalizer=utils.percent_change, cached_model_path=None, nuisance=None):
     
     r"""
     A Difference of Gaussian population receptive field model [1]_.
     
     Paramaters
     ----------
     
     stimulus : `VisualStimulus` class object
         A class instantiation of the `VisualStimulus` class
         containing a representation of the visual stimulus.
     
     hrf_model : callable
         A function that generates an HRF model given an HRF delay.
         For more information, see `popeye.utilties.double_gamma_hrf_hrf`
     
     References
     ----------
     
     .. [1] Zuiderbaan W, Harvey BM, Dumoulin SO (2012) Modeling 
     center-surroundconfigurations in population receptive fields 
     using fMRI. Journal of Vision 12(3):10,1-15.
     
     """
     PopulationModel.__init__(self, stimulus, hrf_model, normalizer)
Пример #9
0
 def __init__(self, stimulus, hrf_model, nuisance=None):
     
     r"""
     A Compressive Spatial Summation population receptive field model [1]_.
     
     Paramaters
     ----------
     
     stimulus : `VisualStimulus` class object
         A class instantiation of the `VisualStimulus` class
         containing a representation of the visual stimulus.
     
     hrf_model : callable
         A function that generates an HRF model given an HRF delay.
         For more information, see `popeye.utilties.double_gamma_hrf_hrf`
     
     References
     ----------
     
     .. [1] Kay KN, Winawer J, Mezer A, Wandell BA (2014) Compressive spatial
     summation in human visual cortex. Journal of Neurophysiology 110:481-494.
     
     """
     
     PopulationModel.__init__(self, stimulus, hrf_model, nuisance)
Пример #10
0
    def __init__(self,
                 stimulus,
                 hrf,
                 cached_model_path=None,
                 nuisance=None,
                 nr_TRs=103):

        PopulationModel.__init__(self, stimulus, hrf, nuisance, nr_TRs)
Пример #11
0
    def __init__(self, stimulus, hrf_model):
        """
        A spatiotemporal population receptive field model.
        
        Paramaters
        ----------
        
        stimulus : `VisualStimulus` class object
            A class instantiation of the `VisualStimulus` class
            containing a representation of the visual stimulus.
        
        
        """

        PopulationModel.__init__(self, stimulus, hrf_model)
Пример #12
0
    def __init__(self, stimulus, hrf_model):

        """
        A spatiotemporal population receptive field model.
        
        Paramaters
        ----------
        
        stimulus : `VisualStimulus` class object
            A class instantiation of the `VisualStimulus` class
            containing a representation of the visual stimulus.
        
        
        """

        PopulationModel.__init__(self, stimulus, hrf_model)
Пример #13
0
    def __init__(self,
                 stimulus,
                 hrf_model,
                 cached_model_path=None,
                 nuisance=None,
                 sg_filter_window_length=120,
                 sg_filter_polyorder=3,
                 sg_filter_deriv=0,
                 tr=1.5):

        PopulationModel.__init__(self, stimulus, hrf_model, nuisance)

        # sg filter
        self.sg_filter_window = np.int(sg_filter_window_length / tr)
        if self.sg_filter_window % 2 == 0:
            self.sg_filter_window += 1
        self.sg_filter_polyorder = sg_filter_polyorder
        self.sg_filter_deriv = sg_filter_deriv
Пример #14
0
    def __init__(self,
                 stimulus,
                 hrf_model,
                 cached_model_path=None,
                 nuisance=None,
                 sg_filter_window_length=120,
                 sg_filter_order=3,
                 tr=1.5):
        r"""
        A Compressive Spatial Summation population receptive field model [1]_.
        
        Paramaters
        ----------
        
        stimulus : `VisualStimulus` class object
            A class instantiation of the `VisualStimulus` class
            containing a representation of the visual stimulus.
        
        hrf_model : callable
            A function that generates an HRF model given an HRF delay.
            For more information, see `popeye.utilties.double_gamma_hrf_hrf`
        
        References
        ----------
        
        .. [1] Kay KN, Winawer J, Mezer A, Wandell BA (2014) Compressive spatial
        summation in human visual cortex. Journal of Neurophysiology 110:481-494.
        
        """

        PopulationModel.__init__(self, stimulus, hrf_model, cached_model_path,
                                 nuisance)

        self.window = np.int(sg_filter_window_length / tr)

        # Window must be odd
        if self.window % 2 == 0:
            self.window += 1

        self.sg_filter_order = sg_filter_order
Пример #15
0
 def __init__(self, stimulus):
     
     """
     A Gaussian population receptive field model [1]_.
     
     Paramaters
     ----------
     
     stimulus : `VisualStimulus` class object
         A class instantiation of the `VisualStimulus` class
         containing a representation of the visual stimulus.
     
     
     References
     ----------
     
     .. [1] Dumoulin SO, Wandell BA. (2008) Population receptive field 
     estimates in human visual cortex. NeuroImage 39:647-660
     
     """
     
     PopulationModel.__init__(self, stimulus)
Пример #16
0
 def __init__(self, stimulus, hrf_model):
     r"""
     A Difference of Gaussian population receptive field model [1]_.
     
     Paramaters
     ----------
     
     stimulus : `VisualStimulus` class object
         A class instantiation of the `VisualStimulus` class
         containing a representation of the visual stimulus.
     
     hrf_model : callable
         A function that generates an HRF model given an HRF delay.
         For more information, see `popeye.utilties.double_gamma_hrf_hrf`
     
     References
     ----------
     
     .. [1] Zuiderbaan W, Harvey BM, Dumoulin SO (2012) Modeling 
     center-surroundconfigurations in population receptive fields 
     using fMRI. Journal of Vision 12(3):10,1-15.
     
     """
     PopulationModel.__init__(self, stimulus, hrf_model)
Пример #17
0
    def __init__(self, stimulus):

        # this is a weird notation
        PopulationModel.__init__(self, stimulus)
Пример #18
0
 def __init__(self, stimulus):
     
     # this is a weird notation
     PopulationModel.__init__(self, stimulus)