SNAP:模拟和神经科学应用平台



是否有关于如何使用 SNAP(模拟和神经科学应用平台)的文档/帮助手册1。

我想使用刺激的.avi文件而不是图像来运行电机图像示例场景。怎么能做到这一点呢?

使用AlphaCalibration 场景时会出现以下错误,该场景提供了播放 avi 文件的代码。任何帮助表示赞赏

:movies:ffmpeg(warning): parser not found for codec indeo4, packets or times may be invalid.
:movies:ffmpeg(warning): max_analyze_duration 5000000 reached at 5000000
:movies(error): Could not open /e/BCI_Feb2014/SNAP-master/src/studies/SampleStudy/bird.avi
:audio(error): Cannot open file: /e/BCI_Feb2014/SNAP-master/src/studies/SampleStudy/bird.avi
:audio(error): Could not open audio /e/BCI_Feb2014/SNAP-master/src/studies/SampleStudy/bird.avi
:movies:ffmpeg(warning): parser not found for codec indeo4, packets or times may be invalid.
:movies:ffmpeg(warning): max_analyze_duration 5000000 reached at 5000000
:movies(error): Could not open /e/BCI_Feb2014/SNAP-master/src/studies/SampleStudy/bird.avi
:gobj(error): Texture "/e/BCI_Feb2014/SNAP-master/src/studies/SampleStudy/bird.avi" exists but cannot be read.
Traceback (most recent call last):
  File "E:BCI_Feb2014SNAP-mastersrcframeworklatentmodule.py", line 458, in _run_wrap
    self.run()
  File "modulesBCIAlphaCalibration.py", line 30, in run
Exception during run():
    m = self.movie(self.moviefile, block=False, scale=[0.7,0.4],aspect=1.125,contentoffset=[0,0],volume=0.3,timeoffset=self.begintime+t*self.awake_duration,looping=True)
Could not load texture: bird.avi
  File "E:BCI_Feb2014SNAP-mastersrcframeworkbasicstimuli.py", line 348, in movie
    tex = self._engine.base.loader.loadTexture(filename)
  File "E:BCI_Feb2014Panda3D-1.8.0directshowbaseLoader.py", line 554, in loadTexture
    raise IOError, message
IOError: Could not load texture: bird.avi

由于文件大小的原因,视频文件不包含在 github 存储库中。但是,如果您使用放置在搜索路径上的任何其他视频文件(例如,在其他媒体文件旁边 - 另请参阅 Panda3d 的内容搜索路径概念),您的用例应该有效。

有一个 SNAP 版本,包括媒体文件:ftp://sccn.ucsd.edu/pub/software/LSE-SDK/其中可能包括您要查找的文件。

最新更新