Giter VIP home page Giter VIP logo

qdspy's Introduction

QDSpy v.91 beta

QDSpy is a software for generating and presenting stimuli for visual neuroscience. It is based on QDS, developped in the former Dept. of Biomedical Optics at the MPI for Medical Research in Heidelberg. QDSpy is written in Python, uses OpenGL and primarly targets Windows 7 and above.

Note, this is still a beta version. For disclaimer, see here.

Documentation

For documentation, see manual.

To jump to installation, see Wiki or manual.

For details on versions, see release notes.

qdspy's People

Contributors

jonathanoesterle avatar lukerogerson avatar scanm avatar teuler avatar tom-tbt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

qdspy's Issues

Question on the water video stimulus

Hi Thomas,
I'm interested in the water.avi video, but I need to modify it slightly. I can do that in Fiji for example but then exporting it with jpeg compression gives a lower quality.

Is it a video you found online? Is it possible to generate or obtain a longer one with a higher quality and/or resolution? (with png compression maybe)

I want to remove the red component from the video, and make it longer. I saw that I can concatenate video but I'd prefer not to, to avoid correlations in the stimulus.

Thanks,
Tom

Screen overlay mode

Issues

  1. When only one screen is attached, the overlay window appears somewhere "outside" screen one ... needs to be fixed.
  2. int_screen_width_pix = 0 in [Stage] needs to be 0 as if for full screen mode, otherwise activating bool_use_screen_overlay causes an error of some kind ...
  3. The GUI for changing the .ini file with respect to the overlay screen setting seems not to work yet
  4. int_screen_index_gui in [Overlay] is weird when !=0 ... ??
  5. With Python 3.7, terminating QDSpy causes RuntimeError: dictionary changed size during iteration, which is annoying but inconsequential, I think

Screen overlay mode

Issues

  1. When only one screen is attached, the overlay window appears somewhere "outside" screen one ... needs to be fixed.
  2. int_screen_width_pix = 0 in [Stage] needs to be 0 as if for full screen mode, otherwise activating bool_use_screen_overlay causes an error of some kind ...
  3. The GUI for changing the .ini file with respect to the overlay screen setting seems not to work yet; int_screen_index_gui in [Overlay] is weird when !=0 ... ??

Shader overlay

Hi Thomas,
I'm facing an issue. Basically, I would like to print a Box object on top of an object with a shader (in my case SquareWaveGrating).

When I put a normal box object on top, it is always covered by the shader (In the list of object to present, the obj with the shader is the first).
So I tried the overlay with an object having a shader too, but the result is strange. After I compiled the stimulus, two consecutive play won't give always the same output. Sometimes the shader is overlayed, sometimes no.

Do you have an idea where it could come from? Like taking the shader objects from a dictionary and not a list.

Thanks,
Tom

AntiMarker

Hi Thomas,
I fetch the new version and I saw that anti marker was not working. I think you accepted this modif since I saw it around the code. I notice that there is only one thing missing:
In QDSpy_core_presenter.py, line 485:
if self.Conf.markShowOnScr:
if sc[stm.SC_field_marker]:
self.Batch.add_rect_data(self.markerVert)

But it miss the printing of the antimarker and should be like that:
if self.Conf.markShowOnScr:
if sc[stm.SC_field_marker]:
self.Batch.add_rect_data(self.markerVert)
else:
self.Batch.add_rect_data(self.antiMarkerVert)

I think the best is that you change it directly if you agree with it.

Cheers,
Tom

Stimulus recording

I added some code to make the stimulus recording (i.e. save the stimulus to a file) functional. I was wondering if I should make a pull request for this (then I would have to clean the code a bit, first).

The code is implemented such that:
Every n-th frame (set by the user) is stored to a (downsampled, set by the user) PIL image. At the end of the stimulus all PIL images are stacked to a 4d-numpy-uint8-array and saved to a pickle file.

QDSpy documentation

Hi Thomas,
I was installing on a fresh computer QDSpy. I followed the installation instruction on http://qdspy.eulerlab.de/installation.html, and one install was missing from there:

pip install serial

I forgot to note the error and from which script the error came from, but I think it's one of the digital I/O thing.
Anyway, just installing this additional package solved my problem.

Cheers,
Tom

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.