Giter Site home page Giter Site logo

kurokida / jsquest Goto Github PK

View Code? Open in Web Editor NEW
15.0 3.0 4.0 2.22 MB

A Bayesian adaptive psychometric method for measuring thresholds in online experiments.

License: MIT License

JavaScript 91.80% HTML 5.47% CSS 2.22% MATLAB 0.51%
online-experiments jspsych psychophysics psychtoolbox psychopy

jsquest's People

Contributors

kurokida avatar tpronk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

jsquest's Issues

jsQUEST with Gorilla

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.

Modularize jsQUEST & numeric.js

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:

  • At PsychoJS we use babel to compile ES6 into JavaScript that is suitable for older browsers.
  • Probably babel can also export ES6 to a global variable, similar to what you've got now, but for sure this can be done with browsersify, as I did in this experiment.

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

Working with lab.js

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?

Is the numeric.js updated?

Hi @tpronk , thank you in advance.

I've added the version information to src/jsQUEST.js, and compiled it.
This is the commit
b2735af

At this point, I noticed that the numeric.js was also updated.
Does this mean a change of the numeric in your repository?
Do I need to be concerned?

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.