GithubHelp home page GithubHelp logo

Comments (2)

nzjrs avatar nzjrs commented on July 28, 2024

If 'any set of movies' is synonymous with any video stimulus without having to put it in the playlist then this is already there BUT, as much as I am luke warm about the playlist concept, it does provide the necessary opportunity for the backend psychopy code to setup and construct the visual stimuli (and psychopy setup is slow). If you lazily construct a video plalist item (a movie?) then you will pay the delay cost.

That said,

def play_backend_item(self, backend, **conf):
Experiment.play_backend_item should let you send any video playlist item stanza without having it in the playlist ahead of time - however the video server will take however long it takes to init this
stim = stimulus_factory(defn['name'], **defn.get('configuration', {}))
before showing it which adds latency. I always favoured the tradeoff of preconfiguring the playlist items to save the latency switch.

Wrt. CL - Experiment.item_mutate

def item_mutate(self, backend, identifier, attribute, value):
lets you change the attribute of a backend playlist item attribute, to do CL manipulation of any attribute in a video playlist item
q.put(elem['video_mutate'])
and
setattr(_stim.p, _attr, _value)
(from memory)

from fly-vr.

nzjrs avatar nzjrs commented on July 28, 2024

this was a video CL example https://github.com/murthylab/fly-vr/blob/master/experiments/cl_fixation.py

from fly-vr.

Related Issues (20)

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.