1.1¶
Released 2025-12-29. A friendlier PyTorch API and a worked classification example.
PyTorch¶
curvelets.torch.UDCTis built fromnum_scalesandwedges_per_direction, with an optionalangular_wedges_config. The window overlap is computed automatically. (#47)UDCT.apply_to_tensorsandUDCTModule._applycarry the internal windows and ratios along, so.to(),.half(),.float()and.double()work as expected.The autograd bridge uses
setup_contextand works withtorch.func.vmap, so batches can be mapped efficiently.MUDCTCoefficientsis part of the typing; the monogenic transform is not yet available in PyTorch in this version.
Examples¶
plot_10_udct_mnist.py: an MNIST classifier that usesUDCTModuleas a feature extractor, with training curves, a t-SNE view of the curvelet features and the worst misclassifications.
Documentation¶
Testing¶
NumPy-to-PyTorch parity tests, struct/vect round trips and dtype-transfer tests for
UDCTModule.