Skip to content

Commit 716f99a

Browse files
jsiegleNileGraddis
authored andcommitted
Remove _get_rf alias
1 parent 16cc8da commit 716f99a

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

allensdk/brain_observatory/ecephys/stimulus_analysis/receptive_field_mapping.py

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -198,20 +198,6 @@ def _get_rf(self, unit_id):
198198
"""
199199
return self.receptive_fields['spike_counts'].sel(unit_id=unit_id).data
200200

201-
def get_receptive_field(self, unit_id):
202-
""" Alias for _get_rf()
203-
204-
Parameters
205-
----------
206-
unit_id : int
207-
unique ID for the unit of interest
208-
209-
Returns
210-
-------
211-
receptive_field : 9 x 9 numpy array
212-
213-
"""
214-
return self._get_rf(unit_id)
215201

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

0 commit comments

Comments
 (0)