Skip to main content

spacelab_signal/
lib.rs

1//! **spacesignal** — space signal processing, the second Phase-8 line.
2//!
3//! The integral-geometry core behind computed tomography and synthetic-aperture-radar
4//! back-projection: the **Radon transform** (a field's line integrals over all angles and offsets —
5//! the sinogram), its adjoint **back-projection**, and **filtered back-projection**, the ramp-filtered
6//! inverse that reconstructs the field. SAR and tomographic reconstruction are the same operation on
7//! different data.
8//!
9//! The Radon core is `no_std` + `libm`, allocation-free (caller-provided row-major slices). The
10//! spectral pillars — [`fft`](mod@fft) (complex FFT), [`sar`] (synthetic-aperture-radar focusing), [`insar`]
11//! (interferometry) and [`tomosar`] (tomographic elevation estimation) — add `alloc` for their FFT and
12//! image buffers.
13
14#![cfg_attr(not(test), no_std)]
15
16extern crate alloc;
17
18pub mod csa;
19pub mod fft;
20pub mod insar;
21pub mod polsar;
22pub mod psinsar;
23pub mod radon;
24pub mod sar;
25pub mod tomosar;
26
27pub use csa::{CsaParams, chirp_scaling_focus};
28pub use fft::{Complex, fft, ifft};
29pub use insar::{
30    coherence, interferogram, remove_reference_phase, residues, unwrap_phase_1d, unwrap_phase_2d,
31    unwrap_phase_2d_branch_cut, unwrap_phase_2d_lstsq, wrap_phase,
32};
33pub use polsar::{cloude_pottier, coherency_matrix, pauli_powers, pauli_vector};
34pub use psinsar::{amplitude_dispersion, sbas_invert, select_persistent_scatterers};
35pub use radon::{back_project, filtered_back_projection, radon_forward, ramp_filter};
36pub use sar::{
37    RdaParams, apply_chirp_scaling, azimuth_compress, azimuth_fm_rate, azimuth_frequency, focus_2d,
38    lfm_chirp, matched_filter, peak_sidelobe_ratio_db, range_compress, range_doppler_focus,
39    range_migration, resolution_3db_samples, secondary_range_compression, sinc_shift, src_fm_rate,
40};
41pub use tomosar::{
42    Scatterer, Sl1mmerConfig, bartlett_spectrum, capon_spectrum, detect_support, fista_lasso,
43    refit_amplitudes, sample_covariance, sensing_matrix, sl1mmer, sl1mmer_spectrum,
44    steering_vector,
45};