pystamps.kernels

Kernel exports

  • KernelImplementation, KernelRegistry, DEFAULT_REGISTRY
  • BackendUnavailableError
  • run_stage7_scla_kernel
  • run_stage8_edge_noise_kernel

run_stage7_scla_kernel

def run_stage7_scla_kernel(ph_uw: np.ndarray, bperp_mat: np.ndarray, no_master: np.ndarray, day: np.ndarray, master_ix: int, backend: str='auto', chunk_ps: int=0) -> dict[str,np.ndarray]

Returns dict keys K_ps_uw, C_ps_uw, ph_scla, ph_ramp, ifg_vcm, mean_v, m (per internal implementation contract).

Raises BackendUnavailableError indirectly via kernel dispatch path.

run_stage8_edge_noise_kernel

def run_stage8_edge_noise_kernel(uw_ph: np.ndarray, node_a: np.ndarray, node_b: np.ndarray, backend: str='auto', chunk_edges: int=0) -> dict[str,np.ndarray]

Returns dph_noise and dph_space_uw.

KernelRegistry

constructor with register, get. get selects cpu/gpu/native fallback by backend string.