Skip to content

ag-perception-wallis-lab/numpyro_psychometric_function_tutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A tutorial on psychometric functions using Numpyro

Thomas Wallis (thomas.wallis@tu-darmstadt.de).

Prepared initially for a 90-min tutorial at the "Workshop on Visual Representations", Schloss Weitenburg near Starzach, March 5th -- 8th 2024.

WARNING: this code is currently not well tested, and should be used at your own risk.

Environment management

I'm using Poetry for environment management. The environment is specified in the pyproject.toml file. After installing Poetry on your system, you should be able to initialise a virtual environment by typing poetry install in the project directory. (By default this creates a .venv directory in your project directory). If you have troubles with specific versions, try deleting the poetry.lock file and trying poetry install again.

Literate programming

I'm using Quarto for the notebook-like thing. The .qml file can be run interactively in VS Code (much like a notebook), but one can then render out to a variety of formats by running quarto render from the command line (with the environment activated).

Basic directory structure

  • data contains... the data
  • docs contains documents / slides
  • results can be used to save outputs (e.g. fitted model objects)
  • scripts contains anything that is "run" as a script -- including notebook-like objects.
  • src contains source code that can be imported into e.g. scripts.
  • tests aspirationally contains tests for code in src.

About

Repository for tutorial materials on multilevel psychometric functions in numpyro

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors