eulerlab / qdspy Goto Github PK
View Code? Open in Web Editor NEWQDSpy - a Python software for scripting and presenting stimuli for visual neuroscience.
Home Page: http://qdspy.eulerlab.de/
License: MIT License
QDSpy - a Python software for scripting and presenting stimuli for visual neuroscience.
Home Page: http://qdspy.eulerlab.de/
License: MIT License
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
Issues
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 ...int_screen_index_gui
in [Overlay]
is weird when !=0 ... ??RuntimeError: dictionary changed size during iteration
, which is annoying but inconsequential, I thinkIf you save the stimulus as stim_name.pickle file, it works well, but the background color (e.g. gray) is not saved, although it can be part of the stimulus. (If, for example, pauses with a gray screen are played between images).
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
... because the Windows API sets the gamma for all connected screens. Check if there is (now) a possibility to set gamma to individual screens?
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
Issues
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 ...int_screen_index_gui
in [Overlay]
is weird when !=0 ... ??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
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.
Make sure that when scaling/centering parameters are changed and saved (button), they are also immediately written to the INI file. Otherwise, these changes might get lost when QDSpy is aborted or crashes.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.