Code Monkey home page Code Monkey logo

splinepsf's Introduction

SplinePSF

This is a factored out implementation repository of the spline function implemented in C++/C and CUDA. Currently it may only be used in conjunction with the DeepSMLM package. However we are planning on small standalone wrapper for Python / MATLAB; this is also the reason why we opted for a separate repository.

Installation

conda install -c haydnspass -c conda-forge spline

Known Limitations

  • C++/CUDA implementation is currently not ready for standalone use
  • Updated: CUDA supports arbitrary ROI size now. CUDA does not support ROIs bigger than 32 x 32 = 1024 pixels (this is due to the maximum number of threads per block). Please refer to the CPU version in this case

Build and Install Python package for Local Use

Make sure that the cuda compiler is in path, should you want to compile with CUDA acceleleration.

export CUDACXX=/usr/local/cuda/bin/nvcc  # with CUDA support, possibly subject to CMAKE change.

python setup.py install

Buildwheels

export CUDACXX=/usr/local/cuda/bin/nvcc  # with CUDA support, possibly subject to CMAKE change.

python setup.py bdist_wheel

Build and Deploy with conda

# recommended: create a new conda build environment
conda create --name build boa mamba
conda activate build

# navigate to [repo]/conda
cd dist_tools/conda
conda mambabuild -c conda-forge spline

CD

Set ANACONDA_USER and ANACONDA_TOKEN as GitHub Secrets.

splinepsf's People

Contributors

haydnspass avatar k-dominik avatar maxscheurer avatar olbris avatar

Watchers

 avatar  avatar  avatar  avatar

splinepsf's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.