원시데이터 수집 시스템
선정목록으로

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

관련 수소연료전지 · (6) PEM(고분자전해질막)

기본 정보

저자
  1. Dimitry Tegunov — Genentech
DOI
106489820260310710885
저널
bioRxiv (Cold Spring Harbor Laboratory)
발행년도
2026
발행기관
Cold Spring Harbor Laboratory
피인용수
0
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.64898/2026.03.10.710885
토픽
Electron and X-Ray Spectroscopy Techniques
OpenAlex ID
W7134908853

평가 내용

관련도
관련
사업분야
수소연료전지 · (6) PEM(고분자전해질막)
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '수소연료전지 > PEM(고분자전해질막)' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

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.

본문 40,196자

본문 펼치기
# torch-projectors: A High-Performance Differentiable Projection Library for PyTorch Dimitry Tegunov tegunov.dimitry@gene.com March 10, 2026 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. ## 1 Introduction Transmission electron microscopes capture 2D projections of the sample’s Coulomb potential at very high optical resolution. Multiple projections from different angles enable computational reconstruction of the original 3D potential, allowing atomic model building in favorable cases. Cryogenic electron microscopy (cryo-EM) has emerged as the dominant method for solving protein structures and investigating their dynamics. Under the thin-object approximation, the Fourier slice theorem [1] establishes that each 2D projection corresponds to a central slice through the 3D Fourier transform of the potential. This relationship underpins algorithms in electron microscopy (EM) single-particle analysis (SPA) and electron tomography (ET). Modern machine learning methods can quickly optimize vast parameters using gradient back-propagation in differentiable models. PyTorch [2] provides automatic differentiation for implementing such models. However, many EM algorithms require differentiable Fourier-space projection operations not natively supported by PyTorch. While implementing these operations using PyTorch’s built-in functions is possible [3], performance is often insufficient and memory overhead too high for practical use. `torch-projectors` implements each projection operation in a single call without storing intermediate values, limiting memory footprint to input and output tensors. RELION [4] popularized an accurate, computationally efficient interpolation method for Fourier-space projection operations in SPA. Forward projections sample from oversampled references (zero-padded in real space), while backward projections insert data into similarly oversampled reconstructions before cropping to regular size. This improves linear interpolation accuracy at the cost of increased memory usage. While effective for conventional SPA algorithms, machine learning methods may be memory-constrained or require costly Fourier transforms at every pass for oversampling. `torch-projectors` implements Catmull-Rom cubic interpolation [5] alongside linear interpolation, significantly improving accuracy without oversampling. The use of dual volumes for reconstructions is another elegant approach implemented in RELION: one volume with complex-valued data and another tracking real-valued weights for each Fourier component. This enables efficient normalization of sampling counts and Wiener-like deconvolution when weights incorporate the contrast transfer function (CTF) of back-projected images. `torch-projectors` implements this approach with optional gradient backpropagation through weight components. While 3D _→_ 2D forward and 2D _→_ 3D backward projections dominate SPA, procedures like 2D particle classification require same-dimensionality projections. `torch-projectors` implements all four operations. The terms ’forward’ and ’backward’ carry dual meanings throughout the text: When referring to the direction of the projection, a forward projection samples data from a reference tensor, while a backward projection scatters data into a reconstruction tensor. In PyTorch’s automatic differentiation framework, the forward pass computes outputs from inputs, while the backward pass computes input gradients from output gradients. 1 ## 2 Methods 2.1 Data Conventions `torch-projectors` operates exclusively in Fourier space using PyTorch’s RFFT format, following FFTW conventions [6]. Unlike RELION’s implementation, tensors remain RFFT-formatted throughout projection operations without intermediate format changes. Reconstruction and projection data must be shifted (fftshift) in real space to center at the 0th tensor element before fast Fourier transform (FFT). Results must be inverse-shifted (ifftshift) in real space to restore conventional centering. All spatial dimensions must be square (2D) or cubic (3D) with even sizes. 2D reconstructions use shape [ _B, N, N/_ 2+1] where _B_ is the batch dimension. 3D reconstructions use shape [ _B, D, H, W/_ 2 + 1]. Projections follow the same RFFT convention with shape [ _B, P, N, N/_ 2+1], where _B_ is the reconstruction batch dimension, and _P_ is the pose dimension. Rotations are specified as matrices: [ _B, P,_ 2 _,_ 2] for 2D and [ _B, P,_ 3 _,_ 3] for 3D. Translation shifts use shape [ _B, P,_ 2] and are applied via phase modulation. Positive shift values move image contents along the positive axis direction. In back-projection, shifts are applied in the opposite direction to ensure inverse relationship with forward projection. Batch broadcasting is supported: _B_ can be 1 or match the reconstruction batch size, and the _P_ dimension in either rotations or shifts (but not both) can be 1 for shared values across poses. 2.2 Interpolation `torch-projectors` supports linear and cubic interpolation methods for sampling Fourier-space data at non-integer coordinates. Linear interpolation uses standard multilinear kernels: bilinear for 2D operations (4-point support) and trilinear for 3D operations (8-point support). Cubic interpolation employs separable Catmull-Rom kernels with parameter _a_ = _−_ 0 _._ 5, providing _C_ <sup>1</sup> continuity and exact interpolation through control points. The kernel function is defined as: (1) _w_ ( _s_ ) =   ( _a_ + 2) _|s|_ <sup>3</sup> _−_ ( _a_ + 3) _|s|_ <sup>2</sup> + 1 if _|s| ≤_ 1 _a|s|_ <sup>3</sup> _−_ 5 _a|s|_ <sup>2</sup> + 8 _a|s| −_ 4 _a_ if 1 _< |s| ≤_ 2 0 if _|s| >_ 2  For bicubic interpolation, a 4 _×_ 4 neighborhood is sampled around each coordinate, while tricubic interpolation samples a 4 _×_ 4 _×_ 4 neighborhood. The final interpolated value is computed as the separable product of 1D kernel evaluations along each dimension. All interpolation operations support oversampling, where coordinates are scaled by factors _>_ 1 to sample from reconstructions previously zero-padded in real space. This improves interpolation accuracy at constant computational load but increases memory usage. The sampling grid remains sparse, matching the unpadded reconstruction box size, eliminating the need for additional real-space cropping. Optional hard low-pass filtering can be applied during projection operations, and the projection dimensions can be made smaller than the reference to downsample the resulting real-space image. Shifts are applied through phase modulation of complex Fourier components according to the Fourier shift theorem: _F_ _{f_ ( x _−_ s ) _}_ = _F_ _{f_ ( x ) _} · e_ <sup>_−i_</sup> <sup>2</sup> <sup>_π_</sup> <sup>k</sup> <sup>_·_</sup> <sup>s</sup>, where k are Fourier coordinates and s is the shift vector. 2.3 Friedel Symmetry The Fourier transform of a real-valued function exhibits Friedel symmetry, characterized by the relationship: _F_ ( _−_ k ) = _F_ <sup>_∗_</sup> ( k ) (2) where _F_ <sup>_∗_</sup> ( k ) denotes the complex conjugate at frequency k . This symmetry property allows PyTorch’s RFFT format to store only the non-negative frequency components along the last dimension, yielding the characteristic [ _. . ., N/_ 2+1] shape. However, the zero-frequency axis (where _kc_ = 0) requires careful handling during projection operations to maintain mathematical consistency and prevent double-counting: 2 Forward Pass : Standard Friedel symmetry lookup is applied when sampling negative _kc_ coordinates. For _kc_ _<_ 0, the implementation accesses _F_ ( _−kc, −kr_ ) and returns its complex conjugate _F_ <sup>_∗_</sup> ( _−kc, −kr_ ) according to equation 2. Backward Pass : To avoid over-representation in gradient accumulation, the implementation skips processing the negative half of the zero-frequency axis (specifically, components where _kc_ = 0 and _kr_ _<_ 0), since these are present twice in the RFFT-formatted gradient. Accumulation on Zero-Frequency Axis : When projection operations result in values that must be accumulated at positions on the zero-frequency axis, the implementation maintains Friedel symmetry by inserting contributions at both the target location ( _kr,_ 0) and its symmetric counterpart ( _−kr,_ 0). 2.4 Implementation Architecture `torch-projectors` follows PyTorch’s hybrid C++/Python extension architecture using the `TORCH_LIBRARY` registration system. The library implements a multi-backend design with separate optimized kernels for CPU, Apple Silicon (MPS), and CUDA devices. The Python interface wraps C++ operators with custom `torch.autograd.Function` classes that handle gradient computation. Library initialization loads the compiled C++ extension and registers Python autograd functions using `torch.library.register_autograd` . This architecture provides seamless integration with PyTorch’s automatic differentiation while maintaining high performance through backend-specific optimizations. 2.5 2D _→_ 2D Forward Projection The 2D forward projection operator generates rotated 2D projections from 2D Fourier-space reconstructions. Given a reconstruction tensor [ _B, N, N/_ 2+1] and rotation matrices [ _Brot, P,_ 2 _,_ 2], the operator produces projections [ _B, P, Nout, Nout/_ 2+ 1] by sampling the reconstruction at transformed Fourier coordinates. 2.5.1 Forward Pass For each output Fourier coordinate k _out_ in the projection, the operator computes the corresponding coordinate in the reconstruction as: k _rec_ = R <sup>_−_</sup> <sup>1</sup> k _out_ (3) where R is the 2D rotation matrix. The projection value is obtained by interpolating the reconstruction at k _rec_, then applying phase modulation for translation: _P_ ( k _out_ ) = _Frec_ ( k _rec_ ) _· e_ <sup>_−i_</sup> <sup>2</sup> <sup>_π_</sup> <sup>k</sup> <sup>_out·_</sup> <sup>s</sup> (4) where s is the shift vector. 2.5.2 Backward Pass During backpropagation, the incoming projection gradients are first phase-modulated using the conjugate shift: _∇P_ <sup>_′_</sup> = _∇P_ _· e_ <sup>_i_</sup> <sup>2</sup> <sup>_π_</sup> <sup>k</sup> <sup>_out·_</sup> <sup>s</sup> (5) Reconstruction gradients are then accumulated via transposed interpolation operations at the transformed coordinates k _rec_ . Analytical rotation matrix gradients require careful application of the chain rule: Since k _rec_ = R <sup>_−_</sup> <sup>1</sup> k _out_, the gradient with respect to rotation matrix element _Rij_ is: _·_ <sup>_<u>∂</u>_</sup> <sup><u>k</u></sup> <sup>_<u>rec</u>_</sup> _∂Rij_ _<u>∂P</u>_ _∂Rij_ = <sup>_<u>∂Frec</u>_</sup> <sup><u>(</u></sup> <sup><u>k</u></sup> <sup>_<u>rec</u>_</sup> <sup><u>)</u></sup> _∂_ k _rec_ (6) For bilinear interpolation, spatial derivatives are computed from the 2 _×_ 2 sample grid using separable linear kernel derivatives: 3 1 _j_ =0 1 _j_ =0 _<u>∂F</u>_ _∂r_ <sup>=</sup> _<u>∂F</u>_ _∂c_ <sup>=</sup> 1 _i_ =0 1 _i_ =0 _pij_ _· l_ <sup>_′_</sup> ( _rf_ _−_ _i_ ) _· l_ ( _cf_ _−_ _j_ ) (7) _pij_ _· l_ ( _rf_ _−_ _i_ ) _· l_ <sup>_′_</sup> ( _cf_ _−_ _j_ ) (8) where _l_ ( _s_ ) = 1 _−|s|_ for _|s| ≤_ 1 and _l_ <sup>_′_</sup> ( _s_ ) = sign( _s_ ) for _|s| <_ 1. For bicubic interpolation, derivatives follow from separable Catmull-Rom kernel derivatives over the 4 _×_ 4 neighborhood: 2 _j_ = _−_ 1 2 _j_ = _−_ 1 _<u>∂F</u>_ _∂r_ <sup>=</sup> _<u>∂F</u>_ _∂c_ <sup>=</sup> 2 _i_ = _−_ 1 2 _i_ = _−_ 1 _pij_ _· w_ <sup>_′_</sup> ( _rf_ _−_ _i_ ) _· w_ ( _cf_ _−_ _j_ ) (9) _pij_ _· w_ ( _rf_ _−_ _i_ ) _· w_ <sup>_′_</sup> ( _cf_ _−_ _j_ ) (10) where _w_ <sup>_′_</sup> ( _s_ ) is the cubic kernel derivative. The coordinate transformation derivatives <sup>_<u>∂</u>_</sup> _∂R_ <sup><u>k</u></sup> <sup>_<u>rec</u>_</sup> _ij_ <sup>are</sup> <sup>computed</sup> <sup>from</sup> <sup>the</sup> matrix inverse relationships. Shift gradients follow from the phase modulation derivative: _<u>∂P</u>_ _∂_ s <sup>=</sup> <sup>_−i_</sup> <sup>2</sup> <sup>_π_</sup> <sup>k</sup> <sup>_outP_</sup> <sup>(</sup> <sup>k</sup> <sup>_out_</sup> <sup>)</sup> (11) 2.6 2D _→_ 2D Backward Projection The 2D backward projection operator is the mathematical adjoint of the forward projection operation. It accumulates 2D Fourier-space projections [ _B, P, N, N/_ 2+1] into 2D reconstructions [ _B, Nrec, Nrec/_ 2+1], where the reconstruction size accounts for oversampling: _Nrec_ = _N_ _·_ oversampling. 2.6.1 Forward Pass For each projection coordinate k _proj_ = ( _kr, kc_ ), the corresponding coordinate in the 2D reconstruction is computed using equation 3 with the same 2 _×_ 2 rotation matrix R . The projection value is then accumulated into the reconstruction at the transformed coordinate. When shifts are present, the projection data is first conjugate phase-modulated: _P_ <sup>_′_</sup> ( k _proj_ ) = _P_ ( k _proj_ ) _· e_ <sup>_i_</sup> <sup>2</sup> <sup>_π_</sup> <sup>k</sup> <sup>_proj_</sup> <sup>_·_</sup> <sup>s</sup> (12) where the conjugate phase ensures the mathematical adjoint relationship with forward projection. The accumulation process uses 2D interpolation kernels in transpose mode. For bilinear interpolation, contributions are distributed to the 2 _×_ 2 neighborhood around each fractional coordinate. For bicubic interpolation, contributions are spread across the 4 _×_ 4 neighborhood according to the Catmull-Rom weights defined in equations 7–8 and equations 9. Optional weight accumulation supports applications requiring per-Fourier component weights, such as CTF correction in cryo-EM. Weights are accumulated using the absolute values of the 2D interpolation kernel weights, maintaining a reference for downstream normalization (e.g. for Wiener-like filters). 2.6.2 Backward Pass During backpropagation, projection gradients are computed using forward projection of reconstruction gradients, exploiting the adjoint relationship. Rotation matrix gradients follow equation 6 with spatial derivatives computed using equations 7–8 for bilinear interpolation or equations 9 for bicubic interpolation. Shift gradients are computed using equation 11, applied to the accumulated reconstruction data. 4 2.7 3D _→_ 2D Forward Projection The 3D _→_ 2D forward projection operator implements the Central Slice Theorem, generating 2D projections from 3D Fourier-space reconstructions. Given a 3D reconstruction tensor [ _B, D, H, W/_ 2+1], 3 _×_ 3 rotation matrices [ _B, P,_ 3 _,_ 3], and optional 2D shifts [ _B, P,_ 2], the operator produces projections [ _B, P, Hout, Wout/_ 2 + 1] by sampling central slices through the 3D volume. 2.7.1 Forward Pass For each output projection coordinate k _proj_ = ( _kr, kc_ ), the operator extends it to 3D by setting the third coordinate to zero: k 3 _D_ = ( _kc, kr,_ 0). This implements the central slice through the origin required by the Central Slice Theorem. The corresponding coordinate in the 3D reconstruction is computed using the 3 _×_ 3 rotation matrix: k _rec_ = R <sup>_−_</sup> <sup>1</sup> k 3 _D_ (13) where R is the 3 _×_ 3 rotation matrix. The projection value is obtained by trilinear or tricubic interpolation in the 3D volume at k _rec_, then applying phase modulation for translation: _P_ ( k _proj_ ) = _Frec_ ( k _rec_ ) _· e_ <sup>_−i_</sup> <sup>2</sup> <sup>_π_</sup> <sup>k</sup> <sup>_proj_</sup> <sup>_·_</sup> <sup>s</sup> (14) where s is the 2D shift vector applied to the projection coordinates. 2.7.2 Backward Pass During backpropagation, the incoming projection gradients are first phase-modulated using the conjugate shift applied to the 2D projection coordinates (using equation 5). Reconstruction gradients are then accumulated via 3D transposed interpolation operations at the transformed coordinates k _rec_ . Analytical 3 _×_ 3 rotation matrix gradients require extension of the chain rule to three dimensions: Since k _rec_ = R <sup>_−_</sup> <sup>1</sup> k 3 _D_, the gradient with respect to rotation matrix element _Rij_ is: _·_ <sup>_<u>∂</u>_</sup> <sup><u>k</u></sup> <sup>_<u>rec</u>_</sup> _∂Rij_ _<u>∂P</u>_ _∂Rij_ = <sup>_<u>∂Frec</u>_</sup> <sup><u>(</u></sup> <sup><u>k</u></sup> <sup>_<u>rec</u>_</sup> <sup><u>)</u></sup> _∂_ k _rec_ (15) For trilinear interpolation, spatial derivatives are computed from the 2 _×_ 2 _×_ 2 sample grid using separable linear kernel derivatives: 1 _j_ =0 1 _j_ =0 1 _j_ =0 1 _k_ =0 1 _k_ =0 1 _k_ =0 _<u>∂F</u>_ _∂d_ <sup>=</sup> _<u>∂F</u>_ _∂r_ <sup>=</sup> _<u>∂F</u>_ _∂c_ <sup>=</sup> 1 _i_ =0 1 _i_ =0 1 _i_ =0 _pijk · l_ <sup>_′_</sup> ( _df_ _−_ _i_ ) _· l_ ( _rf_ _−_ _j_ ) _· l_ ( _cf_ _−_ _k_ ) (16) _pijk · l_ ( _df_ _−_ _i_ ) _· l_ <sup>_′_</sup> ( _rf_ _−_ _j_ ) _· l_ ( _cf_ _−_ _k_ ) (17) _pijk · l_ ( _df_ _−_ _i_ ) _· l_ ( _rf_ _−_ _j_ ) _· l_ <sup>_′_</sup> ( _cf_ _−_ _k_ ) (18) where _l_ ( _s_ ) = 1 _−|s|_ for _|s| ≤_ 1 and _l_ <sup>_′_</sup> ( _s_ ) = sign( _s_ ) for _|s| <_ 1. For tricubic interpolation, derivatives follow from separable Catmull-Rom kernel derivatives over the 4 _×_ 4 _×_ 4 neighborhood: 5 2 _j_ = _−_ 1 2 _j_ = _−_ 1 2 _j_ = _−_ 1 2 _k_ = _−_ 1 2 _k_ = _−_ 1 2 _k_ = _−_ 1 _<u>∂F</u>_ _∂d_ <sup>=</sup> _<u>∂F</u>_ _∂r_ <sup>=</sup> _<u>∂F</u>_ _∂c_ <sup>=</sup> 2 _i_ = _−_ 1 2 _i_ = _−_ 1 2 _i_ = _−_ 1 _pijk · w_ <sup>_′_</sup> ( _df_ _−_ _i_ ) _· w_ ( _rf_ _−_ _j_ ) _· w_ ( _cf_ _−_ _k_ ) (19) _pijk · w_ ( _df_ _−_ _i_ ) _· w_ <sup>_′_</sup> ( _rf_ _−_ _j_ ) _· w_ ( _cf_ _−_ _k_ ) (20) _pijk · w_ ( _df_ _−_ _i_ ) _· w_ ( _rf_ _−_ _j_ ) _· w_ <sup>_′_</sup> ( _cf_ _−_ _k_ ) (21) where _w_ <sup>_′_</sup> ( _s_ ) is the cubic kernel derivative. The coordinate transformation derivatives <sup>_<u>∂</u>_</sup> _∂R_ <sup><u>k</u></sup> <sup>_<u>rec</u>_</sup> _ij_ <sup>are</sup> <sup>computed</sup> <sup>from</sup> <sup>the</sup> matrix inverse relationships. Shift gradients follow from the phase modulation derivative applied to the 2D projection coordinates: _<u>∂P</u>_ _∂_ s <sup>=</sup> <sup>_−i_</sup> <sup>2</sup> <sup>_π_</sup> <sup>k</sup> <sup>_projP_</sup> <sup>(</sup> <sup>k</sup> <sup>_proj_</sup> <sup>)</sup> (22) 2.8 2D _→_ 3D Backward Projection The 2D _→_ 3D backward projection operator is the mathematical adjoint of the 3D _→_ 2D forward projection operation. It accumulates 2D Fourier-space projections [ _B, P, H, W/_ 2+1] into 3D reconstructions [ _B, D, Hrec, Wrec/_ 2+1], where the reconstruction dimensions account for oversampling and form a cubic volume: _D_ = _Hrec_ = _Wrec_ = _H_ _·_ oversampling. 2.8.1 Forward Pass For each projection coordinate k _proj_ = ( _kr, kc_ ), the operator extends it to 3D by setting the third coordinate to zero, implementing the central slice through the origin required by the Central Slice Theorem: k 3 _D_ = ( _kc, kr,_ 0) (23) The 3D sampling coordinate in the reconstruction is computed using equation 13 with the same 3 _×_ 3 rotation matrix R . The projection value is then accumulated into the reconstruction at the transformed coordinate. When shifts are present, the projection data is first conjugate phase-modulated using equation 12 to ensure the mathematical adjoint relationship. The accumulation process uses 3D interpolation kernels in transpose mode. For trilinear interpolation, contributions are distributed to the 2 _×_ 2 _×_ 2 neighborhood around each fractional coordinate. For tricubic interpolation, contributions are spread across the 4 _×_ 4 _×_ 4 neighborhood according to the Catmull-Rom weights defined in equations 16–18 and equations 19. Optional weight accumulation supports applications requiring per-Fourier component weights, such as CTF correction in cryo-EM. Weights are accumulated using the absolute values of the 3D interpolation kernel weights, with proper handling of 3D Friedel symmetry for real-valued reconstructions. 2.8.2 Backward Pass During backpropagation, projection gradients are computed using 3D _→_ 2D forward projection of reconstruction gradients, exploiting the adjoint relationship. The 3 _×_ 3 rotation matrix gradients follow equation 15 with spatial derivatives computed using equations 16–18 for trilinear interpolation or equations 19 for tricubic interpolation. Shift gradients are computed using equation 22, applied to the 2D projection coordinates since shifts affect only the 2D projection plane. ## 3 Results Performance benchmarks were conducted on three platforms: NVIDIA H100 CUDA, Apple M4 CPU, and Apple M4 Metal Performance Shaders (MPS). Throughput was measured in thousands of projections per second across 6 systematic parameter sweeps: box sizes (32, 128, 256 pixels), batch dimensions (1, 8), pose counts (8, 128, 2048), and interpolation methods (linear, cubic). Each test used three warm-up runs followed by 15 timed runs, with median throughput reported. 3.1 Performance Benchmarks Computation is parallelized per-projection (1 thread per projection on CPU, 1 thread block per projection on MPS and CUDA), leading to strong throughput scaling with batch size and pose count across all platforms (Tables 1–4). CUDA achieves highest throughput, followed by MPS and CPU, with over 2 orders of magnitude difference between CPU and CUDA. Cubic interpolation requires 4 _×_ more samples than linear in 2D and 8 _×_ more in 3D. The penalty is smaller than expected because sample groups in the fastest dimension are co-located in memory, reducing the cost difference between reading 2 and 4 samples. Despite scattered memory access, the CUDA backend exceeds the H100’s theoretical bandwidth: 3 _._ 4 TB _/_ s corresponds to 3 _._ 4 _×_ 10 <sup>6</sup> projections/second with 4 fp32 reads per pixel, yet 3 _._ 7 _×_ 10 <sup>6</sup> are achieved. This suggests reference data fit entirely in the chip’s cache. The backward pass in forward projection and the forward pass in backward projection are significantly slower than their counterparts because they involve scatter operations, requiring costly atomic writes to global memory. 3.2 Performance Comparison with torch-fourier-slice Direct comparison with `torch-fourier-slice` demonstrates substantial improvements (Tables 5, 6). `torch-projectors` consistently outperforms `torch-fourier-slice` by 1-2 orders of magnitude across all configurations. The new operators also have significantly lower memory footprint by calculating everything in a single step without storing intermediate tensors. For `torch-fourier-slice`, most forward projection scenarios could only be tested in the forward pass, as backward pass memory consumption exceeded the test system’s 48 GB. One memory-intensive backward projection scenario could not be tested at all. The CUDA backend benefits most from replacing multiple kernel invocations with a single custom kernel, reducing GPU driver overhead and dramatically improving memory locality in these bandwidth-limited algorithms. The performance gap is less pronounced on CPU and MPS, where kernel call overhead is smaller. Only 3D _→_ 2D forward and 2D _→_ 3D backward projections were compared because `torch-fourier-slice` does not implement 2D _→_ 2D operations. 3.3 Interpolation Efficiency Because interpolation happens in Fourier space, the most pronounced artifacts can be found in real space. This is the opposite of the more common interpolation in real space, where Fourier-space artifacts are more pronounced. Cubic interpolation without oversampling and linear interpolation with 2 _×_ oversampling produce similar real-space signal attenuation up to approximately half the box size (Figure 1). In practice, most EM algorithms will restrict real-space signal extent to this range, leaving room for signal delocalization after CTF convolution . Three scenarios were benchmarked for interpolation scheme selection. First: 4096 128-pixel 2D references projected without padding using linear or cubic interpolation, one pose per reference. Second: offline 2 _×_ padding, preparing 128pixel projections from 256-pixel references. Third: matching the second but including padding operations (additional inverse FFT, padding, and FFT) in timing. This last scenario represents use cases where references are intermediate representations in large operator graphs that cannot be pre-padded offline. All scenarios timed forward and backward passes together. Oversampled grid sampling incurs performance penalties (ca. 10% on M4 CPU, 25% on M4 MPS, 35% on H100 CUDA) due to increased cache misses when accessing larger reference tensors. This penalty decreases with fewer references. Cubic interpolation without oversampling remains slower than linear interpolation with offline oversampling, except on MPS. The trade-off changes when oversampling requires on-the-fly reference padding, adding expensive Fourier transforms. Here, cubic interpolation without oversampling is approximately 4 _×_ faster than linear interpolation with on-the-fly 2 _×_ padding across all platforms. 7 <u>Table</u> <u>1:</u> <u>2D</u> _<u>→</u>_ <u>2D</u> <u>forward</u> <u>projection</u> <u>throughput</u> <u>in</u> <u>10</u> <sup>3</sup> <u>projections/second</u> Box Batch Poses Interp. H100: CUDA M4: CPU M4: MPS Fwd Fwd+Bwd Fwd Fwd+Bwd Fwd Fwd+Bwd Linear 201.7 35.7 119.9 39.3 16.3 9.0 8 Cubic 198.4 37.4 82.3 22.3 32.7 7.2 Linear 3248.5 580.4 629.2 71.2 462.9 81.5 128 Cubic 3208.1 393.9 392.3 37.2 397.6 70.5 Linear 44496.6 3223.5 1296.7 85.0 2910.5 624.0 2048 Cubic 32044.1 1026.4 520.9 40.2 1478.3 184.8 Linear 1541.8 303.1 414.8 107.7 258.8 67.5 8 Cubic 1559.5 289.1 316.4 70.5 240.2 43.9 Linear 25379.8 3572.7 1100.1 225.9 1999.5 623.4 128 Cubic 19847.7 1738.9 480.2 107.0 1174.9 373.2 Linear 134947.7 4216.0 1233.7 264.2 8660.8 1275.2 2048 Cubic 60536.6 1130.9 494.6 116.5 5542.4 555.3 Linear 152.7 36.2 41.0 7.2 23.2 4.7 8 Cubic 106.1 22.0 24.2 3.8 19.6 4.5 Linear 2396.0 412.4 103.9 12.3 189.7 63.3 128 Cubic 1576.4 169.8 36.1 5.4 93.4 25.6 Linear 11067.6 776.7 94.6 12.7 524.3 80.2 2048 Cubic 4302.8 231.1 34.4 5.4 349.8 32.9 Linear 1215.1 254.4 84.0 14.8 129.3 47.5 8 Cubic 794.1 139.8 33.5 6.9 71.9 21.7 Linear 8921.7 872.0 97.2 18.4 571.3 84.0 128 Cubic 3892.2 259.6 34.4 7.7 358.8 35.4 Linear 14040.0 824.9 92.0 16.6 501.7 86.1 2048 Cubic 4844.0 239.3 34.5 7.1 335.7 36.6 Linear 81.4 21.2 19.2 2.1 14.3 5.0 8 Cubic 40.1 8.7 7.2 1.0 8.3 2.5 Linear 1212.3 204.2 28.7 3.2 69.6 20.3 128 Cubic 599.2 67.0 9.2 1.5 91.2 8.0 Linear 3333.2 269.2 23.6 3.3 125.6 21.8 2048 Cubic 1208.7 80.7 8.8 1.5 86.9 9.2 Linear 630.9 145.4 28.2 4.8 60.9 19.4 8 Cubic 306.3 54.3 9.2 1.9 57.3 8.1 Linear 2999.6 275.1 24.7 4.7 131.2 21.6 128 Cubic 1128.9 86.1 8.9 1.9 88.9 9.1 Linear 3695.1 266.8 23.1 4.1 126.4 22.3 2048 Cubic 1292.7 83.0 8.7 1.8 87.9 9.1 8 32 128 256 1 8 1 8 1 8 <u>Table</u> <u>2:</u> <u>2D</u> _<u>→</u>_ <u>2D</u> <u>backward</u> <u>projection</u> <u>throughput</u> <u>in</u> <u>10</u> <sup>3</sup> <u>projections/second</u> Box Batch Poses Interp. H100: CUDA M4: CPU M4: MPS Fwd Fwd+Bwd Fwd Fwd+Bwd Fwd Fwd+Bwd Linear 67.5 21.4 37.4 26.0 20.0 7.5 8 Cubic 97.9 25.9 17.6 14.2 10.3 5.5 Linear 1284.4 389.5 56.0 50.0 101.0 65.0 128 Cubic 557.7 278.1 27.8 25.3 117.2 78.3 Linear 3395.1 2420.4 62.8 58.1 619.8 516.5 2048 Cubic 940.2 845.5 28.7 27.0 159.5 150.1 Linear 783.4 202.8 197.9 112.6 137.4 52.7 8 Cubic 651.6 195.0 105.0 69.7 153.3 65.9 Linear 5799.6 2553.1 249.0 185.8 1189.9 684.3 128 Cubic 2001.5 1364.2 117.4 91.5 461.4 346.0 Linear 3772.6 3487.9 255.3 198.5 2130.1 1551.2 2048 Cubic 961.2 933.8 114.4 90.8 561.5 497.3 Linear 67.1 23.0 8.2 6.1 14.0 7.4 8 Cubic 29.5 15.5 3.8 3.1 5.9 4.4 Linear 550.7 270.7 8.6 7.5 84.1 59.9 128 Cubic 169.8 127.8 4.0 3.5 24.7 21.6 Linear 777.0 664.3 8.8 7.8 120.6 92.9 2048 Cubic 200.7 186.4 3.5 3.1 30.7 27.8 Linear 469.8 175.2 16.1 11.2 64.6 39.5 8 Cubic 175.2 104.8 7.4 5.6 24.1 19.3 Linear 955.9 729.1 17.0 13.3 126.5 94.8 128 Cubic 251.2 223.2 7.1 5.8 32.8 29.4 Linear 837.0 749.2 15.7 12.3 135.3 101.8 2048 Cubic 210.9 198.8 6.6 5.4 34.3 30.7 Linear 27.0 13.4 1.9 1.5 4.7 3.4 8 Cubic 8.6 6.0 1.1 0.9 2.0 1.7 Linear 227.0 147.7 2.7 2.3 26.6 20.5 128 Cubic 62.7 52.0 1.3 1.1 7.0 6.4 Linear 294.8 250.2 2.5 2.1 33.5 25.3 2048 Cubic 75.1 68.9 1.1 1.0 8.5 7.7 Linear 193.9 101.6 4.3 3.3 24.2 18.3 8 Cubic 55.0 40.6 1.9 1.5 6.7 6.0 Linear 305.4 249.5 4.2 3.3 33.1 25.1 128 Cubic 78.6 71.2 1.8 1.4 8.4 7.6 Linear 297.3 258.1 4.1 3.2 34.7 25.9 2048 Cubic 74.8 69.3 1.8 1.4 8.8 7.7 9 32 128 256 1 8 1 8 1 8 <u>Table</u> <u>3:</u> <u>3D</u> _<u>→</u>_ <u>2D</u> <u>forward</u> <u>projection</u> <u>throughput</u> <u>in</u> <u>10</u> <sup>3</sup> <u>projections/second</u> Box Batch Poses Interp. H100: CUDA M4: CPU M4: MPS Fwd Fwd+Bwd Fwd Fwd+Bwd Fwd Fwd+Bwd Linear 37.2 16.2 117.6 30.4 40.9 10.2 8 Cubic 31.8 15.6 69.1 15.4 31.9 5.0 Linear 576.8 261.4 524.3 77.4 569.2 160.6 128 Cubic 516.8 205.0 199.7 20.4 487.1 76.9 Linear 8579.5 2536.7 987.2 98.1 5788.0 748.6 2048 Cubic 4821.2 637.3 229.5 22.4 1906.2 146.1 Linear 1596.3 307.7 352.1 81.5 286.9 82.3 8 Cubic 1071.7 250.0 172.3 32.0 276.5 55.5 Linear 22239.1 3546.4 843.9 159.5 3735.5 680.9 128 Cubic 9301.1 1009.3 222.6 40.3 1578.9 153.3 Linear 86681.4 6816.6 937.3 188.1 7367.9 877.6 2048 Cubic 17133.8 993.2 226.9 41.6 2045.2 166.1 Linear 24.1 12.2 38.4 5.9 31.1 7.5 8 Cubic 11.6 5.5 12.2 1.9 21.8 2.5 Linear 393.8 176.9 70.8 8.9 336.7 47.4 128 Cubic 178.3 56.6 14.7 2.3 109.9 8.6 Linear 3038.7 556.9 67.7 9.1 392.9 52.9 2048 Cubic 632.1 88.5 14.6 2.2 126.3 9.7 Linear 916.8 190.1 49.5 6.7 196.0 20.0 8 Cubic 167.4 46.2 13.8 2.2 92.8 6.5 Linear 5256.8 579.1 55.7 9.2 313.9 47.3 128 Cubic 917.1 87.6 14.0 2.3 126.6 9.5 Linear 7729.0 645.8 57.3 9.1 304.1 51.6 2048 Cubic 1110.4 95.2 12.8 2.1 126.6 9.7 Linear 14.7 7.5 11.3 1.0 24.3 2.3 8 Cubic 3.7 1.8 2.9 0.4 8.0 0.7 Linear 231.2 89.0 11.1 1.8 70.1 10.6 128 Cubic 57.7 17.6 2.9 0.5 30.4 2.2 Linear 929.5 149.1 11.0 1.9 62.2 12.4 2048 Cubic 164.6 23.0 3.2 0.5 30.2 2.4 Linear 333.1 72.8 7.4 1.2 54.4 3.3 8 Cubic 39.5 13.2 2.6 0.5 23.1 1.4 Linear 1252.8 138.4 7.9 1.6 48.4 10.0 128 Cubic 203.6 21.4 2.7 0.5 14.2 2.1 Linear 1838.2 164.6 7.9 1.6 47.8 11.8 2048 Cubic 253.8 24.7 2.7 0.5 16.2 2.2 10 32 128 256 1 8 1 8 1 8 <u>Table</u> <u>4:</u> <u>2D</u> _<u>→</u>_ <u>3D</u> <u>backward</u> <u>projection</u> <u>throughput</u> <u>in</u> <u>10</u> <sup>3</sup> <u>projections/second</u> Box Batch Poses Interp. H100: CUDA M4: CPU M4: MPS Fwd Fwd+Bwd Fwd Fwd+Bwd Fwd Fwd+Bwd Linear 127.9 25.1 39.2 20.9 15.9 7.3 8 Cubic 64.1 21.1 10.8 8.5 3.8 1.0 Linear 1717.8 377.6 54.7 46.7 311.9 77.0 128 Cubic 521.9 256.7 12.9 12.1 77.5 55.9 Linear 4928.6 3077.0 57.0 53.1 779.8 599.4 2048 Cubic 708.5 637.2 9.8 12.6 109.1 100.8 Linear 979.9 197.6 105.0 46.2 184.7 41.4 8 Cubic 424.7 153.1 28.5 20.0 60.5 39.2 Linear 5228.2 2293.9 131.9 86.0 748.4 493.4 128 Cubic 887.5 701.9 28.4 24.5 114.3 102.4 Linear 5492.8 4665.0 124.7 72.9 935.4 783.9 2048 Cubic 714.8 681.4 27.5 22.9 118.8 113.1 Linear 48.7 17.6 4.0 1.9 7.8 4.6 8 Cubic 8.6 5.9 1.4 0.8 1.8 1.5 Linear 442.4 231.3 5.4 4.4 44.4 32.1 128 Cubic 64.9 52.6 1.5 1.4 6.2 5.6 Linear 570.3 473.0 5.8 5.0 56.8 46.6 2048 Cubic 72.5 67.6 1.5 1.3 7.2 6.8 Linear 280.6 92.2 5.8 2.3 19.8 6.3 8 Cubic 53.3 34.5 1.7 1.1 4.7 3.1 Linear 530.7 393.0 5.1 5.2 51.0 31.2 128 Cubic 70.6 64.8 1.7 1.4 7.0 6.3 Linear 587.7 508.2 6.9 5.4 57.3 41.8 2048 Cubic 73.8 69.3 1.9 1.5 7.3 6.8 Linear 15.3 6.9 0.8 0.3 2.1 0.8 8 Cubic 2.3 1.7 0.3 0.2 0.5 0.3 Linear 123.3 74.6 1.4 1.0 11.2 6.2 128 Cubic 17.6 14.7 0.4 0.3 1.6 1.4 Linear 135.8 114.8 1.5 1.1 14.3 10.0 2048 Cubic 18.5 17.1 0.4 0.3 1.8 1.7 Linear 69.5 14.8 0.9 0.3 3.1 0.9 8 Cubic 13.8 7.3 0.4 0.2 1.1 0.6 Linear 101.7 69.6 1.1 0.8 9.4 5.1 128 Cubic 16.1 14.3 0.4 0.3 1.8 1.4 Linear 134.0 113.9 1.5 1.1 10.4 7.0 2048 Cubic 18.7 17.4 0.4 0.3 1.8 1.5 11 32 128 256 1 8 1 8 1 8 <u>Table</u> <u>5:</u> <u>3D</u> _<u>→</u>_ <u>2D</u> <u>forward</u> <u>projection</u> <u>in</u> <u>torch-projectors</u> <u>and</u> <u>torch-fourier-slice,</u> <u>throughput</u> <u>in</u> <u>10</u> <sup>3</sup> <u>projections/second</u> Box Batch Poses H100: CUDA M4: CPU Forward Backward Forward Backward t-f-s t-p _↑_ t-f-s t-p _↑_ t-f-s t-p _↑_ t-f-s t-p _↑_ 8 5.4 28 _×_ 5.3 6.2 42 _×_ 6.7 9.1 153 _×_ 17 0.3 55 _×_ 202 128 84 449 _×_ 5.3 18 621 _×_ 35 38 643 _×_ 17 0.2 87 _×_ 364 2048 922 6604 _×_ 7.2 - 4174 - 118 981 _×_ 8.3 - 109 8 6.0 1098 _×_ 183 7.0 323 _×_ 46 11 450 _×_ 40 0.3 102 _×_ 371 128 95 18894 _×_ 200 18 4509 _×_ 247 40 841 _×_ 21 0.2 206 _×_ 874 2048 941 85962 _×_ 91 - 7542 - 115 935 _×_ 8.2 - 234 8 6.0 20 _×_ 3.4 - 36 - 2.8 41 _×_ 15 - 7.3 128 59 321 _×_ 5.5 - 410 - 7.5 69 _×_ 9.3 - 10 2048 99 2781 _×_ 28 - 728 - 8.3 68 _×_ 8.2 - 10 8 6.5 759 _×_ 118 - 259 - 2.7 44 _×_ 17 - 7.8 128 60 5129 _×_ 85 - 663 - 7.1 55 _×_ 7.8 - 11 2048 99 7721 _×_ 78 - 761 - 5.9 56 _×_ 9.4 - 11 8 5.5 13 _×_ 2.3 - 18 - 1.0 9.5 _×_ 9.1 - 1.2 128 22 206 _×_ 9.3 - 157 - 1.8 10 _×_ 5.9 - 2.2 2048 26 917 _×_ 36 - 191 - 1.7 11 _×_ 6.6 - 2.3 8 5.7 314 _×_ 55 - 94 - 1.0 7.0 _×_ 7.0 - 1.4 128 22 1246 _×_ 56 - 166 - 1.7 7.9 _×_ 4.6 - 2.0 2048 26 1835 _×_ 71 - 196 - 1.5 8.0 _×_ 5.3 - 2.0 12 32 128 256 1 8 1 8 1 8 <u>Table 6:</u> <u>2D</u> _<u>→</u>_ <u>3D backward projection in torch-projectors and torch-fourier-slice, throughput in 10</u> <sup>3</sup> <u>projections/second</u> Box Batch Poses H100: CUDA M4: CPU Forward Backward Forward Backward t-f-s t-p _↑_ t-f-s t-p _↑_ t-f-s t-p _↑_ t-f-s t-p _↑_ 8 3.3 97 _×_ 29 10 33 _×_ 3.2 6.5 45 _×_ 6.8 21 53 _×_ 2.5 128 47 1454 _×_ 31 151 515 _×_ 3.4 14 54 _×_ 3.8 50 292 _×_ 5.9 2048 159 4848 _×_ 30 1222 8291 _×_ 6.8 26 58 _×_ 2.3 123 542 _×_ 4.4 8 3.6 754 _×_ 211 14 262 _×_ 19 6.5 96 _×_ 15 21 89 _×_ 4.2 128 51 5028 _×_ 98 202 4251 _×_ 21 13 126 _×_ 9.6 41 362 _×_ 8.8 2048 162 5614 _×_ 35 1298 33718 _×_ 26 25 129 _×_ 5.2 102 539 _×_ 5.3 8 3.1 44 _×_ 14 9.2 32 _×_ 3.4 0.7 4.2 _×_ 5.6 1.9 3.8 _×_ 2.0 128 14 419 _×_ 29 76 483 _×_ 6.4 1.6 5.4 _×_ 3.4 7.0 23 _×_ 3.4 2048 18 557 _×_ 31 108 2795 _×_ 26 1.7 5.5 _×_ 3.2 7.0 35 _×_ 5.0 8 3.4 261 _×_ 77 12 146 _×_ 12 0.7 4.8 _×_ 6.7 1.6 3.7 _×_ 2.3 128 15 529 _×_ 36 80 1546 _×_ 19 1.5 7.2 _×_ 4.8 5.6 18 _×_ 3.3 2048 18 588 _×_ 33 102 3787 _×_ 37 1.4 7.3 _×_ 5.3 5.2 25 _×_ 4.8 8 2.1 15 _×_ 7.1 6.5 13 _×_ 2.0 0.2 0.8 _×_ 3.7 0.4 0.5 _×_ 1.4 128 4.1 124 _×_ 30 24 198 _×_ 8.3 0.3 1.4 _×_ 4.5 1.3 3.2 _×_ 2.4 2048 4.6 135 _×_ 30 27 732 _×_ 27 0.3 1.5 _×_ 4.8 1.4 5.0 _×_ 3.6 8 2.3 70 _×_ 30 7.3 27 _×_ 3.7 0.2 0.9 _×_ 4.3 0.3 0.5 _×_ 1.5 128 4.1 102 _×_ 25 23 285 _×_ 12 0.3 1.3 _×_ 4.6 1.2 2.8 _×_ 2.4 2048 4.6 134 _×_ 29 - 791 - 0.2 1.4 _×_ 8.1 - 4.0 <u>Table</u> <u>7:</u> <u>Throughput</u> <u>depending</u> <u>on</u> <u>interpolation</u> <u>and</u> <u>padding</u> <u>strategy,</u> <u>10</u> <sup>3</sup> <u>projections/second</u> 32 128 256 1 8 1 8 1 8 Platform Interpolation Oversampling = 1.0 Oversampling = 2.0 Pad 2x, Oversampling = 2.0 linear 10385.3 6809.0 1185.5 H100: CUDA cubic 4795.0 4537.9 1090.4 linear 93.0 84.6 6.9 M4: CPU cubic 34.5 33.6 6.2 linear 442.5 335.9 81.7 M4: MPS cubic 332.7 308.6 80.3 13 Interpolation Accuracy 1.0 <u>Real Space Intensity Attenuation vs Reference</u> 1.0 0.8 0.6 0.4 0.2 Bi-Linear, Oversampling = 1.0 Bi-Linear, Oversampling = 1.5 <u>Bi-Linear, Oversampling = 2.0</u> ~~Bi-Cubic, Oversampling = 1.0~~ Bi-Cubic, Oversampling = 1.5 Bi-Cubic, Oversampling = 2.0 Theoretical Bilinear Filter 0 5 10 15 20 25 30 Real Space Ring Radius (pixels) 0.0 <u>Fourier Ring Correlation vs Reference</u> Bi-Linear, Oversampling = 1.0 <u>Bi-Linear, Oversampling = 1.5</u> ~~Bi-Linear, Oversampling = 2.0~~ Bi-Cubic, Oversampling = 1.0 Bi-Cubic, Oversampling = 1.5 Bi-Cubic, Oversampling = 2.0 0.0 0.1 0.2 0.3 0.4 0.5 Normalized Frequency 0.8 0.6 0.4 0.2 0.0 Figure 1: Interpolation accuracy analysis comparing different methods and oversampling factors. Left: Fourier ring correlation shows all methods producing negligible Fourier-space artifacts. Right: Real-space intensity attenuation demonstrates that both cubic interpolation at 1 _×_ and linear interpolation at 2 _×_ oversampling maintain signal strength up to approximately half the box size. ## 4 Discussion The 1–2 order of magnitude performance improvements enable previously impractical machine learning applications in cryo-EM, where projection operations must be performed thousands of times during gradient-based optimization. Benchmarks reveal cubic interpolation without oversampling becomes advantageous when reference volumes cannot be pre-padded offline, offering approximately 4 _×_ speedup over on-the-fly oversampling—common in memory-constrained neural networks with dynamically generated intermediate representations. Future extensions could include 3D _→_ 3D projection operators for subtomogram averaging and general volume rotation with accurate interpolation, plus realspace projection operators to broaden applicability beyond traditional Fourier-space cryo-EM workflows. ## 5 Availability The `torch-projectors` library is available as an open-source Python package at `[https://github.com/warpem/](https://github.com/warpem/torch-projectors)` `[torch-projectors](https://github.com/warpem/torch-projectors)` under the MIT license. ``` pip install torch-projectors –index-url https://warpem.github.io/torch-projectors/cpu/simple/ ``` For CUDA-enabled packages, please refer to the repository’s README. ## 6 Acknowledgements Most of the library’s code, the Methods section, and parts of other sections of this manuscript were generated using Claude Code [7] with the Claude 4.0 model family. I would like to thank Alister Burt for pointing me in the right direction when benchmarking `torch-fourier-slice` . ## References [1] Ronald N. Bracewell. Strip integration in radio astronomy. _Australian_ _Journal_ _of_ _Physics_, 9(2):198–217, 1956. [2] Adam Paszke, Sam Gross, Francisco Massa, Adam Lerer, James Bradbury, Gregory Chanan, Trevor Killeen, Zem ing Lin, Natalia Gimelshein, Luca Antiga, Alban Desmaison, Andreas Kopf, Edward Yang, Zachary DeVito, Martin Raison, Alykhan Tejani, Sasank Chilamkurthy, Benoit Steiner, Lu Fang, Junjie Bai, and Soumith Chintala. Py 14 torch: An imperative style, high-performance deep learning library. In _Advances_ _in_ _Neural_ _Information_ _Processing_ _Systems_ _32_, pages 8024–8035. Curran Associates, Inc., 2019. [3] Alister Burt and teamtomo. torch-fourier-slice: Fourier slice extraction/insertion in pytorch. `[https://github.](https://github.com/teamtomo/torch-fourier-slice)` `[com/teamtomo/torch-fourier-slice](https://github.com/teamtomo/torch-fourier-slice)`, 2025. [4] Sjors H.W. Scheres. RELION: implementation of a bayesian approach to cryo-EM structure determination. _Journal_ _of_ _Structural_ _Biology_, 180(3):519–530, 2012. [5] Edwin Catmull and Raphael Rom. A class of local interpolating splines. In Robert E. Barnhill and Richard F. Riesenfeld, editors, _Computer_ _Aided_ _Geometric_ _Design_, pages 317–326. Academic Press, 1974. [6] Matteo Frigo and Steven G. Johnson. The design and implementation of FFTW3. _Proceedings_ _of_ _the_ _IEEE_, 93(2):216–231, 2005. [7] Anthropic. Claude code: An agentic coding tool that lives in your terminal. `[https://github.com/anthropics/](https://github.com/anthropics/claude-code)` `[claude-code](https://github.com/anthropics/claude-code)`, 2024. 15

섹션 본문

섹션 본문이 없습니다.

참고문헌 4건

  1. A CLASS OF LOCAL INTERPOLATING SPLINES Elsevier eBooks · Elsevier BV · 1974 10.1016/b978-0-12-079050-0.50020-5
  2. Strip Integration in Radio Astronomy Australian Journal of Physics · CSIRO Publishing · 1956 10.1071/ph560198
  3. The Design and Implementation of FFTW3 Proceedings of the IEEE · Institute of Electrical and Electronics Engineers · 2005 10.1109/jproc.2004.840301
  4. RELION: Implementation of a Bayesian approach to cryo-EM structure determination Journal of Structural Biology · Elsevier BV · 2012 10.1016/j.jsb.2012.09.006