예제 #1
0
파일: og.py 프로젝트: arokem/popeye
 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
파일: og_hrf.py 프로젝트: arokem/popeye
 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
파일: og_hrf.py 프로젝트: fagan2888/popeye
 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
파일: og.py 프로젝트: fagan2888/popeye
 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
파일: dog.py 프로젝트: arokem/popeye
 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
파일: og.py 프로젝트: mekman/popeye
 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
파일: gabor.py 프로젝트: mekman/popeye
 def __init__(self, stimulus):
     
     # this is a weird notation
     PopulationModel.__init__(self, stimulus)