Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by



Last Active
Member, Moderator


  • Not sure if I understand you correctly, but wouldn't this work: def create_random_stim(): sequence = ["R"] * 27 + ["B"] expyriment.design.randomize.shuffle_list(sequence) return expyriment.stimuli.TextLine("".…
  • What I meant is, you put in the data manually into the data file object (usually by doing something like exp.data.add(my_data). So, since you already have the data, before you manually put it into the data file object, there is no way to get the dat…
  • Thanks for pointing me to our old changelog! I entirely forgot that we fixed this before. I was trying to fix this issue for a while now and had not clue what the issue is. I now looked up the old code and while the issue was not the same back then,…
  • Well, you have the data yourself, before you write them to the file, right? :-)
  • I am not entirely sure I understand you correctly. The getter returns the actual object itself, not the location of it. The data object is an object that is writing data to a file.
  • Hi Dror, Pygame (and hence Expyriment) is not touchscreen aware. It only knows a mouse. Usually a single touch is emulated as a mouse click (this is at least the case on Android). On your device this is apparently not the case. I assume your touchs…
  • You will need to import the expyriment package, in order to use it in Python. I think at this point this forum thread might not be the best way for you to proceed. I get the impression that you might benefit more from first strengthening your gener…
  • Line 171 misses a closing parenthesis.
  • yes. florian@expyriment.org
  • I am afraid that due to automatic formatting in the forum, a lot of information is lost. You can embedd code here in the forum within three backticks on either side (Markdown syntax). Alternatively, you can upload your code to gist.github.com.
  • All of them? That is very strange. It is in general very difficult to judge errors without seeing the entire script. Could you provide the entire script?
  • Well, yes, of course. An integer is a built in Python data type representing a number, not an Expyriment stimulus. You first need to create a stimulus. Please see my example above.
  • Then I don't understand what the problem is. This should just work: mask = expyriment.stimuli.TextLine("#")target = expyriment.stimuli.Picture("...")mask.plot(target)
  • I thought prime is a stimulus you want to show on the screen?
  • Then prime is not of any of the Expyriment (visual) stimulus types.
  • plot will work with all visual stimuli
  • Prepare the following stimuli before stimulus presentation: * mask = expyriment.stimuli.Picture("...") * prime = expyriment.stimuli.Picture("...") * target = expyriment.stimuli.Picture("...") As well as: * prime_on_t…
  • It is not clear to me what your goal is. I understand that your code apparently does not do what you want it to do, but I don't understand what it is you want it to do. You first mentioned that each trial consists of 4 stimuli, but you present 6 st…
  • Given the refresh rate of 60Hz, here is what your script does in case SOA is 50: * it presents the screen_mask stimulus for 3 frames (50 ms) * it presents the prime_screen stimulus for 3 frames (50 ms) * it presents the screen_pic_prime stimulus fo…
  • Dear Arianna, What is your screen refresh rate? I am asking, because you use timings (49ms) that do not seem to fall at multiples of common refresh rates (e.g. 60Hz, 100Hz, 120Hz). From what I understand, you script does the following if SOA is 50…
  • Hi, not directly in Expyriment. But you could probably attempt to manipulate the surface of the stimulus (which is a Pygame surface). I would, however, suggest to not do this, as it might break some Expyriment internal things for that stimulus. As…
  • Hi, sound1.play()exp.clock.wait(500)sound2.play() But hardware samples is much better. Concerning the second question: TextBox stimulus will handle multiple lines (with "\n").
  • Mmh, I am still a bit puzzled about why this happens. We will look closer into it. Thanks for the suggestion of a tutorial for more advanced users. This is certainly a good idea.
  • Dear Kolao, you can simply create two Audio objects, and then call the play method of each of them 100 ms apart. However, please keep in mind that auditory timing on a computer is not very accurate (with latencies of several hundreds of a second an…
  • Hi, could you send me the script that crashes?
  • Mmh, I have never seen this before. Very strange. What graphics card was that? Might also be helpful to get the output of expyriment.misc.get_system_info() for further inspection.
  • This seems to be a bug. Thanks for reporting it. It is not entirely clear why this happens, as mkstemp on my machine does correctly return a string with escaped backslashes. We will look into it. In the meantime, could you give us some more informa…
  • Hi verkerm, it is a very basic operation. As the documentation says: "This blurs the stimulus, by scaling it down and up by the factor of 'level'." The scaling algorithm is Pygame's transform.scale, which is "a fast scale operation…
  • @AgnèsG, please just run the Python script I sent you earlier, and let me know what the output is. Thanks

agen judi bola , sportbook, casino, togel, number game, singapore, tangkas, basket, slot, poker, dominoqq, agen bola. Semua permainan bisa dimainkan hanya dengan 1 ID. minimal deposit 50.000 ,- bonus cashback hingga 10% , diskon togel hingga 66% bisa bermain di android dan IOS kapanpun dan dimana pun. poker , bandarq , aduq, domino qq , dominobet. Semua permainan bisa dimainkan hanya dengan 1 ID. minimal deposit 10.000 ,- bonus turnover 0.5% dan bonus referral 20%. Bonus - bonus yang dihadirkan bisa terbilang cukup tinggi dan memuaskan, anda hanya perlu memasang pada situs yang memberikan bursa pasaran terbaik yaitu Bola168. Situs penyedia segala jenis permainan poker online kini semakin banyak ditemukan di Internet, salah satunya TahunQQ merupakan situs Agen Judi Domino66 Dan BandarQ Terpercaya yang mampu memberikan banyak provit bagi bettornya. Permainan Yang Di Sediakan Dewi365 Juga sangat banyak Dan menarik dan Peluang untuk memenangkan Taruhan Judi online ini juga sangat mudah . Mainkan Segera Taruhan Sportbook anda bersama Agen Judi Bola Bersama Dewi365 Kemenangan Anda Berapa pun akan Terbayarkan. Tersedia 9 macam permainan seru yang bisa kamu mainkan hanya di dalam 1 ID saja. Permainan seru yang tersedia seperti Poker, Domino QQ Dan juga BandarQ Online. Semuanya tersedia lengkap hanya di ABGQQ. Situs ABGQQ sangat mudah dimenangkan, kamu juga akan mendapatkan mega bonus dan setiap pemain berhak mendapatkan cashback mingguan. ABGQQ juga telah diakui sebagai Bandar Domino Online yang menjamin sistem FAIR PLAY disetiap permainan yang bisa dimainkan dengan deposit minimal hanya Rp.25.000. DEWI365 adalah Bandar Judi Bola Terpercaya & resmi dan terpercaya di indonesia. Situs judi bola ini menyediakan fasilitas bagi anda untuk dapat bermain memainkan permainan judi bola. Didalam situs ini memiliki berbagai permainan taruhan bola terlengkap seperti Sbobet, yang membuat DEWI365 menjadi situs judi bola terbaik dan terpercaya di Indonesia. Tentunya sebagai situs yang bertugas sebagai Bandar Poker Online pastinya akan berusaha untuk menjaga semua informasi dan keamanan yang terdapat di POKERQQ13. Kotakqq adalah situs Judi Poker Online Terpercayayang menyediakan 9 jenis permainan sakong online, dominoqq, domino99, bandarq, bandar ceme, aduq, poker online, bandar poker, balak66, perang baccarat, dan capsa susun. Dengan minimal deposit withdraw 15.000 Anda sudah bisa memainkan semua permaina pkv games di situs kami. Jackpot besar,Win rate tinggi, Fair play, PKV Games