Skip to main content

Hands-on Examples

From basic data loading to training ISAC baselines.

Usage & Examples

Coordinate System

LAMBDA follows Sionna's Right-Handed Coordinate System.

This example demonstrates how to load and inspect the compressed .npz multipath files.

import numpy as np

# Load the compressed CSI file
data = np.load("path/to/csi_xxxxxx.npz")

# Access Multipath Components
a_real = data['a_real']
a_imag = data['a_imag']
delays = data['tau']
doppler = data['doppler']

# Reconstruct Complex Gain
complex_gain = a_real + 1j * a_imag

# Access Angles (AoD / AoA)
theta_t, phi_t = data['theta_t'], data['phi_t']
theta_r, phi_r = data['theta_r'], data['phi_r']

print(f"Detected {len(delays)} paths.")
print(f"Max Doppler Shift: {np.max(np.abs(doppler)):.2f} Hz")