31.1 - SAR acquisition and products¶
Start with the forest workflow to prepare a plot and produce an image. This chapter describes the resulting arrays and files, then covers advanced acquisitions and scene properties.
SAR products¶
The acquisition records echoes by pulse, then focuses them onto a grid or specified points. Choose the output according to what you will analyse.
| Goal | Setting or input | Where to find the result |
|---|---|---|
| Analyse complex amplitude and phase | output="slc" (default) |
SARImageProduct.slc |
| Compare or average image power | output="intensity", with optional looks=(rows, columns) |
SARIntensityProduct.intensity |
| Compare calibrated backscatter | radiometry plus reference_area_m2 or calibration_footprint |
sigma0 on the selected image product |
| Inspect echoes before focusing | record_phase_history=True; configure waveform=SARChirp(...) for receive waveforms |
phase_history, and when recorded raw_echo and range_compressed |
| Inspect an orbital TOPS acquisition | Define bursts and swaths |
SARTOPSProduct.bursts |
Acquisition records¶
The retained complex phase_history is indexed by pulse and ascending
frequency. Read it with pulse_time_s, frequencies_hz and
phase_history_kind. Use the recorded transmitter and receiver positions to
check acquisition geometry. Time-domain raw_echo and range_compressed
arrays use pulse and fast time. fast_time_s is relative to the pulse's
reference delay, available as reference_delay_s. For an intensity product,
read these records from image.source. For TOPS, select a burst first.
Focused complex image and intensity¶
SARImageProduct.slcstores the complex field. Its magnitude is the amplitude, its angle is the phase in radians, and its squared magnitude isintensity.SARIntensityProduct.intensitystores detected linear power. Forlooks=(3, 3), LESS averages the power in blocks of three azimuth rows and three range columns.sample_countand the grid edges describe each block, including partial blocks at the margins. Correlation between pixels affects the statistical number of independent looks.SARIntensityProduct.sourcekeeps the SLC on its original grid. Open phase withimage.source.show(quantity="phase").azimuth_mandground_range_morslant_range_mlocate output samples in metres. The intensity product also suppliesazimuth_edges_mandrange_edges_m. For forest comparisons, the coherent source metadatacoherent_crown_realizationsrecords each statistical crown's identity, particle count and structure digest.
Radiometry and comparisons¶
SARRadiometry sets transmit power, antenna gain and system loss. With this
configuration, field amplitude is expressed in √W and intensity in W. Set
reference_area_m2 for a specified normalization area or use a
SARCalibrationFootprint so LESS uses the focused response over the
footprint to estimate effective area. The dimensionless calibrated result is
sigma0.
For a forest ROI, average linear sigma0 over valid pixels before taking
10 log₁₀. to_db(quantity="sigma0") reports absolute sigma-nought in dB.
The default to_db() displays intensity relative to each image's own peak.
For a comparison of uncalibrated powers, pass the same positive
reference to to_db(reference=...) for both scenes.
Save, reload and export¶
| Format | What it keeps |
|---|---|
.npz |
Complete product, coordinates, metadata and any retained echoes. An intensity archive also keeps the original SLC. |
.png |
Display preview of intensity, phase or calibrated sigma-nought, as applicable. |
.tif |
Numeric linear intensity or sigma0 on a uniform, georeferenced ground grid. Use NPZ for partial edge cells that make the output grid nonuniform. |
These files follow the forest example. Load them with the class that matches the saved product.
import less
slc = less.SARImageProduct.load("forest-sar/forest-hh.npz")
intensity = less.SARIntensityProduct.load("forest-sar/forest-hh-intensity.npz")
intensity.source.show(quantity="phase")
intensity.save("forest-power.png")
TOPS burst collections¶
An orbital SAR request can carry a chronological bursts plan and a swaths
mapping. Each swath defines its nominal look angle and beamwidth; each burst
defines its pulse timing and azimuth steering rate in degrees per second.
The request uses one ground_grid for all burst images.
from dataclasses import replace
sensor = replace(sensor,
bursts=(less.SARTOPSBurst(0., 101, 1000., 0.8, "A"),
less.SARTOPSBurst(0.2, 101, 1000., 0.8, "A")),
swaths={"A": less.SARTOPSSwath(35., (2., 4.))})
collection = scene.simulate(sensor)
collection.show(burst=1)
collection.save("bursts.npz")
The trajectory's state times must span the burst pulses. A supplied
reference_ranges_m array follows the concatenated transmit-pulse order.
SARTOPSProduct.bursts retains each burst's SLC or intensity product;
swaths records the corresponding labels. The NPZ archive retains their
individual phase references, pulse times and any requested receive waveforms.
Scene viewer¶
scene.show(sensors=[sensor]) opens the scene and acquisition controls in the
browser. After simulation, the Products tab selects intensity, SLC phase,
calibrated sigma-nought and the TOPS burst. Phase uses the original complex
image, including when the requested output is spatially averaged intensity.
The plot retains coordinate axes, physical cell edges and a color scale.
Download saves the complete NPZ product, including every retained burst.
Bistatic acquisition¶
Set receiver_trajectory on a SAR sensor to supply an independent receive
position for each pulse. Declare both tracks with SARSampledTrajectory in
scene metres and use the same pulse times. The SARGroundGrid center and
image_height specify the common phase reference.
import less
scene = less.Scene()
scene.terrain = less.Terrain(property=less.RadarSurface())
times = [0.0, 0.5, 1.0]
transmit = less.SARSampledTrajectory(
[[-3.04, -4.0, 5.0], [-3.0, -4.0, 5.0], [-2.96, -4.0, 5.0]], times)
receive = less.SARSampledTrajectory(
[[4.0, -3.04, 6.0], [4.0, -3.0, 6.0], [4.0, -2.96, 6.0]], times)
sensor = less.SAR(
transmit, receiver_trajectory=receive, look_side="right", look_angle=40.0,
frequency=5e8, bandwidth=8e8, frequency_samples=3,
image_size=(9, 9), pixel_spacing=(0.04, 0.04),
ground_grid=less.SARGroundGrid((0.0, 0.0), 0.0),
)
image = scene.simulate(sensor)
Bistatic acquisition supports stop-and-go surface and particle echoes, SLC
and intensity.
Set surface_subdivisions to control integration subdivisions per triangle edge.
The default is 16. The coherent source and NPZ archive retain transmit and
receive positions as pulse_positions_m and receiver_positions_m.
For calibrated sigma0, set radiometry and choose either
reference_area_m2 or calibration_footprint. LESS uses the distance and
antenna voltage of each track to calculate the response of a unit scatterer.
With calibration_footprint, it integrates the focused power response over
the declared east and south distances to calculate an effective area.
In a scene with geometry, use SARParticles for particles with known positions
and dimensions, or TurbidBoundary with isotropic MicrowaveVegetation for a
statistical crown. Bistatic acquisition defaults to first-order particle scattering.
Set max_surface_reflections=2 for a reflection on either leg or 3 to also
include paths with a reflection on both legs.
particle = less.SARParticles(
positions=[[0.2, 0.3, 0.5]],
axes=[[0.0, 0.0, 1.0]],
shape="disc",
size_m=(0.03, 0.03),
relative_permittivity=3.0 + 0.2j,
)
image = scene.simulate(sensor, scatterers=(particle,))
Assign MicrowaveTrunk to a trunk mesh to include its return alongside the
crown and ground in a bistatic scene. LESS derives the cylinder dimensions
and axis from the placed mesh and applies an infinite-cylinder response with
a finite-length factor. The mesh also participates in occlusion.
Set particle_interaction_order=2 to include second-order scattering among a
small group of separated Rayleigh particles. A total path order of
max_surface_reflections=2 includes direct particle-to-particle paths. Use
3 to allow one perfectly conducting reflection on the transmit, inter-particle
or receive leg. Use the default first-order mode for scenes with MicrowaveTrunk.
from dataclasses import replace
pair = replace(
particle,
positions=[[0.2, 0.3, 0.5], [0.23, 0.3, 0.5]],
axes=[[0.0, 0.0, 1.0], [0.0, 0.0, 1.0]],
size_m=(0.003, 0.003),
)
image = scene.simulate(replace(sensor, scatterers=(pair,), particle_interaction_order=2))
Multiple scattering in a small particle cluster¶
For a small Rayleigh cluster, set a higher particle_interaction_order, such as
4, to compute a fixed number of orders. Set particle_convergence_tolerance
to stop when the relative residual reaches the tolerance. The requested particle
order then sets the maximum number of orders.
cluster_sensor = replace(
sensor,
scatterers=(pair,),
particle_interaction_order=32,
particle_convergence_tolerance=1e-8,
)
image = scene.simulate(cluster_sensor)
convergence = image.metadata["particle_convergence"]
During cluster iteration, max_surface_reflections=1 uses direct propagation.
Values of 2 or 3 allow one perfectly conducting reflection on each transmit,
inter-particle or receive link. The result records the minimum and maximum order
used and the largest relative residual. If the residual is above the tolerance
at the order limit, the simulation raises an error.
Waveforms, receiver motion, area calibration and orbital tracks are available in monostatic acquisition.
Monostatic particle coupling¶
Multiple scattering between particles is also available for monostatic stop-and-go acquisition. Reuse the scene and particles above with a single track for transmission and reception.
This mode supports the frequency and sampled range-gate receivers in SARChirp.
To compare single and multiple scattering, set the same surface_subdivisions
in both simulations. For single scattering, set particle_interaction_order
to 1 and particle_convergence_tolerance to None.
Platform motion during echo travel¶
With SARFlightLine or SAROrbit, set propagation="constant_velocity" to
calculate the receive position at echo arrival. A flight line follows the
direction from its start to its end. An orbit uses the velocity at each pulse.
This example flies over the lakeside scene at 220 m/s.
from dataclasses import replace
import less
from less.examples.sar_lakeside import make_scene, make_sensor
scene, _ = make_scene()
flight = less.SARFlightLine((14., -300., 400.), (18., -300., 400.), speed=220.)
sensor = make_sensor(prf=1760., frequency_samples=129, image_size=(33, 33),
pixel_spacing=(1., 1.), record_phase_history=True)
sensor = replace(sensor, trajectory=flight, propagation="constant_velocity", surface_subdivisions=8)
image = scene.simulate(sensor)
Use surface_subdivisions to refine the surface integral. With this setting,
moving-receiver surface echoes use a uniform antenna response. Particle echoes
support up to second-order Rayleigh scattering. Use
propagation="stop_and_go" for higher particle orders.
Surface properties¶
RadarSurface() describes a perfect conductor. For a smooth opaque dielectric,
use RadarSurface(relative_permittivity=4., dielectric_loss=0.1); the positive
loss component denotes absorption. Both contribute direct echoes, specular
connections and occlusion, according to the sensor's reflection order.
OBJ groups identify different properties; wall, roof and road labels are optional.
mode="pec" and mode="dielectric" select scattering surfaces without using
them as mirrors for other targets. They can still receive paths reflected by
other surfaces; use sensor reflection order one to select direct echoes alone.
mode="mirror" selects specular connections, with direct_return=True adding
the direct echo. mode="occluder" selects occlusion only.
With Gaussian roughness in automatic mode, the surface scatters incoming
paths. Select mirror mode to also use it as a specular reflector.
Surface reflection order¶
SAR.max_surface_reflections defaults to 2. A value of 1 computes direct
surface and particle returns while mirrors and other geometry still occlude
rays. A value of 2 adds single mirror connections; 3 also permits a mirror
on each leg of a scattering event. The scene viewer exposes the same setting.
Three-reflection acquisitions of smooth surfaces can use automatic polygon
integration with stop-and-go propagation. Set surface_subdivisions to adjust
the resolution or to compare reflection orders at the same resolution. An
integer visibility_refinement uses triangle-center sampling. Use None to
let LESS select the integration method.
When both legs reach a scattering-only target via smooth reflectors, set
surface_subdivisions to adjust integration over their common footprint.
The reflectors can also contribute their own echoes.
With fixed positions within each pulse, the calculation supports uniform
antennas, Gaussian beamwidths and tabulated complex voltage patterns. For
example, the ground can redirect the transmitted signal toward an elevated
metal plate and then redirect the scattered signal toward the receiver.
Use extinction_volumes to add absorbing volumes. Polygon integration uses
the distance traveled inside each volume on the transmit and receive paths.
It also accounts for frequency-dependent attenuation and phase in isotropic
canopies. Orient the plate mesh normals toward the reflecting surface.
Soil and water surfaces¶
Mesh components and terrain can use
MicrowaveSoil(surface_model="specular", rms_height_cm=0) or
WaterMicrowave(surface_model="specular") for their own echoes and reflected
paths to other targets. Permittivity is evaluated at every acquisition frequency.
| Dielectric model | Frequency range |
|---|---|
Soil mironov |
0.3–26.5 GHz |
Soil dobson |
0.3–18 GHz |
Soil hallikainen |
1.4–18 GHz |
| Water Klein–Swift | Above 0, up to 8 GHz; 273.15–303.15 K and 0–40 ppt salinity |
WaterMicrowave(permittivity=4+0.8j) uses that constant complex permittivity,
with positive imaginary part denoting loss. An explicit RadarSurface takes
precedence on the same component. Use obj.remove_property("component", "sar")
when changing it to a shared microwave property.
Small-slope rough surfaces¶
Use SARGaussianRoughness to add Gaussian height variations to a conducting or
dielectric surface. The height and correlation length are in metres.
ground = less.RadarSurface(
relative_permittivity=4.0,
dielectric_loss=0.5,
roughness=less.SARGaussianRoughness(rms_height=0.015, correlation_length=0.5, seed=7),
)
The seed fixes the height field across pulses, frequencies and reflection paths. By default, rough surfaces contribute scattering, and smooth surfaces provide specular connections such as a wall reflection on the way to rough ground. Visibility follows the scene mesh. Keep the RMS height at most one tenth of the correlation length. Refine the mesh or surface integration until each integration patch spans at most one quarter of the correlation length.
To use a rough surface as a reflector for another surface, set mode="mirror"
and direct_return=True. This mode applies to monostatic surface echoes,
including acquisitions with propagation="constant_velocity", and to
stop-and-go bistatic surface echoes. The scene mesh locates each reflection,
and the height at that point modifies the echo phase.
Coherent particle echoes use the same height field on paths that reflect
between an antenna and a particle. Conducting mirrors also apply it to
reflected paths between particles.
wall = less.RadarSurface(
mode="mirror",
direct_return=True,
roughness=less.SARGaussianRoughness(rms_height=0.015, correlation_length=3.0, seed=7),
)
Crown returns¶
SAR.vegetation_returns="coherent" is the default. MicrowaveVegetation
crowns contribute propagation attenuation and phase, plus coherent particle
echoes. vegetation_seed=0 fixes the physical particle distribution shared by
all pulses and frequencies. Saving the scene preserves placed-tree identities.
With each tree's boundary and particle declaration unchanged, adding, removing
or reordering other trees preserves its branches and leaves.
Choose vegetation_returns="transmission" for propagation-only crown analysis;
independently modeled surfaces and SARParticles retain their echoes.
In standard monostatic SAR, the default MicrowaveBranch setting
scattering_model="auto" selects the finite-cylinder model when every
acquisition frequency has kR = 0.15–0.30, kL = 1.2–2.4 and relative
permittivity with real part 1.8–2.3 and imaginary part 0.04–0.32. Here
k = 2π/λ, R is the branch radius and L is its length. Other conditions
use the usual automatic model selection. Set scattering_model="finite_cylinder"
to explicitly include scattering from the branch sides and both ends.
For measured positions and axes, use the same option on SARParticles,
with size_m=(diameter, length) in metres. Branches with the same dimensions
and permittivity share one set of spectral coefficients.
If you have full-wave coefficients for a finite circular cylinder, pass
scattering_model="finite_cylinder", response_file="branch-response.npz"
to SARParticles. The file must contain the exact acquisition frequencies
in the order given by frequency_grid_hz. A saved project identifies the file
by its digest and includes it when packed.
For branches sampled within a crown, set scattering_model="finite_cylinder"
and sar_response_file="branch-response.npz" on MicrowaveCylinder. SAR uses
these coefficients for each branch echo and for attenuation and phase along
the path through the crown. Include every acquisition frequency and the band
centre in the file. Its diameter, length and centre-frequency permittivity
must match the branch properties.
Sensor serialization preserves an explicitly stored mode. A record that omits
vegetation_returns uses the default.
When the frequency range, crown properties and numerical sampling settings stay the same, successive frequency-grid refinements reuse propagation coefficients at shared frequencies. New frequencies are computed automatically.
scattering_samples sets the crown scattering-integral sample count per incident
direction and frequency, with a default of 200_000. Keep the scene and
vegetation_seed fixed and increase this count to check convergence of the crown
propagation coefficients. The branches, leaves and scene geometry stay the same: