pub trait ScanProcessor {
// Required methods
fn name(&self) -> &str;
fn process_scan(
&self,
scan: &Scan,
fields: &[SweepField],
) -> Result<Vec<SweepField>>;
}Expand description
Processes fields with full scan context (multiple elevations).
This trait is for algorithms that need to consider data across elevations, such as velocity dealiasing.
No built-in implementations are provided. This trait is an extension point for downstream crates to implement scan-level processing algorithms.
Required Methods§
Sourcefn process_scan(
&self,
scan: &Scan,
fields: &[SweepField],
) -> Result<Vec<SweepField>>
fn process_scan( &self, scan: &Scan, fields: &[SweepField], ) -> Result<Vec<SweepField>>
Process sweep fields using the full scan context.
Takes the scan metadata and all sweep fields for the relevant product, returning a new set of processed fields (one per input field).