torch-projectors: A High-Performance Differentiable Projection Library for PyTorch

Read full text
Authors: Dimitry Tegunov
Cited by: 1
References: 4

Abstract

Abstract Fourier-space projection operations are central to electron microscopy single-particle analysis and electron tomography algorithms. Machine learning methods require differentiable implementations for end-to-end model training, but PyTorch’s built-in operations are too slow for practical use. This paper introduces torch-projectors : a high-performance library for differentiable Fourier-space projections in PyTorch. The library provides 2D and 3D forward and backward projection operators with linear and cubic interpolation, supporting gradient calculation for all inputs. Optimized for CPU, Apple Silicon (MPS), and CUDA devices, torch-projectors outperforms torch-fourier-slice by 1–2 orders of magnitude.

Fields of Study & Subjects

Advanced Electron Microscopy Techniques and Applications Electron and X-Ray Spectroscopy Techniques Advanced X-ray Imaging Techniques

Publication details

Journal / source
bioRxiv (Cold Spring Harbor Laboratory)
Publisher
openRxiv
Publication date
10 March 2026
Document type
Preprint