RF Inject docs

Visualization

Plot helpers for inspection and debugging

Use the plotting API for quick visual checks before model training.

Complex array overview

import numpy as np
from rfinject.viz import plot_complex_array

sample = np.random.randn(256, 256) + 1j * np.random.randn(256, 256)
plot_complex_array(sample, title="Synthetic complex sample")

Magnitude focused plot

from rfinject.viz import plot_magnitude

plot_magnitude(
  sample,
  title="Burst magnitude",
  normalize=True,
  db_scale=True,
  savefig="magnitude.png"
)

Tip

Feed small slices first while tuning pipeline parameters; use get_array_slice() for quick checks before rendering full scenes.