InDeCa
repository of Interpretable Deconvolution for Calcium imaging.
Development Guide
pdm workflow (recommended)
- Obtain
pdmglobally on your system. Either follow the official guide, or if you prefer to use conda,conda install -c conda-forge pdminto yourbaseenvironment. - Clone the repo and enter:
git clone https://github.com/Aharoni-Lab/indeca.git cd indeca
- If you want to use conda/mamba to handle dependencies, create a conda environment:
Otherwise skip to next stepconda create -n indeca -c conda-forge python=3.12 conda activate indeca pdm install
setup cuosqp
- Install cuda-toolkit 11.8 into the environment:
mamba env create -n indeca-dev -f environment/cuda.yml conda activate indeca-dev
- Obtain cuosqp source code:
cd .. git clone https://github.com/osqp/cuosqp.git
- Find the computing capability of your GPU and modify line 120-125 of
osqp_sources/CMakeLists.txtunder the cuosqp repo accordingly:set(CMAKE_CUDA_ARCHITECTURES 89) # modify the compute capability 89 to match your GPU # if (DFLOAT) # set(CMAKE_CUDA_FLAGS "${CMAKE_CUDA_FLAGS} --gpu-architecture=compute_89 --gpu-code=sm_89") # else() # # To use doubles we need compute capability 6.0 for atomic operations # set(CMAKE_CUDA_FLAGS "${CMAKE_CUDA_FLAGS} --gpu-architecture=compute_89 --gpu-code=sm_89") # endif()
- Obtain a copy of cuda examples 11.8 from here
- Add the extracted cuda examples folder to the include directories:
- add the directory after line 5 of
osqp_sources/lin_sys/cuda/cuda_pcg/CMakeLists.txt - modify the directory to point to the cuda examples folder at line 27 of
osqp_sources/algebra/cuda/CMakeLists.txt:set(helper_cuda_header_dir /path/to/cuda-samples-11.8/Common)
- add the directory after line 5 of
- Run
CUDA_PATH=whatever python setup.py install. If you followed the steps correctly,CUDA_PATHshouldn't matter (but it has to be set). - Verify that
cuosqpis installed under your environment.
Metadata
Release files for indeca 0.1.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 | Provenance | Actions |
|---|---|---|---|---|
| indeca-0.1.0.tar.gz | 67.5 kB | Without provenance | Details for indeca-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| indeca-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for indeca-0.1.0-py3-none-any.whl |
Total release size: 111.6 kB
Release files / indeca-0.1.0.tar.gz
| Download URL | indeca-0.1.0.tar.gz |
|---|---|
| Size | 67.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a578e946db964bb82a1291ec6b8374880fcc1cd142e4d0b5ef5bcc80e71f6515
|
|
BLAKE2b-256 checksum How to use checksums |
0635ed7ec9bf6965d19ae2aaec4c2e718581a2dd7bce691dfd54aebb6694c4b7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
pdm/2.19.1 CPython/3.11.5 Linux/6.8.0-59-generic
|
Release files / indeca-0.1.0-py3-none-any.whl
| Download URL | indeca-0.1.0-py3-none-any.whl |
|---|---|
| Size | 44.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d55483dbad524cb6aff95b76450f2c4b355fada82443ada7d98793056f932e8c
|
|
BLAKE2b-256 checksum How to use checksums |
d4263a078598190bab280f69159f2718ff9956f02bbb24da99767a570ab956c2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
pdm/2.19.1 CPython/3.11.5 Linux/6.8.0-59-generic
|
Security for indeca 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.