Skip to content

Commit

Permalink
Remove _get_rf alias
Browse files Browse the repository at this point in the history
  • Loading branch information
jsiegle authored and NileGraddis committed Nov 13, 2019
1 parent f77cc8e commit 6b27f8c
Showing 1 changed file with 0 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -198,20 +198,6 @@ def _get_rf(self, unit_id):
"""
return self.receptive_fields['spike_counts'].sel(unit_id=unit_id).data

def get_receptive_field(self, unit_id):
""" Alias for _get_rf()
Parameters
----------
unit_id : int
unique ID for the unit of interest
Returns
-------
receptive_field : 9 x 9 numpy array
"""
return self._get_rf(unit_id)

def _response_by_stimulus_position(self, dataset, presentations, row_key=None, column_key=None, unit_key='unit_id',
time_key='time_relative_to_stimulus_onset', spike_count_key='spike_count'):
Expand Down

0 comments on commit 6b27f8c

Please sign in to comment.