Skip to main content

Adaptive Trial Placement for Psychophysical Experiments

Project description

psyphy logo

Active-learning-driven adaptive experimentation in psychophysics

Installation | Documentation | Examples | Contributing

Overview

psyphy is an open-source, JAX-based framework for psychophysics research. It leverages GPU acceleration and efficient approximate inference to power Bayesian, active-learning-driven adaptive experiments.

Designed to be modular and extensible, psyphy accelerates research workflows and enables real-time adaptive experiments. While currently focused on human color perception, it can be adapted to other perceptual modalities.

The package is under active development, and we welcome contributions.

Install

psyphy only supports python 3.10+. We recommend installing psyphy under a virtual environment. Once you've created a virtual environment for psyphy and activated it, you can install psyphy using pip:

pip install psyphy

If you're developer or want to use the latest features, you can install from GitHub using:

git clone https://flatironinstitute.github.io/psyphy.git
cd psyphy
pip install -e .

Quickstart

  • Go here for a light-weight tutorial that demonstrates how to instantiate, evaluate and fit a model quickly. You should be able to run the underlying script on your CPU.
  • Go here for a more comprehensive example visualizing a spatially varying covariance field, also explaining the underlying math. The underlying script for this tutorial requires a GPU.

Contributing

For contributors, see CONTRIBUTING.md for full doc guidelines and NumPy-style docstrings.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

psyphy-0.0.4.tar.gz (57.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

psyphy-0.0.4-py3-none-any.whl (44.9 kB view details)

Uploaded Python 3

File details

Details for the file psyphy-0.0.4.tar.gz.

File metadata

  • Download URL: psyphy-0.0.4.tar.gz
  • Upload date:
  • Size: 57.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for psyphy-0.0.4.tar.gz
Algorithm Hash digest
SHA256 907fc1345a29e98495b19602a8303d674c658d648725411a0ecffa8b27a54f82
MD5 4926cb2131dad0ba6de71fe0613cd63c
BLAKE2b-256 c69a072e928d1db7f9dd8a9efb3a2b5ba0cdceba387063402edc053a356abdcc

See more details on using hashes here.

Provenance

The following attestation bundles were made for psyphy-0.0.4.tar.gz:

Publisher: publish.yml on flatironinstitute/psyphy

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file psyphy-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: psyphy-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 44.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for psyphy-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 089f4a5bc83df3075d45eb12b15b7e0db7248e81fc03408bdce0631f6fdacddd
MD5 15f7e28b16cb37b62053f8f4073e872a
BLAKE2b-256 a7e0fe9862fc5bbc9e6ce2b43a8d89bb18074b13f4bbcb8328860bf760674beb

See more details on using hashes here.

Provenance

The following attestation bundles were made for psyphy-0.0.4-py3-none-any.whl:

Publisher: publish.yml on flatironinstitute/psyphy

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page