Adaptive Trial Placement for Psychophysical Experiments
Project description
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
907fc1345a29e98495b19602a8303d674c658d648725411a0ecffa8b27a54f82
|
|
| MD5 |
4926cb2131dad0ba6de71fe0613cd63c
|
|
| BLAKE2b-256 |
c69a072e928d1db7f9dd8a9efb3a2b5ba0cdceba387063402edc053a356abdcc
|
Provenance
The following attestation bundles were made for psyphy-0.0.4.tar.gz:
Publisher:
publish.yml on flatironinstitute/psyphy
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
psyphy-0.0.4.tar.gz -
Subject digest:
907fc1345a29e98495b19602a8303d674c658d648725411a0ecffa8b27a54f82 - Sigstore transparency entry: 1203704685
- Sigstore integration time:
-
Permalink:
flatironinstitute/psyphy@146af8b9e6c8c24a7c09966f869e8e69ce765ebc -
Branch / Tag:
refs/tags/v0.0.4 - Owner: https://github.com/flatironinstitute
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@146af8b9e6c8c24a7c09966f869e8e69ce765ebc -
Trigger Event:
push
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
089f4a5bc83df3075d45eb12b15b7e0db7248e81fc03408bdce0631f6fdacddd
|
|
| MD5 |
15f7e28b16cb37b62053f8f4073e872a
|
|
| BLAKE2b-256 |
a7e0fe9862fc5bbc9e6ce2b43a8d89bb18074b13f4bbcb8328860bf760674beb
|
Provenance
The following attestation bundles were made for psyphy-0.0.4-py3-none-any.whl:
Publisher:
publish.yml on flatironinstitute/psyphy
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
psyphy-0.0.4-py3-none-any.whl -
Subject digest:
089f4a5bc83df3075d45eb12b15b7e0db7248e81fc03408bdce0631f6fdacddd - Sigstore transparency entry: 1203704711
- Sigstore integration time:
-
Permalink:
flatironinstitute/psyphy@146af8b9e6c8c24a7c09966f869e8e69ce765ebc -
Branch / Tag:
refs/tags/v0.0.4 - Owner: https://github.com/flatironinstitute
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@146af8b9e6c8c24a7c09966f869e8e69ce765ebc -
Trigger Event:
push
-
Statement type: