=== geolattice.rsense.backend (23) ========================================
Backend An active compute backend.
array_module Return the array module that owns ``arr`` (works for NumPy, CuPy and Dask chunks).
as_compute_dtype Cast integer or mismatched float data to the compute dtype (no copy if already right).
autocast PyTorch mixed-precision context on the active backend.
available_backends Return the backends usable on this machine, e.g. ``['cpu', 'cuda']``.
clear_cache Release cached GPU memory held by CuPy's pool and PyTorch's allocator.
compute_dtype dtype used for array math under the current policy.
device Temporarily switch backend::
fft
free_gpu_memory_bytes Free memory on the active CUDA device, or ``None`` on CPU.
get_backend Return the currently active backend.
get_precision
get_xp Return the array module (``numpy`` or ``cupy``) for the backend.
info Report hardware and library availability, useful for bug reports.
is_gpu_array
memory_report Host and active-GPU memory usage in GB.
ndimage ``scipy.ndimage`` on CPU, ``cupyx.scipy.ndimage`` on CUDA (chosen from ``arr`` if given).
recommend_chunks Suggest Dask chunks: full extent on leading dims, square spatial chunks sized to
scatter_reduce In-place unbuffered reduction ``target[index] = op(target[index], values)``.
set_backend Set the global compute backend and return it.
set_precision Set the default floating dtype for array computations (``float32`` or ``float64``).
to_cpu Move an array, DataArray or Dataset back to host (NumPy) memory.
to_device Move an array, DataArray or Dataset to the active (or given) backend.
=== geolattice.rsense.core (25) ========================================
PointCloud Points as aligned 1-D arrays: ``x``, ``y``, ``z`` plus optional attributes.
RasterCube A georeferenced image time series with one variable per band.
Window A tile: the ``core`` region it owns and the ``padded`` region it reads.
apply_tiled Apply ``func`` to the last two axes of ``data`` tile by tile on the active backend.
auto_tile_size Pick a square tile edge that fits in a fraction of free GPU memory (``default`` on CPU).
clip Clip to geometries (a GeoDataFrame, GeoSeries or list of shapely/GeoJSON geometries).
ensure_crs Return ``obj`` with a CRS, writing ``crs`` if missing; raise if neither is available.
estimate_utm_crs UTM EPSG for the centre of a raster or GeoDataFrame.
iter_windows Yield non-overlapping core windows, each with a padded read window.
list_subdatasets GDAL subdataset paths of an HDF/NetCDF file (e.g. MODIS HDF-EOS layers).
map_to_pix Map (x, y) → fractional pixel (col, row).
mosaic Merge rasters onto one grid (reprojecting to the first raster's CRS unless ``crs``).
pix_to_map Affine pixel (col, row) → map (x, y), independent of the ``affine`` package version.
read Read a raster (GeoTIFF/COG/JP2/HDF subdataset/NetCDF) as a georeferenced DataArray.
read_hdf Read one layer of an HDF4/HDF5 file through GDAL.
read_netcdf Open NetCDF with spatial dims and CRS set for rioxarray (CF ``grid_mapping`` honored).
read_safe Index a Sentinel-1/2 ``.SAFE`` directory.
read_zarr
reproject Reproject to ``dst_crs`` (EPSG code, WKT or pyproj CRS).
stack_times Concatenate same-grid DataArrays along a new ``time`` dimension.
transform_bounds Reproject a bounding box (minx, miny, maxx, maxy), densifying edges.
utm_epsg EPSG code of the WGS84 UTM zone containing a lon/lat point (Norway/Svalbard exceptions).
write Write a DataArray/Dataset to GeoTIFF, as a Cloud-Optimized GeoTIFF by default.
write_zarr Write to Zarr, keeping CRS (``spatial_ref``) so it round-trips with :func:`read_zarr`.
zonal_stats Compute statistics of a single-band raster within each polygon.
=== geolattice.rsense.access (14) ========================================
aoi_to_geojson Normalize an AOI to a GeoJSON geometry in EPSG:4326.
asf_download Download search results using Earthdata credentials (arguments, or ``~/.netrc`` with
asf_search Search Sentinel-1 products. ``product``: ``SLC``, ``GRD_HD``, ``BURST``, ``OCN``.
baseline_stack Temporal/perpendicular baseline stack for InSAR pair selection.
cdse_download Download a full product (zipped SAFE) by STAC item, product name or CDSE UUID.
cdse_search Search CDSE STAC. ``collection`` may be a CDSE id or a short alias from ``COLLECTIONS``.
cdse_token Obtain an access token (valid ~10 minutes).
earthdata_download Download granules found by :func:`earthdata_search`; returns local file paths.
earthdata_search Search NASA CMR for granules, e.g. ``earthdata_search("MOD13Q1", aoi=..., dates=...)``.
gee_image_to_xarray Single ``ee.Image`` → xarray Dataset (wrapped as a one-image collection).
gee_init Initialize Earth Engine (optionally running the browser authentication flow).
gee_to_xarray Open an ``ee.ImageCollection`` (object or asset id) lazily as an xarray Dataset via xee.
stac_load Load STAC items into a lazy, Dask-backed ``xarray.Dataset`` (one variable per band).
stac_search Search a STAC catalog and return a ``pystac.ItemCollection``.
=== geolattice.rsense.optical (34) ========================================
as_dataset Convert a DataArray with a ``band`` dim to a Dataset with one variable per band.
brightness_temperature At-sensor brightness temperature (K): ``BT = K2 / ln(K1 / L + 1)``.
cloud_mask Return the validity mask for ``obj`` using its sensor's QA band.
composite Composite a time series of (already cloud-masked) images.
coregister Estimate (and optionally apply) the translation aligning ``target`` to ``reference``.
decode_bits Extract an integer field of ``length`` bits starting at bit ``start``.
dos1 Dark Object Subtraction (DOS1, Chavez 1996) on TOA reflectance.
emissivity_ndvi NDVI threshold method (Sobrino et al. 2004) for land surface emissivity.
endmembers_from_samples Mean spectrum per class at sample points (GeoDataFrame of points).
fractional_vegetation Proportion of vegetation ``Pv = ((NDVI - NDVIs) / (NDVIv - NDVIs))^2``, clipped 0-1.
get_band Fetch canonical ``band`` from a Dataset (by variable) or DataArray (by ``band`` coord).
guess_sensor Guess the sensor from attributes or band names; ``None`` if ambiguous.
hls_fmask_mask Mask from the HLS v2.0 ``Fmask`` layer (bits 0-5 flags, bits 6-7 aerosol level 0-3).
index Compute one or more spectral indices.
landsat_lst End-to-end LST from a Landsat Level-1 thermal band and NDVI (MTL values for M, A, K1, K2).
landsat_qa_mask Mask from Landsat Collection 2 ``QA_PIXEL``. Flags set to ``True`` are excluded.
list_indices Return a DataFrame of registered indices, optionally filtered by domain.
load_hls Load Harmonized Landsat Sentinel-2 (HLS v2.0) from NASA LP DAAC.
load_landsat Search, load, scale and cloud-mask Landsat Collection 2 Level-2.
load_modis Search, load, scale and cloud-mask MODIS 8-day surface reflectance (MOD09A1/MYD09A1).
load_sentinel2 Search, load, scale to reflectance and cloud-mask Sentinel-2 L2A.
lst_single_channel Single-channel emissivity correction (Artis & Carnahan 1982):
mask_clouds Set cloudy/invalid pixels to NaN in every band.
modis_state_mask Mask from MOD09 ``state_1km`` / ``sur_refl_state_500m``.
modis_vi_mask Mask from MOD13 ``VI Quality`` bits 0-1 (0 good, 1 check QA, 2 cloudy, 3 not produced).
pansharpen Fuse coarse multispectral bands with a fine panchromatic band.
parse_mtl Parse a Landsat ``*_MTL.txt`` metadata file into a flat dict of numbers/strings.
radiance Level-1 DN to top-of-atmosphere spectral radiance: ``L = M * DN + A``.
register_index Register a spectral index.
s2_scl_mask Mask from the Sentinel-2 L2A Scene Classification Layer.
scale Scale surface-reflectance products to reflectance (0-1) and thermal bands to Kelvin.
toa_reflectance Landsat Level-1 DN to TOA reflectance with sun-angle correction:
topographic_correction Remove terrain illumination effects from reflectance.
unmix Linear spectral unmixing.
=== geolattice.rsense.sar (140) ========================================
ais_at_time One position per vessel at the SAR time ``t0``: linear interpolation between the last
apply_offset Shift an image or ``(..., y, x)`` stack by whole pixels on its own grid (NaN where uncovered).
apply_orbit_file ``Apply-Orbit-File``: return a copy of ``ann`` (:func:`read_slc_annotation`) whose orbit
azimuth_displacement_m Expected along-track image displacement (m) of moving vessels: ``R * v_r / V``, with
azimuth_sublooks Azimuth sub-looks of one IW SLC burst. The burst is first deramped with
back_geocode DEM-assisted co-registration (SNAP ``Back-Geocoding``) of a secondary burst to a
boxcar Moving-average (multilook-style) filter.
burst_coordinates Fractional (line, sample) in a burst for zero-Doppler times and slant ranges from :func:`geo2rdr`.
burst_window Range-sample window ``(start, stop)`` of a burst covering lon/lat ``bounds`` (TOPS-Split
calibrate ``sigma0 = (DN^2 - noise) / A^2``, clipped at a small positive floor.
calibrate_rcm RCM Level-1 GRD radiometric calibration: ``(DN^2 + offset) / gain``.
cfar Constant False Alarm Rate detector on linear intensity (bright targets, e.g. ships).
cfar_tiled :func:`cfar` over a large image in overlapping tiles (overlap = half the outer window),
change_map Two-date increase/decrease map from the log-ratio (Otsu on |ratio| if no threshold).
coherence_at_points Maximum sub-look coherence near each lon/lat point (e.g. GRD CFAR candidates).
coherency_t3 Locally averaged 3x3 Pauli-basis coherency matrix T3 from quad-pol SLC channels.
common_grid A north-up target grid ``(transform, width, height)`` in ``crs`` covering a lon/lat box,
compact_pol_mchi m-chi decomposition of RCM compact-pol data into surface, volume and double-bounce power.
coregister_stack Co-register a stack of SLC acquisitions to one reference date (SNAP's back-geocoding of a
covariance_c2 Locally averaged 2×2 covariance matrix from complex SLC channels.
create_stack Co-register GRD scenes into one ``(time, y, x)`` stack on a common map grid.
cross_pol_ratio Cross-pol ratio ``CR = VH / VV`` (linear). Sensitive to crop structure and growth stage.
crop_orbit State vectors of an orbit (``read_orbit_file`` dict or ``.EOF`` path) between ``start``
deburst ``TOPS-Deburst``: join consecutive bursts (arrays on the same column window, lines from
detect_ships_grd CFAR ship detection on a Sentinel-1 IW GRDH AOI, in native radar geometry (10 m).
detection_scores Precision, recall and F1 from a :func:`match_points` result.
detections_to_points Group a detection mask into objects → GeoDataFrame of centroids with size and peak.
download_orbit Download the Sentinel-1 orbit file covering ``time`` from the open AWS ``s1-orbits``
dpsvi Dual-Polarization SAR Vegetation Index ``DPSVI = (VV+VH) / VV`` (linear inputs).
dual_pol_features Intensity-only dual-pol features from GRD/RTC (linear power).
dual_pol_indices All single-date VV/VH indices and derived metrics in one call.
dual_pol_model_decomposition Eigen-decomposition model-based power decomposition for dual-pol data.
enl_estimate Estimate ENL over a homogeneous area: ``mean^2 / var`` of linear intensity.
esd_azimuth_shift Enhanced Spectral Diversity: the residual azimuth misregistration of the resampled
estimate_doppler_centroid Measured azimuth Doppler centroid (Hz) of an SLC in blocks of ``block`` lines, from the
estimate_enl Equivalent number of looks ``mean^2 / var`` of linear intensity, from the most
estimate_offset Integer pixel offset ``(dy, dx)`` that best aligns ``moving`` with ``reference``.
extract_targets Connected components of a CFAR mask → one row per target.
find_rcm_files Locate the files of one polarisation inside an unzipped RCM Level-1 product folder.
fit_incidence_slope Least-squares slope of backscatter (dB) against incidence angle (degrees) over the
flag_azimuth_ambiguities True for targets that look like azimuth ghosts of a brighter target.
flood_map Open-water flood extent from Sentinel-1 (VV or VH).
from_db Decibels → linear power.
geocode_l1 Quickly interpolate a Level-1 layer to a regular map grid from geolocation arrays.
gamma0_to_sigma0 RCM-ARD's own terrain-corrected ``sigma0 = gamma0 * ratio``.
gamma_map Gamma-MAP filter (Lopes et al. 1990): homogeneous areas → mean, strong scatterers kept,
gcov_indices Calculate GCOV ratios and RVI from linear powers.
geo2rdr Range-Doppler geocoding of ground points: the zero-Doppler azimuth time and slant range
geocode_points Map coordinates of radar-geometry points (e.g. persistent scatterers), from the
gslc_interferogram Form a GSLC pair interferogram and local coherence on a shared map grid.
h_alpha_classify Unsupervised H-α plane classification into Cloude-Pottier zones (codes 1-9).
h_alpha_dual Dual-pol H/A/α decomposition (Cloude 2007) from C2 elements.
h_alpha_quad Quad-pol Cloude-Pottier H/A/alpha decomposition (Cloude & Pottier 1997) from T3 elements
hand Height Above Nearest Drainage (HAND; Nobre et al. 2011), in the units of ``dem``.
haversine_m Pairwise great-circle distances (m), shape ``(len(lat1), len(lat2))``.
incidence_angle_grid Full-resolution ellipsoid incidence angle (degrees), bilinearly interpolated from the
interpolate_lut Bilinear interpolation of a sparse (line, pixel) LUT onto an image grid.
interpolate_orbit Interpolate ``read_orbit_file``'s position/velocity to arbitrary ``times``.
interpolate_rcm_lut Interpolate a sparse RCM range-only gain LUT (:func:`read_rcm_lut`) onto ``width``
interpolate_rcm_noise Stitch RCM per-beam noise-level segments (:func:`read_rcm_noise_levels`) onto ``width``
inspect_hdf5 List datasets below an HDF5 group with shape, dtype, and attributes.
land_mask_for_window Land mask (True = land or coastal buffer) for a GRD window in radar geometry.
layover_shadow_mask Local layover/shadow classes on a projected DEM grid: 0 = fine, 1 = layover (terrain
lee Lee (1980) adaptive filter: ``x = m + b (z - m)``, ``b = var_x / var_z``.
llh_to_ecef WGS84 latitude/longitude (degrees) and ellipsoidal height (m) to ECEF XYZ (m), shape (..., 3).
load_rtc Load Planetary Computer ``sentinel-1-rtc`` (gamma0, terrain-corrected, linear power).
local_incidence_angle Local incidence angle (degrees) from a DEM already resampled onto the SAR image grid.
log_ratio Log-ratio change image ``10 log10(after / before)`` (dB) or natural log if ``db=False``.
los_unit_vector Unit vector from ground points to the satellite (at each point's zero-Doppler time), in
m_chi_decomposition m-χ model-based power decomposition (Raney 2007) of a dual-pol C2 matrix.
m_delta_decomposition m-δ model-based power decomposition (Raney 2007) of a dual-pol C2 matrix.
mask_to_polygons Vectorize a boolean mask into polygons with pixel count and area.
match_points One-to-one matching (Hungarian) of predictions to reference points within
median Median filter (NaN treated as missing by filling with the local mean first).
multilook Block-average by (azimuth, range) looks.
multitemporal Quegan & Yu (2001) multi-temporal filter.
multitemporal_speckle_filter Quegan & Yu (2001) multi-temporal speckle filter for a co-registered stack.
normalize_incidence Bring backscatter (dB) to a reference incidence angle with a linear slope:
oil_spill_detection Dark-spot detection for oil-slick candidates (VV).
omnibus_test Likelihood-ratio test for change across k single-polarization intensity images
pairwise_change Sequential two-date LR tests between consecutive images: change map per interval,
polarimetric_rvi Polarimetric RVI ``PRVI = (1 - VV/(VH+VV)) * VH``, algebraically ``VH^2/(VH+VV)``
process_offsets Quality-filter NISAR ROFF/GOFF offsets and derive ground-range and EN displacement.
process_rifg Mask a RIFG by coherence and optionally multilook the complex interferogram.
process_unwrapped_phase Quality-mask, reference, optionally correct ionosphere, and convert phase to LOS displacement.
process_grd Process a Sentinel-1 GRD product to calibrated backscatter (linear units).
radar_forest_degradation_index Radar Forest Degradation Index ``RFDI = (VV-VH) / (VV+VH)`` (linear inputs).
radar_vegetation_index Dual-pol Radar Vegetation Index ``RVI = 4*VH / (VV+VH)`` (linear inputs).
range_sublooks Range sub-looks of an IW SLC burst (or deburst image): the range spectrum is not
rcm_incidence_angle Per-column ellipsoid incidence angle (degrees) for ``width`` columns starting at scene
read_ais_dma Read a Danish Maritime Authority daily AIS file (CSV or zipped CSV) and keep class A/B
read_calibration_lut Parse a ``calibration-*.xml`` file (local path or URL) → (lines, pixels, values).
read_geolocation_grid Parse an annotation XML's sparse ``geolocationGridPointList`` (an evenly spaced
read_grd_subset Calibrated backscatter for a lon/lat box cut out of one GRD measurement image.
read_identification Read NISAR identification metadata and attributes without loading raster arrays.
read_l2 Read a two-dimensional Level-2 raster layer and attach its map CRS.
read_nisar Read a NISAR layer into an ``xarray.DataArray`` with product grid coordinates.
read_noise_lut Parse range noise vectors from ``noise-*.xml`` (local path or URL; IPF >= 2.9 and older layouts).
read_orbit_file Parse a Sentinel-1 precise (POEORB) or restituted (RESORB) orbit file (``.EOF``) into
read_platform_heading Platform flight-direction heading (degrees clockwise from north, 0-360) and the pass
read_prf Pulse repetition frequencies (Hz) listed in a GRD or SLC annotation XML
read_processing_params Range and azimuth processing bandwidth (Hz) and Hamming window coefficients from an
read_rcm_annotation Parse what InSAR coregistration needs from an RCM Level-1 **Stripmap** SLC
read_rcm_grd_subset Calibrated, noise-corrected backscatter for a lon/lat box cut out of one polarisation of
read_rcm_incidence Parse RCM's ``incidenceAngles.xml``: a range-only (per-column) ellipsoid incidence angle
read_rcm_lut Parse an RCM Level-1 ``lutSigma``/``lutBeta``/``lutGamma`` calibration XML
read_rcm_metadata Scene facts from an RCM ``product.xml`` that a workflow should record before processing:
read_rcm_noise_levels Parse an RCM Level-1 ``noiseLevels_<pol>.xml`` file's per-beam NESZ segments.
read_rcm_tie_points Ground control points from ``product.xml``'s geolocation grid (``imageTiePoint``: image
read_radar Read a two-dimensional Level-1 radar-geometry layer.
read_rslc_backscatter Make multilooked RSLC beta0 and optional sigma0 backscatter quick looks.
read_slc_annotation Parse what TOPS interferometry needs from a Sentinel-1 IW SLC annotation XML (a SAFE
read_slc_burst Read one burst of an IW SLC measurement GeoTIFF as ``complex64`` (TOPS-Split).
refined_lee Refined Lee filter (Lee 1981) with 7×7 edge-aligned windows.
remove_border_noise Mask likely GRD border-noise pixels near the left/right scene edges.
resample_slc Resample a secondary burst ``slc`` (lines from 0, columns from ``col0``) at fractional
rhrv_to_stokes Stokes parameters from an RH/RV compact-pol covariance matrix (Raney 2007), the inverse
rice_map Paddy rice mapping from a VH time series using the transplanting flood signature.
rr_rl_to_stokes RCM-ARD's circular-basis Stokes parameters from RR, RL and RRRL*.
rrrl_to_rhrv Losslessly convert RCM-ARD's circular (RR, RL, RRRL*) product to the linear RH/RV
ring_stats Mean, standard deviation and pixel count of ``img`` in the ring between a square
rvi4s1 Sentinel-1 RVI4S1 ``= sqrt(VV/(VV+VH)) * 4*VH/(VV+VH)`` (linear inputs).
sentinel_normalized_index Sentinel Normalized Index ``SNI = (VH-VV) / (VH+VV)`` (linear inputs); ``SNI = -RFDI``
ship_cfar Constant false alarm rate detector on linear intensity (e.g. sigma0 VH).
ship_detection CFAR ship detection on linear intensity (VH or HV best). ``land_mask`` True = land.
sigma0_to_gamma0 Ellipsoid normalisation ``gamma0 = sigma0 / cos(theta_inc)`` (no DEM).
simulate_compact_pol Simulate a right-circular-transmit, linear-receive (CTLR) compact-pol acquisition from
split_rrrl Real and imaginary bands of an RCM-ARD ``rrrl`` asset (the RR/RL* complex correlation).
split_spectrum Two sub-look images from the lower and upper halves of an SLC's (baseband) spectrum
stokes_parameters Stokes-vector parameters from a dual-pol C2 covariance matrix.
sublook_coherence Sub-look coherence ``|<s1 s2*>| / sqrt(<|s1|^2><|s2|^2>)`` and the internal Hermitian
temporal_change Simple temporal difference ``x_t - x_t1`` of the same backscatter channel at two dates.
temporal_ratio Simple temporal ratio ``x_t / x_t1`` of the same backscatter channel at two dates.
terrain_correct ``Range-Doppler Terrain Correction``: resample radar-geometry layers onto a DEM's map grid.
terrain_flatten Beta0 -> terrain-flattened gamma0: ``gamma0 = beta0 / cos(local incidence angle)``,
threshold Global threshold of a change or backscatter image.
to_db Linear power → decibels.
tops_deramp_phase TOPS azimuth deramping phase ``phi(eta, tau)`` (radians) at burst ``lines``/``samples``.
tops_doppler_centroid Doppler centroid (Hz) of each burst pixel: ``fdc + kt (eta - eta_ref)`` -- the frequency
un_spider_flood_mapping Complete UN-SPIDER Sentinel-1 flood mapping workflow.
=== geolattice.rsense.insar (45) ========================================
amplitude_dispersion Amplitude dispersion index ``D_A = sigma_A / mu_A`` and mean amplitude of a stack
atmospheric_filter Atmospheric phase screen of unwrapped point phase ``(n_dates, P)``: high-pass in time,
coherence_threshold Temporal coherence that pixels with *random* phase reach with :func:`ps_periodogram`, at
combine_heights Inverse-variance weighted mean of several height maps (e.g. one per interferometric pair)
correct_unwrapping_errors Correct 2 pi unwrapping errors with phase closure (MintPy's ``phase_closure`` method).
decompose_asc_desc Combine ascending and descending LOS into vertical and east-west components.
dem_error_correction DEM-error correction of an SBAS time series (Fattahi & Amelung 2013).
dem_error_stats Accuracy of a DEM against reference heights on the same grid (or at the same points):
detrend_heights Remove long-wavelength errors from an InSAR height map by fitting its difference from a
differential_interferogram ``reference * conj(secondary) * exp(-1j * topographic_phase(delta_range))`` for two
enu_to_los Project east/north/up displacements (e.g. GNSS) onto the line of sight; ``los_enu`` is the
era5_delay Slant tropospheric delay (as phase) from ERA5 using PyAPS (``pip install pyaps3``).
fill_dem_voids Fill NaN voids of a DEM.
flat_earth_phase Phase (rad) of a flat, ellipsoidal Earth from the secondary-minus-reference slant range
gacos_correction Subtract the GACOS tropospheric delay difference from unwrapped phase.
geoid_to_ellipsoid Convert heights above the geoid (orthometric, as in SRTM/NASADEM: ``EGM96``; Copernicus
goldstein_filter Goldstein & Werner (1998) adaptive phase filter.
height_of_ambiguity Height change (m) that produces one full fringe (2 pi): ``lambda R sin(theta) / (2 B_perp)``.
height_std Height standard deviation (m) expected from phase noise: the Cramer-Rao bound
interferogram Form a complex interferogram with coherence.
interferogram_stack Form, deburst, multilook, filter and unwrap every interferogram of an SBAS network.
loop_closure Phase closure ``u_ij + u_jk - u_ik`` of every triplet of interferograms in the network,
los_to_vertical Project LOS displacement to vertical assuming purely vertical motion: ``d_v = d_los / cos(theta)``.
multilook_complex Complex block averaging (azimuth, range looks) of an interferogram.
network_components Connected subsets of an interferogram network (dates linked by at least one chain of pairs),
perpendicular_baseline Perpendicular and parallel baseline (m) of a pair at ground points.
phase_to_height Convert flat-Earth-removed unwrapped phase (rad) to elevation (m) -- SNAP's
phase_to_los Unwrapped phase (rad) → line-of-sight displacement (m).
point_velocity Least-squares linear rate (units per year) and residual RMSE of point time series
ps_candidates Boolean mask of PS candidates: ``D_A < threshold`` (Ferretti: 0.25; StaMPS uses a looser
ps_periodogram Per-point grid search (periodogram) of the DEM error -- and optionally a linear phase rate --
read_gacos Read a GACOS ``.ztd`` binary grid (with its ``.rsc`` header) as a DataArray in metres.
reference_to_point Subtract the median of a ``window`` x ``window`` box around ``point`` (row, col) from
remove_ramp Fit and subtract a planar (order 1) or quadratic (order 2) ramp from *unwrapped* phase.
sbas_inversion Small-baseline network inversion (Berardino et al. 2002) to a displacement time series.
sbas_network Choose small-baseline interferometric pairs ``(earlier, later)`` among ``dates``.
sbas_svd SBAS inversion of unwrapped interferograms (``(n_pairs, ...)``, phase or displacement) by
select_reference_point Choose a reference pixel ``(row, col)``: the centre of the ``window`` x ``window``
sparse_lowpass Gaussian low-pass of values known only at scattered points, evaluated at the same points.
topographic_phase Phase (rad) a DEM predicts for a pair: ``4 pi / lambda * (R_sec - R_ref)`` at the DEM
unwrap Unwrap interferometric phase.
unwrap_points Unwrap the wrapped phase of sparse points ``(n_ifg, P)`` (after DEM-error removal).
unwrap_snaphu_topo Unwrap a topographic interferogram with SNAPHU in ``TOPO`` statistical-cost mode.
velocity Per-pixel linear velocity (units per year) from a displacement time series by least
wrap Wrap phase to (-pi, pi].
=== geolattice.rsense.uav (76) ========================================
Camera Nadir camera geometry for flight planning (sensor size in mm, image size in pixels).
FlattenResult Output of :func:`ransac_flatten`.
as_image Wrap a ``(rows, cols)`` or ``(rows, cols, channels)`` array as a ``(band, y, x)`` DataArray.
bare_soil_line Fit the minimum bare-soil line to red and near-infrared digital numbers.
blur_score Variance of the Laplacian (higher = sharper). Motion-blurred frames score low.
boxes_to_gdf Box polygons in the image's coordinates (CRS kept for GeoTIFFs).
build_catalog Index every image under ``root`` into a tidy table, one row per file.
build_ricenet Build the RiceNet network: density + attention maps (``gap=False``) or the plant-size
camera_from_equivalent Build a :class:`Camera` from a 35 mm-equivalent focal length (diagonal-based), for
canopy_cover Binary vegetation mask and fractional cover from a vegetation index (e.g. ExG, NDVI).
chm_from_surfaces Canopy height = DSM - DTM.
chromatic Chromatic coordinates ``r = R/(R+G+B)`` (likewise ``g``, ``b``): removes brightness
classify_senescence Label plant pixels green (1) or senescent (2); background stays 0.
coregister Align a 2-D ``moving`` band (e.g. NIR) to a 2-D ``reference`` band (e.g. green).
cosine_weight 2-D raised-cosine (Hann) weight peaking at 1 in the tile centre.
count_plants Detect individual plants (or trees) as local maxima of a CHM or vegetation index.
count_summary Count, mean confidence and (with a GSD/CRS image or ``area_m2``) objects per m².
cover_layers Perpendicular vegetation index, ground cover and WDVI from red and NIR.
cwsi Crop Water Stress Index ``(Tc - Twet) / (Tdry - Twet)``, clipped 0-1.
density_count Count plants on a large RGB image with a density model, tile by tile.
detect_stages Dates at which a fitted logistic curve reaches given fractions of its amplitude.
detection_scores Precision, recall, F1 and count agreement of predicted vs reference boxes (greedy
doming_profile Median elevation along one axis: a quick look at doming before and after flattening.
edge_agreement Correlation of the Sobel edge maps of two bands, away from NaN borders.
empirical_line Empirical line method with 2+ targets of known reflectance (linear fit per band).
estimate_homography 3x3 homography mapping ``moving`` pixel coordinates onto ``reference``.
exg_plant_mask Model-free plant mask: Otsu threshold on ExG, then :func:`clean_mask`.
exposure_stats Mean brightness and the fractions of near-black and near-saturated pixels (0-1 scale).
extract_frames Save every ``step``-th frame of a flight video (the LUMS workflow keeps every 6th frame of
fetch_weights Path to the cached weights for ``name``, downloading them first if needed.
fit_logistic Fit a 4-parameter logistic curve to a trait over time.
flight_plan Ground sampling distance, image footprint and line/trigger spacing for a nadir survey.
frame_quality Blur and exposure statistics for many frames (read at ``max_dim`` for speed).
frame_traits Standard RGB(+NIR) traits of one frame, ready for :func:`trait_table`.
growth_rates Change in ``trait`` per day between consecutive flight dates (per ``by`` group).
health_map Green / senescent map of a large RGB image, tile by tile (LUMS: 2048 px, 256 px overlap).
health_summary Plant cover and green/senescent fractions, for the whole image or per zone label.
hsv_filter Send "senescent" pixels that are grey (S < ``s_min``) or dark (V < ``v_min``) to
index_summary Flat dictionary of index statistics (optionally inside a vegetation ``mask``), handy as
list_weights Table of registered models and whether each is already cached.
load_detector Return ``predict(tile_rgb_uint8, conf) -> (n, 6) [x1, y1, x2, y2, conf, cls]``.
load_outputs Load the orthomosaic, DSM and DTM of a photogrammetry project (whichever exist).
load_pair Load an RGB frame and its NIR frame into one ``(band=[red, green, blue, nir], y, x)`` array.
load_ricenet Load a RiceNet checkpoint (``kind="count"`` density model or ``"size"`` regressor).
load_segveg Load a SegVeg pickle (``model_scikit``, ``XGBoost``, ``Necrosis.pkl``).
map_to_pix Map (x, y) → fractional pixel (col, row).
merge_boxes Greedy non-maximum suppression across tiles on columns ``x1, y1, x2, y2`` and ``score``.
merge_points Merge points closer than ``radius`` (e.g. the same plant found in two tiles).
pair_catalog Turn a :func:`build_catalog` table into one row per frame with a path column per band.
panel_calibration Single-panel calibration: ``reflectance = DN * (rho_panel / DN_panel)`` per band.
panel_dn_from_image Mean DN per band inside a pixel box (row0, row1, col0, col1) covering the panel.
parse_date Find a date in a folder name: ``2025-08-22``, ``30072018`` (DDMMYYYY) or ``20250822``.
peaks_from_density Local maxima of a density map above ``threshold``; returns ``(n, 2)`` ``(row, col)``.
pix_to_map Affine pixel (col, row) → map (x, y), independent of the ``affine`` package version.
plants_per_area Plant density per polygon (count / area in ``area_unit`` m², e.g. 1e4 for per-hectare).
predict_tiled Run ``fn`` on overlapping tiles of an ``(rows, cols, ...)`` image and stitch the output.
ransac_flatten Remove a shared doming/tilt surface from one or more DEMs of the same field.
raw_to_celsius Radiometric thermal camera raw counts to °C (FLIR/DJI R-JPEG style ``raw*gain + offset``).
read_frame Read a UAV frame or exported orthomosaic as a ``(band, y, x)`` DataArray.
refine_ecc Enhanced Correlation Coefficient alignment.
run_docker Run ODM in Docker on ``project_dir/images``; outputs land in ``project_dir``.
run_nodeodm Process images on a NodeODM server (``docker run -p 3000:3000 opendronemap/nodeodm``).
sam_plant_mask Binary plant mask (``uint8`` 0/1) of an RGB tile with Segment Anything and ExG prompts.
sam_segment Segment a GeoTIFF with SAM; writes a mask raster and optionally polygons.
segveg_features The 14 SegVeg colour features per pixel for an ``(n, 3)`` or ``(rows, cols, 3)`` uint8 RGB.
size_classes Label plants ``small`` / ``medium`` / ``large`` by size quartiles (LUMS colour classes).
sliding_windows Yield ``(row0, col0, rows, cols)`` windows of size ``tile`` with ``overlap`` pixels.
summarize_dates Mean, SD and count of each trait per flight date (and per ``by`` columns, e.g. crop).
sunshine_normalize Normalize for changing illumination using a downwelling light sensor (DLS):
synthetic_dem A GCP-free style DSM of a plot trial: crop canopy on a domed, tilted ground.
tiled_detect Detect objects on a large RGB image window by window and merge the results.
to_rgb_array ``(band, y, x)`` DataArray (or array) -> ``(rows, cols, 3)`` RGB array for OpenCV/torch.
trait_table Run ``func(image) -> {trait: value}`` on each catalogue row and join the results.
trend_surface Fit ``z = poly(col, row)`` of ``degree`` to a DEM with RANSAC; return surface and fit info.
vegetation_indices Compute UAV vegetation indices from a ``(band, y, x)`` image or a Dataset of bands.
write_dems Write corrected DEMs to GeoTIFF (georeferenced inputs keep their CRS).
=== geolattice.rsense.lidar (96) ========================================
Tile A tile: ``core`` bounds (no overlap between tiles) and ``buffered`` bounds.
apply_transform Apply a 4×4 rigid transform. ``origin`` (x, y, z) is subtracted before and added after,
aspect Aspect: compass direction of steepest descent, degrees clockwise from north.
assign_points_to_crowns Add ``tree_id`` to points by looking up the crown raster (0 = none).
building_footprints Building outlines from class-6 points → GeoDataFrame with ``area_m2``, ``height_m``
c2c_distance Cloud-to-cloud nearest-neighbour distance from each ``compared`` point to ``reference``.
canopy_change Canopy loss and growth between two CHMs.
chm Canopy Height Model = DSM − DEM (clipped at ``min_height``).
classify_buildings Separate buildings (6) from vegetation using local and object-level geometry.
classify_ground Dispatch to :func:`smrf`, :func:`csf` or :func:`~geolattice.rsense.lidar.filters.pmf`.
classify_vegetation ASPRS low (3), medium (4) and high (5) vegetation by height above ground.
clip_polygon Keep points inside (or outside, ``invert=True``) a shapely geometry or GeoDataFrame
colorize Colour points from co-registered imagery (e.g. NAIP orthophotos, Sentinel-2).
cross_section Points within ``width/2`` of the line ``start → end``, with a ``distance`` field (m
csf Cloth Simulation Filter (Zhang et al. 2016), simplified.
curvature Total (Laplacian) curvature, 1/m: negative = convex (ridges), positive = concave.
dem Digital Elevation (terrain) Model from ground points (class 2), gaps interpolated.
dem_of_difference DEM of Difference (after − before) with a level of detection (Brasington et al. 2003).
density_map Points per m² on a ``res`` grid (a QC layer for coverage gaps).
detect_power_lines Wire conductors: elevated, strongly linear, near-horizontal points.
detect_stems Stem positions and diameter at breast height from TLS/MLS/dense UAV lidar.
detect_trees Treetops as local maxima of a CHM → GeoDataFrame (x, y, height).
dsm Digital Surface Model: highest (first-return) elevation per cell.
eigen_features Covariance (eigenvalue) features of each point's ``k`` nearest neighbours.
euclidean_clusters Connected-component clustering: points closer than ``radius`` share a cluster.
fill_depressions Priority-flood depression filling (Barnes et al. 2014), with a small ``epsilon`` gradient
fill_gaps Fill NaN cells: ``nearest``, inverse-distance from the 8 nearest cells (``idw``) or
fit_circle Algebraic (Kåsa) least-squares circle fit, optionally refined by Gauss–Newton
flatten_water Hydro-flatten water bodies: set each polygon (GeoDataFrame or shapely geometries) to
flow_accumulation D8 upslope contributing cells (including the cell itself). Fills depressions first
flow_direction D8 flow direction as an index 0-7 (N, NE, E, SE, S, SW, W, NW); -1 for sinks/edges.
foliage_height_diversity Shannon diversity of returns across height layers above ``min_height`` (MacArthur 1961).
footprints_to_raster Grid footprint values onto a raster template (mean/median/count per cell).
geomorphons Geomorphon landforms (Jasiewicz & Stepinski 2013), classes 1-10 (see GEOMORPHON_CLASSES).
grid_metrics Area-based structure metrics per ``res`` cell from height-normalized points.
hand Height Above Nearest Drainage (Rennó et al. 2008): elevation above the stream cell each
height_profile Vertical profile of returns with gap fraction and leaf area density (MacArthur–Horn).
hillshade Analytical hillshade scaled 0-255.
icp Point-to-point Iterative Closest Point (Besl & McKay 1992).
illumination Cosine of the local solar incidence angle, cos(i), used for topographic correction.
inundation Flood extent and depth for a water ``level``.
iter_tiles Yield ``(tile, buffered sub-cloud)`` for every tile holding ``min_points`` points.
las_info Header summary without reading the points: version, point format and dimensions,
m3c2 Multiscale Model-to-Model Cloud Comparison (Lague et al. 2013).
merge_pointclouds Concatenate point clouds (fields present in all of them are kept).
merge_rasters Mosaic tile rasters (first valid value wins) into one DataArray/Dataset.
normalize_heights Add ``height`` (z minus terrain, bilinear from ``dtm``) to every point.
normals Upward-oriented unit surface normals (``nx, ny, nz``) from local PCA.
pdal_pipeline Run a PDAL pipeline (list of stage dicts or JSON string) and return the first output.
plot_classification Plan view coloured by ASPRS class (subsampled to ``max_points``).
plot_cross_section Profile view (distance vs elevation). Pass a cloud from :func:`cross_section`, or a
plot_height_profile Plot a :func:`height_profile` table (``lad``, ``fraction`` or ``gap_fraction``).
plot_metrics Structure metrics for each field plot (the area-based approach for biomass models).
pmf Progressive Morphological Filter (Zhang et al. 2003).
point_feature_table Per-point feature table for supervised classification.
predict_point_classes Apply a model from :func:`train_point_classifier` and write ``field``.
process_files Apply ``func`` to each LAS/LAZ file (read with :func:`read_las`) in parallel threads.
process_tiles Run ``func(sub_cloud)`` on every buffered tile and merge the trimmed results.
radius_outlier_removal Remove points with fewer than ``min_neighbors`` other points within ``radius`` (m).
ransac_plane Fit one plane by RANSAC (refined by least squares on the inliers).
rasterize Bin points onto a grid with a statistic, on the active backend (scatter reductions).
read_atl08 ICESat-2 ATL08 100 m land segments → canopy height (``h_canopy``), terrain
read_gedi_l2a GEDI L2A footprints → GeoDataFrame with relative heights ``rhNN`` (m), ground elevation,
read_gedi_l2b GEDI L2B canopy cover and vertical profile metrics per footprint.
read_gedi_l4a GEDI L4A aboveground biomass density (Mg/ha) with standard error per footprint.
read_las Read LAS/LAZ (or COPC with ``bounds``/``resolution`` for spatial/level-of-detail queries).
read_las_chunks Iterate over a large LAS/LAZ file in ``chunk_size`` point chunks (PointClouds).
read_pdal Read anything PDAL can (EPT URLs such as USGS 3DEP, E57, PLY, COPC...).
remove_outliers Dispatch to :func:`statistical_outlier_removal` or :func:`radius_outlier_removal`.
reproject Transform x/y (and z for compound CRSs with a vertical datum, e.g. ``"EPSG:6339+5703"``)
rigid_transform 4×4 matrix from rotations about x, y, z (degrees, applied x→y→z) and a translation.
roughness Max minus min elevation in the 3×3 neighbourhood.
sample_raster Attach raster values (DTM, NDVI, land cover...) to every point as field ``name``.
segment_crowns Marker-controlled watershed crown segmentation of a CHM.
segment_roof_planes Sequential RANSAC roof-plane segmentation of (building) points.
segment_trees_points Point-based individual tree segmentation from treetops (no CHM rasterisation).
slope Slope (Horn 1981) in ``degrees``, ``radians`` or ``percent``.
smrf Simple Morphological Filter (Pingel et al. 2013).
solar_potential Relative clear-sky insolation on a DSM: mean of cos(incidence) over sun positions,
statistical_outlier_removal Statistical outlier removal (Rusu et al. 2008), as in PCL / PDAL ``filters.outlier``.
structure_metrics Gridded vertical-structure metrics: foliage height diversity (``fhd``), effective
summary Quick inspection: point count, bounds, area, density, spacing, and tables of
sun_positions Solar azimuth/elevation (degrees) for day-of-year × local solar hour combinations
swath_overlap Inter-swath consistency: per cell, the elevation difference between flight lines
thin Reduce point density: one point per ``size`` voxel, the lowest (``grid_min``) or highest
tile_grid Regular tiles of ``size`` m covering ``bounds`` (minx, miny, maxx, maxy).
tpi Topographic Position Index: elevation minus the mean of a ``window``×``window`` neighbourhood.
train_point_classifier Fit a point classifier (``rf``, ``xgb``, ``gbm``...) on eigen + attribute features.
tri Terrain Ruggedness Index (Riley et al. 1999): sqrt of summed squared differences to 8 neighbours.
trim Clip a PointCloud or raster (DataArray/Dataset) back to the tile's core bounds.
twi Topographic Wetness Index ln(a / tan β), with a = specific catchment area (m).
usgs_3dep_ept Find USGS 3DEP Entwine (EPT) dataset URLs intersecting a lon/lat bbox.
vertical_accuracy Compare a DTM with surveyed checkpoints (GeoDataFrame with ``z_col``): RMSEz, mean
write_las Write a PointCloud to LAS/LAZ (``.laz`` compresses with lazrs/laszip).
write_ply Write a PLY file (CloudCompare, MeshLab, Open3D). ``offset="auto"`` subtracts the
write_tiles Split a point cloud into LAS/LAZ tiles ``{prefix}_{x0}_{y0}{ext}`` and return the paths.
=== geolattice.rsense.timeseries (12) ========================================
anomaly Departure from climatology: ``x - mean`` (absolute), ``(x - mean)/std`` (z-score) or
bfast_monitor Detect the first disturbance after ``monitor_start`` (Verbesselt et al. 2012, simplified).
ccdc Detect multiple land-cover breaks per pixel from a multi-band reflectance series.
climatology Mean, std, min and max by calendar month / day-of-year / season over a base ``period``.
harmonic_fit Per-pixel harmonic regression (Fourier series + optional linear trend).
interpolate Fill NaNs by linear interpolation in time (respecting actual acquisition dates).
phenology Seasonal metrics by the amplitude-threshold method (Jönsson & Eklundh 2004, TIMESAT).
savgol Savitzky–Golay filter along time.
tci Temperature Condition Index: ``100 (max - LST) / (max - min)`` (hot = stressed = low).
vci Vegetation Condition Index (Kogan 1995): ``100 (NDVI - min) / (max - min)`` per calendar
vhi Vegetation Health Index ``alpha * VCI + (1 - alpha) * TCI``.
whittaker Whittaker smoother (Eilers 2003): minimizes ``|y - z|^2 + lambda |D^d z|^2``.
=== geolattice.rsense.classify (13) ========================================
Classifier Pixel/object classifier or regressor with automatic CPU/GPU engine selection.
accuracy_report Overall accuracy, Cohen's kappa, per-class user's/producer's accuracy and F1.
cluster Unsupervised k-means classification of a feature Dataset (fit on a random sample).
confusion_matrix Confusion matrix with rows = map (predicted) classes, columns = reference classes.
cva Change Vector Analysis: magnitude and direction of spectral change.
extract_samples Extract feature values at training samples.
image_difference Difference image with changes flagged beyond ``k`` standard deviations of the difference.
olofsson Area-adjusted accuracy and area estimation (Olofsson et al. 2014, stratified random sampling).
post_classification From-to change analysis of two classified maps.
segment Segment an image into objects (superpixels). Bands are min-max scaled first.
segment_features Per-segment statistics (mean, std, min, max, median) for each band, plus shape
segment_labels Majority label per segment from training points/polygons (for training an OBIA model).
segments_to_raster Map per-segment values (indexed by segment id) back onto the segment raster.
=== geolattice.rsense.dl (30) ========================================
CNN3D Compact 3-D CNN on ``(B, 1, bands, p, p)`` patches (joint spectral–spatial kernels).
HSIPatchDataset Patches ``(1, bands, p, p)`` (or spectra ``(bands,)`` with ``patch=1, flat=True``)
HybridSN HybridSN (Roy et al. 2020): three 3-D convolutions followed by a 2-D convolution.
SpectralCNN1D 1-D CNN on single-pixel spectra (input ``(B, bands)``).
SpectralTransformer Transformer over groups of neighbouring bands (SpectralFormer-style group-wise
block_split Split labelled pixels into train/test masks by whole spatial blocks of ``block`` pixels,
predict_hsi_map Classify every valid pixel of ``cube`` with the patch size, normalisation and class codes
train_hsi_classifier Cross-entropy training; keeps the weights with the best validation accuracy.
PointBlockDataset Fixed-size point samples from square blocks of one or more PointClouds.
PointNet2Seg PointNet++ single-scale-grouping segmentation network (Qi et al. 2017b).
PointNetSeg Vanilla PointNet segmentation network (Qi et al. 2017a), without T-nets.
predict_point_segmentation Label every point of ``pc`` by sweeping blocks (same size/features/statistics as the
train_point_segmentation Train a point segmentation model with cross-entropy (labels -100 are ignored).
RasterTileDataset Tiles from an image (band, y, x) and optional label raster (y, x) as a torch Dataset.
UNet Built-in U-Net instance (no extra dependencies).
adapt_first_conv Return a copy of a ``nn.Conv2d`` accepting ``in_channels``, reusing pretrained RGB weights.
band_stats Per-band mean and std (from a random pixel sample) for normalization. ``image``: (band, y, x).
build_detector Create a torchvision detector (``num_classes`` includes background for R-CNNs).
build_segmentation_model Create a segmentation network.
export_onnx Export a segmentation model to ONNX (dynamic batch/height/width) for CPU inference.
from_torchgeo Instantiate a TorchGeo benchmark dataset by class name, e.g. ``from_torchgeo("EuroSAT")``.
grid_windows Top-left corners of a regular tile grid covering the image (last tiles snapped to the edge).
labels_from_vectors Rasterize labelled polygons onto the image grid → (label raster, {class_name: code}).
lightning_task Wrap a model in a LightningModule for multi-GPU / multi-node training::
make_loader
predict_detection Sliced detection over a large image with global NMS → GeoDataFrame of boxes in map units.
predict_segmentation Run a segmentation model over an arbitrarily large image (band, y, x).
random_flip_rotate Simple geometric augmentation: random flips and 90° rotations (image and mask together).
train_detection Train a torchvision detector. Batches must be ``(images: list[Tensor], targets: list[dict])``
train_segmentation Train a segmentation model with cross-entropy (plain PyTorch, single device).
=== geolattice.rsense.fusion (6) ========================================
compare Agreement metrics between two co-registered rasters: R², RMSE, MAE, bias, n.
sar_gap_fill Fill cloudy (NaN) optical pixels from co-registered SAR features of the same date.
stack_features Align datasets to the grid of ``sources[reference]`` and merge their variables.
starfm Predict a fine-resolution image at t2 from a fine/coarse pair at t1 and coarse at t2.
train_wall_to_wall Model a sparse lidar/field variable (e.g. GEDI RH98, plot AGB) from wall-to-wall rasters
upscale Aggregate a fine raster (e.g. UAV) onto a coarse grid (e.g. Sentinel-2).
=== geolattice.rsense.xai (12) ========================================
BufferedKFold K-fold (random or block) where training samples within ``buffer`` (map units) of any
ConformalClassifier Split-conformal prediction sets (LAC score ``1 - p_true``; Sadinle et al. 2019).
ConformalRegressor Split-conformal intervals (Lei et al. 2018), optionally normalized by a difficulty model.
SpatialBlockCV K-fold over square spatial blocks of side ``block_size`` (map units), assigned to folds
SpatialClusterCV K-fold over k-means clusters of the sample coordinates (spatially contiguous folds).
aoa Map the Dissimilarity Index and the Area of Applicability for a feature raster.
coverage Empirical coverage of intervals.
cross_validate_spatial Run cross-validation with a spatial splitter; returns per-fold scores and the mean.
dissimilarity_index Dissimilarity Index of new data to training data, plus the AOA threshold.
permutation_importance Drop in score when each feature (or feature ``groups``, e.g. all S1 bands) is shuffled.
shap_importance Mean |SHAP| per feature (averaged over classes for multiclass).
shap_values SHAP explanation object (TreeExplainer for tree ensembles, else a model-agnostic
=== geolattice.rsense.viz (7) ========================================
interactive_map Interactive web map with raster and vector layers (leafmap). ``split=(left, right)``
plot_pointcloud 3-D view of a PointCloud with PyVista (interactive) or matplotlib (fallback, subsampled).
plot_raster Plot a single-band raster (continuous or categorical with ``{value: (label, color)}``).
plot_rgb Show an RGB composite with map coordinates.
plot_timeseries Plot pixel time series at named (x, y) points, or the spatial ``agg`` if none given.
rgb Build a display-ready RGB composite DataArray (y, x, rgb), each band stretched 0-1.
stretch Scale an array to 0-1 for display (NaN preserved).
=== geolattice.rsense.scale (5) ========================================
export_stac Create a self-contained STAC catalog with one item per raster file.
open_cube Open a Zarr cube lazily with its native chunks and CRS.
rechunk_for Rechunk a Dataset/DataArray for spatial-first (``time=None`` → -1 keeps full time
start_cluster Start a Dask ``Client``.
to_zarr_cube Write (or append along ``append_dim``) a cube to Zarr with sensible chunks/compression.
=== geolattice.rsense.apps (3) ========================================
create_app Copy a template app to ``path``; run it with ``streamlit run <file>``.
launch Copy a template to a temp dir and launch it with Streamlit.
list_templates