neuroprob/likelihoods.py
def _neuron_to_F(self, neuron):
        """
        Access subset of neurons in expanded space.
        """
        neuron = self._validate_neuron(neuron)
        if len(neuron) == self.neurons:
            F_dims = list(range(self.F_dims))
        else: # access subset of neurons
            F_dims = list(np.concatenate([np.arange(n*self.C, (n+1)*self.C) for n in neuron]))
            
        return F_dims

        Access subset of neurons in expanded space.
        
Access subset of neurons in expanded space.
Access subset of neurons in expanded space .
def _neuron_to_F(self, neuron):
        neuron = self._validate_neuron(neuron)
        if len(neuron) == self.neurons:
            F_dims = list(range(self.F_dims))
        else: 
            F_dims = list(np.concatenate([np.arange(n*self.C, (n+1)*self.C) for n in neuron]))
        return F_dims
def _neuron_to_F ( self , neuron ) : neuron = self . _validate_neuron ( neuron ) if len ( neuron ) == self . neurons : F_dims = list ( range ( self . F_dims ) ) else : F_dims = list ( np . concatenate ( [ np . arange ( n * self . C , ( n + 1 ) * self . C ) for n in neuron ] ) ) return F_dims
Access subset of neurons in expanded space.
Access subset of neurons in expanded space .
"""
        Access subset of neurons in expanded space.
        """ # access subset of neurons
self
neuron