Python bindings to https://github.com/aforren1/psydapt.
To install, either install from PyPI (pip install psydapt), or find the latest wheels under "Artifacts" here: https://github.com/aforren1/psydapt-py/actions. Windows users may need the Microsoft Visual C++ runtime DLLs. One easy way to acquire those is via pip install msvc-runtime.
For now, see the C++ documentation for details: https://aforren1.github.io/psydapt/index.html
See the demos/ folder for examples.
from psydapt import Scale
import psydapt.questplus as qp
from psydapt.staircase import Staircase
from psydapt.questplus import Weibull
x = Staircase(
start_val=0.5,
n_reversals=3,
step_sizes=[0.01, 0.001],
n_trials=20,
n_up=4,
n_down=3,
apply_initial_rule=True,
stim_scale=Scale.Linear,
min_val=0
)
intensities = [-3.5, -3.25, -3, -2.75, -2.5,
-2.25, -2, -1.75, -1.5, -1.25,
-1, -0.75, -0.5]
y = Weibull(
stim_scale=Scale.Log10,
intensity=intensities,
threshold=intensities,
slope=[0.5, 4.125, 7.75, 11.375, 15],
lower_asymptote=[0.01, 0.1325, 0.255, 0.3775, 0.5],
lapse_rate=[0.01],
stim_selection_method=qp.StimSelectionMethod.MinEntropy, # only MinEntropy for now
param_estimation_method=qp.ParamEstimationMethod.Mean, # currently unused
n=5, # currently unused
max_consecutive_reps=2, # currently unused
random_seed=1 # currently unused
)
Metadata
Release files for psydapt 0.1.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| psydapt-0.1.3.0.zip | 9.2 kB | Details |
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| psydapt-0.1.3.0-cp39-cp39-win_amd64.whl | CPython 3.9 | CPython 3.9 | Windows x86-64 | Details |
| psydapt-0.1.3.0-cp39-cp39-manylinux2010_x86_64.whl | CPython 3.9 | CPython 3.9 | Linux glibc 2.12+ x86-64 | Details |
| psydapt-0.1.3.0-cp39-cp39-macosx_10_14_x86_64.whl | CPython 3.9 | CPython 3.9 | macOS 10.14+ x86-64 | Details |
| psydapt-0.1.3.0-cp38-cp38-win_amd64.whl | CPython 3.8 | CPython 3.8 | Windows x86-64 | Details |
| psydapt-0.1.3.0-cp38-cp38-manylinux2010_x86_64.whl | CPython 3.8 | CPython 3.8 | Linux glibc 2.12+ x86-64 | Details |
| psydapt-0.1.3.0-cp38-cp38-macosx_10_14_x86_64.whl | CPython 3.8 | CPython 3.8 | macOS 10.14+ x86-64 | Details |
| psydapt-0.1.3.0-cp37-cp37m-win_amd64.whl | CPython 3.7 | CPython 3.7 pymalloc | Windows x86-64 | Details |
| psydapt-0.1.3.0-cp37-cp37m-manylinux2010_x86_64.whl | CPython 3.7 | CPython 3.7 pymalloc | Linux glibc 2.12+ x86-64 | Details |
| psydapt-0.1.3.0-cp37-cp37m-macosx_10_14_x86_64.whl | CPython 3.7 | CPython 3.7 pymalloc | macOS 10.14+ x86-64 | Details |
| psydapt-0.1.3.0-cp36-cp36m-win_amd64.whl | CPython 3.6 | CPython 3.6 pymalloc | Windows x86-64 | Details |
| psydapt-0.1.3.0-cp36-cp36m-manylinux2010_x86_64.whl | CPython 3.6 | CPython 3.6 pymalloc | Linux glibc 2.12+ x86-64 | Details |
| psydapt-0.1.3.0-cp36-cp36m-macosx_10_14_x86_64.whl | CPython 3.6 | CPython 3.6 pymalloc | macOS 10.14+ x86-64 | Details |
Total release size: 2.4 MB
Release files / psydapt-0.1.3.0.zip
| Download URL | psydapt-0.1.3.0.zip |
|---|---|
| Size | 9.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
60aaddbd78d94d8e25a503bdcdd63f433713db6bbcb0b2bdb84e17d5846a0a39
|
|
BLAKE2b-256 checksum How to use checksums |
4eec60401991df86d03f958f8345043a85c4e4431da72cf5e343b8198fe7336b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.2
|
Release files / psydapt-0.1.3.0-cp39-cp39-win_amd64.whl
| Download URL | psydapt-0.1.3.0-cp39-cp39-win_amd64.whl |
|---|---|
| Size | 175.6 kB |
| Tags | CPython 3.9 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
e430222eb95745521bb9852ed3dee5ff7d42371bcdadd33f8954fde28460dc0c
|
|
BLAKE2b-256 checksum How to use checksums |
8b34af766f4955dca11813dd1a6a7d1316e17e62b37839965f2222b9d969995d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.2
|
Release files / psydapt-0.1.3.0-cp39-cp39-manylinux2010_x86_64.whl
| Download URL | psydapt-0.1.3.0-cp39-cp39-manylinux2010_x86_64.whl |
|---|---|
| Size | 231.1 kB |
| Tags | CPython 3.9 Linux glibc 2.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
afdae2f2e3b471163986278ba05ca7597f4b34bae6833a95970e13324fa79b45
|
|
BLAKE2b-256 checksum How to use checksums |
7ad0f1b617dc8d9de6b64244cba73d483616be884d33c8b3c7ac7f6a13b13272
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.2
|
Release files / psydapt-0.1.3.0-cp39-cp39-macosx_10_14_x86_64.whl
| Download URL | psydapt-0.1.3.0-cp39-cp39-macosx_10_14_x86_64.whl |
|---|---|
| Size | 200.9 kB |
| Tags | CPython 3.9 macOS 10.14+ x86-64 |
|
SHA-256 checksum How to use checksums |
e1c68ca7359be2d3c185ca14a2e05663ba14189842b9343d14a3d27193d770b8
|
|
BLAKE2b-256 checksum How to use checksums |
355ffb8d793e72d7d1fb24cb8619a0b2cc7acd0a6f1114e55db5cf2d203c726d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.2
|
Release files / psydapt-0.1.3.0-cp38-cp38-win_amd64.whl
| Download URL | psydapt-0.1.3.0-cp38-cp38-win_amd64.whl |
|---|---|
| Size | 178.0 kB |
| Tags | CPython 3.8 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
71d0094a074db9f2bb3529ed9c5b922bc7ad7de2f0768b0dd443056ac5c78db3
|
|
BLAKE2b-256 checksum How to use checksums |
6582ac9e947d669cd010cfd0740c2c824b2a41db839da869c0074379e414c2b8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.2
|
Release files / psydapt-0.1.3.0-cp38-cp38-manylinux2010_x86_64.whl
| Download URL | psydapt-0.1.3.0-cp38-cp38-manylinux2010_x86_64.whl |
|---|---|
| Size | 230.7 kB |
| Tags | CPython 3.8 Linux glibc 2.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
fea5bb99f9125347b91d84cfdfab434fabffd4fd6a4e5a618683f1acff46eac3
|
|
BLAKE2b-256 checksum How to use checksums |
66dca6a786268598973826c7514b85abba2266fb7821ab39fec0fe86cb1c0180
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.2
|
Release files / psydapt-0.1.3.0-cp38-cp38-macosx_10_14_x86_64.whl
| Download URL | psydapt-0.1.3.0-cp38-cp38-macosx_10_14_x86_64.whl |
|---|---|
| Size | 200.7 kB |
| Tags | CPython 3.8 macOS 10.14+ x86-64 |
|
SHA-256 checksum How to use checksums |
cc6ea76e68bd053c54dc214d07d5528445d795a2b036883da87029741c6780ec
|
|
BLAKE2b-256 checksum How to use checksums |
291df018c6054b94cb8b7b4b0763acd46a430da69694d175971d45c2d40a312f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.2
|
Release files / psydapt-0.1.3.0-cp37-cp37m-win_amd64.whl
| Download URL | psydapt-0.1.3.0-cp37-cp37m-win_amd64.whl |
|---|---|
| Size | 177.7 kB |
| Tags | CPython 3.7 CPython 3.7 pymalloc Windows x86-64 |
|
SHA-256 checksum How to use checksums |
ddc5ea1b4bb9dd66c7a17bfd20dfa2b6c7b91c8d98326c74dd6fd1cd391f7601
|
|
BLAKE2b-256 checksum How to use checksums |
65905501830d0b753f3ed0655ef6e27cc7421252358bc078cd9a0d2b5add1a64
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.2
|
Release files / psydapt-0.1.3.0-cp37-cp37m-manylinux2010_x86_64.whl
| Download URL | psydapt-0.1.3.0-cp37-cp37m-manylinux2010_x86_64.whl |
|---|---|
| Size | 230.5 kB |
| Tags | CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
e18ae268306965617d71bd653694d06b4ce10e5dc23a2128ae88e3ebfe8fe3b9
|
|
BLAKE2b-256 checksum How to use checksums |
4a82b42e73d9b95ce076284a387d7db4422f4575b5e7a9d90f4134615348e94c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.2
|
Release files / psydapt-0.1.3.0-cp37-cp37m-macosx_10_14_x86_64.whl
| Download URL | psydapt-0.1.3.0-cp37-cp37m-macosx_10_14_x86_64.whl |
|---|---|
| Size | 197.0 kB |
| Tags | CPython 3.7 CPython 3.7 pymalloc macOS 10.14+ x86-64 |
|
SHA-256 checksum How to use checksums |
896fe239cd4addf055de1ccc1eb5175f6f4be1188a053e4dfde950ac4a866745
|
|
BLAKE2b-256 checksum How to use checksums |
eb55ddd20f70e840da99e2f370bef2db74cbc29c5c35a3dec8265e69825b9f6d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.2
|
Release files / psydapt-0.1.3.0-cp36-cp36m-win_amd64.whl
| Download URL | psydapt-0.1.3.0-cp36-cp36m-win_amd64.whl |
|---|---|
| Size | 177.8 kB |
| Tags | CPython 3.6 CPython 3.6 pymalloc Windows x86-64 |
|
SHA-256 checksum How to use checksums |
c5c5f21c70aef00b715afeb79cf2504afb620c88e800e03a9e40b85c1c3f4260
|
|
BLAKE2b-256 checksum How to use checksums |
758c1a2c01996e6f6a0341b5d3ebc4f8cbef7ad01ac9838b4a870a2e4b63d057
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.2
|
Release files / psydapt-0.1.3.0-cp36-cp36m-manylinux2010_x86_64.whl
| Download URL | psydapt-0.1.3.0-cp36-cp36m-manylinux2010_x86_64.whl |
|---|---|
| Size | 230.5 kB |
| Tags | CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
dfabe67000964b981d0865b0dfde0804a93ed8b4b0c8f659f740057e7a70f7a5
|
|
BLAKE2b-256 checksum How to use checksums |
95d1faace95467132346b95e7945e7681b1511ee7346a0a5995058ad5edb0df5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.2
|
Release files / psydapt-0.1.3.0-cp36-cp36m-macosx_10_14_x86_64.whl
| Download URL | psydapt-0.1.3.0-cp36-cp36m-macosx_10_14_x86_64.whl |
|---|---|
| Size | 196.9 kB |
| Tags | CPython 3.6 CPython 3.6 pymalloc macOS 10.14+ x86-64 |
|
SHA-256 checksum How to use checksums |
54429efbf6806175f8b373ef7bebfacde588dbd666fd26c2ccb4eb2d359b1716
|
|
BLAKE2b-256 checksum How to use checksums |
4aabfbbbdae385edb8639133c0cc94240f6745a69d467d10d3651c3191583d1f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.2
|