kurokida / jsquest Goto Github PK
View Code? Open in Web Editor NEWA Bayesian adaptive psychometric method for measuring thresholds in online experiments.
License: MIT License
A Bayesian adaptive psychometric method for measuring thresholds in online experiments.
License: MIT License
Hi, @tpronk ,
I'm sorry I keep asking you for advice.
Have you ever used Gorilla?
I'm trying to get jsQUEST to work with Gorilla, and I'm having a little trouble.
To summarize, I probably need to store the jsQUEST object and retrieve it, but it fails.
Rather than explaining it in detail here, it would be better to show you a sample I created.
Gorilla has a collaborating feature, so if you have an account (or create one) I'll share the program with you.
If you have time and are interested in this, please let me know your Gorilla account.
As I mentioned earlier, I am writing a paper on jsQUEST. In it, I plan to describe how to use jsQUEST with PsychoJS, jsPsych, Gorilla, and lab.js. Thats why, I am checking how jsQUEST works with Gorilla.
As for lab.js, I haven't started yet.
I'm in no hurry, and you don't have to rush at all either.
Hey @kurokida,
Continuing one of the topics that came up in our chat on the PsychoPy forum: how to turn jsQUEST into a module (and have it play nice with numeric.js)?
An advantage of numeric.js not being developed anymore is that we can edit its structure without worrying what happens upstream. I'm quite sure I can help you out converting it into a module, but before we go do that, a question...
What kind of module would you like? If I may make a recommendation: ES6 is the most modern standard. A build chain could look a bit like this:
Note that I'm not really an expert in build chains, but we've got an expert in our team; I'll pull him in once we've got an outline of our plan.
Best, Thomas
Hi @tpronk , I'm sorry for bothering you.
You mentioned that you've used lab.js before, so let me ask you some questions.
This is a jsQUEST sample program for lab.js.
jsQuest_lab_js_json.txt
Change the extension to json and try to load it in lab.js.
You'll see intensity columns jsQUEST calculated in the output (CSV) file. In other words, jsQUEST is working fine.
I also want to present the intensity values on the Screen1 or Screen2 using a text ${this.parameters.intensity}
, but I couldn't.
Do you have any suggestions?
The bundle that's compiled with rollup makes sure the library can be used in all kinds of different module systems. However, it does mean that if an error occurs, it's difficult to trace the error back to the original source code. A sourcemap could help out with this. See https://www.npmjs.com/package/rollup-plugin-sourcemaps
I was looking around at WebGazer and noticed they've been moving away from numeric. One of the alternatives considered is math.js. Would that work for us?
For context see: brownhci/WebGazer#225
Denis Pelli has been running tests of the PsychoJS integration of jsQUEST and got an unexpected error message:
QuestUpdate: intensity -2.1941879156398305 out of range
-2.1989700043360187 to 2.8010299956639813. Pdf will be inexact.
Suggest that you increase “range” in call to QuestCreate.
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.