ioam / topographica

A general-purpose neural simulator focusing on topographic maps.
topographica.org
BSD 3-Clause "New" or "Revised" License
53 stars 32 forks source link

receptive filed plotting #663

Open windform2015 opened 8 years ago

windform2015 commented 8 years ago

Hi, when I run the command measure_rfs, I got these errors

AttributeError Traceback (most recent call last)

in () ----> 1 data=c(times=times) /home/windform/env1/topographica/external/holoviews/holoviews/interface/collector.pyc in **call**(self, attrtree, times, strict) 552 task(attrtree, self.time_fn(), times) 553 else: --> 554 task(attrtree_buffer, self.time_fn(), times) 555 attrtree.update(attrtree_buffer) 556 /home/windform/env1/topographica/external/holoviews/holoviews/interface/collector.pyc in **call**(self, attrtree, time, times) 292 return attrtree 293 --> 294 val = self._get_result(attrtree, time, times) 295 if val is None: return attrtree 296 /home/windform/env1/topographica/external/holoviews/holoviews/interface/collector.pyc in _get_result(self, attrtree, time, times) 278 resolvable = hasattr(self.obj, 'resolve') 279 obj = self.obj.resolve() if resolvable else self.obj --> 280 return self.hook(obj, _self.args, *_self.kwargs) 281 282 /home/windform/env1/topographica/external/featuremapper/featuremapper/command.pyc in measurement_hook(obj, _args, *_kwargs) 1256 1257 def measurement_hook(obj, _args, *_kwargs): -> 1258 return obj(_args, *_kwargs) 1259 1260 def pattern_hook(obj,_args, *_kwargs): /home/windform/env1/topographica/external/param/param/parameterized.pyc in **new**(class_, _args, *_params) 1845 inst = class_.instance() 1846 inst._set_name(class_.**name**) -> 1847 return inst.**call**(_args,__params) 1848 1849 def **call**(self,_args,**kw): /home/windform/env1/topographica/external/featuremapper/featuremapper/command.pyc in **call**(self, **params) 457 static_features=static_params, 458 pattern_response_fn=p.pattern_response_fn, --> 459 pattern_generator=p.pattern_generator) 460 self._restore_presenter_defaults() 461 /home/windform/env1/topographica/external/param/param/parameterized.pyc in **new**(class_, _args, *_params) 1845 inst = class_.instance() 1846 inst._set_name(class_.**name**) -> 1847 return inst.**call**(_args,__params) 1848 1849 def **call**(self,_args,**kw): /home/windform/env1/topographica/external/featuremapper/featuremapper/**init**.pyc in **call**(self, features, **params) 676 self._measure_responses(p) 677 --> 678 results = self._collate_results(p) 679 680 if p.measurement_storage_hook: /home/windform/env1/topographica/external/featuremapper/featuremapper/**init**.pyc in _collate_results(self, p) 806 for i, ii in enumerate(rows): 807 for j, jj in enumerate(cols): --> 808 coord = view.matrixidx2sheet(ii, jj) 809 im = Image(rc_response[i, j], input_metadata['bounds'], 810 label=out_label, group='Receptive Field', AttributeError: 'GridSpace' object has no attribute 'matrixidx2sheet' Could you help check how to fix this ? Thanks !