Rust crate¶
The computational core is the rebasis crate, which has no
Python dependency (the Python bindings live in the separate rebasis-py crate). The Python API
is a thin layer over it, and the names correspond:
Python |
Rust |
|---|---|
|
|
|
|
|
|
|
|
|
|
Results are compressed sparse row matrices (Csr). apply_axis applies one along any axis of an
ndarray array, e.g. the wavelength axis 0 of a sasktran2 radiance (wavelength, los, stokes),
and apply_transpose_axis applies its transpose, for reverse-mode derivatives.
Space::concatenate combines kernels of different shapes into one space. The crate’s API reference is on docs.rs.