Avatar

Howdy, Stranger!

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

Supported by

eduard

About

Username
eduard
Joined
Visits
1,402
Last Active
Roles
Member, Moderator

Comments

  • Hi tasi, can you try again, but replace pick=randint(0, 9) with var.pick=randint(0, 9) and likewise marble=urne[var.pick] Does that solve the problem? Eduard
  • Indeed, that is not related to the script I think. Perhaps it seems so because the sketchpad is presented first?
  • Yes, unless you format your code properly (the way you see it in the editor), it is better to simply share your entire experiment. This now also presents the the typed letters onto the canvas of your sketchpad. Your problem was that you copied it on…
  • I can't help you without seeing any code. I mean I could write you something that could work, but without knowing anything that would again only lack something else.
  • The KeyError is raised when the key is not present in the mapping. I thought you want paricipants to press f, g,h, or i which should then appear as e, r, y, and u. So I added each of these maps to the mapping. If you need anything else, like pressin…
  • If you want me to help you, you at least have to tell me what the error is, and provide some more context. Like that I could only guess what is happening
  • Hi Lorinap, I think this should do: kb = Keyboard() resp = "" # Here we store the response key_mapper = {'f':'e', 'g':'r', 'h':'y', 'i':'u'} while True: key, time = kb.get_key() if key == "return": break if k…
  • Hi, Can you share your experiment? My hunch is that, your mouse response is not active yet, becauuse you have set the duration of the canvas to mouseclick. Is that possible? If you set it to 0, does it then work? Eduard
  • Hi Soan, I think you can rebuild the logic of the code snippet pretty much the same way in Javascript. Only you can't use numpy as math library but have to look into Javascript equivalents (e.g. Math). This looks like a legit implementation of the…
  • Hi Karolina, Without going into a lot of detail in Sebastiaan's code, you can captalize a string with the upper function. So if the variable resp is the variable that you want to capitalize you can call resp = resp.upper() to change it to upper ca…
  • Hi Mark, How exactly do you present the clock? And what exactly do you mean by fading out? More details on your implementation (description, screenshot, the experiment attached) would be nice to understand what your problem is. Do you use images, …
  • Great! By the way, your code is a little outdated. Currently it should be src = pool['Ocean_clip_1.wav'] my_sampler = Sampler(src) my_sampler.play() I think. Good luck! Eduard
  • Hi Javier, As I said, I am not sure what is happening in your case, the way you do it (splitting name and number) makes loop restrictions quite tricky. I attach your experiment rewritten to work with Python loops. You need to specify how many trial…
  • Thanks for looking into this @Fab. Well, then @sebastiaan to the rescue?
  • Hi, Not sure how this works with co-routines, but your while loop is a valid solution (one that I commonly use) Here some recommendations to your while loop kb = Keyboard() cv = Canvas() cv.fixdot() stim_duration = 1500 start_time = cv.show() whil…
  • Hi Michele, That sounds like an annoying problem. That it runs on your system is a good indicator for you not doing anything wrong. So, my guess is that it must be to do with some system difference between your pc and the one where it does not work…
  • Hi Daniele, Sorry your question went under my radar. Unfortunately, I am not too familiar with Tobiis, and also don't have an eyetracker at my disposal at the moment. So I can't really help you. Generally though, you need some sort of interface t…
  • Hi Michele, Too bad, that was that a hunch, @Fab have you encountered anything like this before? Eduard
  • hi @psychlg Really, you should do the tutorial. Step 6 describes exactly how you define x and y coordinates as variables (the part about draw the gaze cue). Eduard
  • Hi Javier, you case use wetransfer.com to upload the experiment and share it here. my approach is quite different to yours, That is okay. Generally, it makes a lot of sense to use the full-factorial design. Under some circumstances, (with certain …
  • Hi Erik, Where do you run the experiment? In the browser or in the GUI? As far as I can see, the sometimes function is not defined when you run it in the GUI, but I don't find the log file when you execute it online in the browser. Do you happen to…
  • Hi Psychlg, The attached experiment should give you a starting point to customize your experiment. The setup is straightforward you have two nested loop/sequences. In the outer loop you randomly select the set, in the inner loop you chose the image…
  • Hi @JKellogg, Right, the inline_script with the pygame.mixer.stop()will stop the sound. You can take it out and the tune will continue for longer. However, I don't think this will solve your problem necessarily. The reason for that is that the play…
  • Hi Javier, I added the restriction to my example. Other than that, I don't see why your situation should not work with that example. https://forum.cogsci.nl/uploads/193/GZNPSOSGIRFU.osexp Yes, the maxrep should also do the trick, so I guess someth…
  • Hi, Sounds weird. I guess you always end up in your else statement? Can you share your experiment, so i can have a closer look? What is the script earning_logging doing? Eduard
  • Hi Javier, please don't open multiple discussions about the same issue. Like that we want to avoid clutter in the forum. I'm closing this one here, and shall reply in the other one. Eduard
  • Hi Michelle, Hard to say what is wrong without having access to your hardware. I would recommend trying to interact directly with the port via the pserial package (in a python shell or something like that). Then you will have more control over what…
  • Hi Michele, I'm in no way an expert, but are you on a Mac by any chance? Have you seen this discussion: https://forum.cogsci.nl/discussion/6630/html-bold-tag-not-working Maybe your issue is related?
  • Hi Sam, Is there a way I can insert a scroll bar so participants can scroll down and see the rest of the info? That is not possible with the currently implemented features of forms. I recommend you present the information sequentially, by having a …
  • Hi @psychlg, Nice that Fab could help your problems. Let us know whether it solved your problems. That aside, it seems you have not spend a lot of time familiarizing yourself with Opensesame. Perhaps I am wrong, but both questions that you asked a…

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 http://45.77.173.118/ 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