This portable implementation follows the core gediRat algorithm: Gaussian
footprint weighting, optional return-density normalization, vertical
binning, pulse convolution, separation of LAS class 2 ground returns, and
unit-integral normalization. Vectorized binning replaces the original point
loop while avoiding its native GSL/GDAL build stack.
gediWFSimulator(
input,
output = tempfile(fileext = ".h5"),
ground = TRUE,
ascii = FALSE,
waveID = NULL,
coords = NULL,
listCoord = NULL,
gridBound = NULL,
gridStep = 30,
pSigma = -1,
pFWHM = 15,
pRes = NULL,
fSigma = 5.5,
res = 0.15,
decimate = 1,
maxBins = 1024L,
countOnly = FALSE,
method = c("count", "intensity", "fraction"),
normalize = TRUE,
density_res = 1.5,
intensity_threshold = 6e-04,
noise = 0,
keepOld = FALSE,
seed = NULL,
...
)A gedi.level1b object, or a waveform table when ascii=TRUE.
LAS/LAZ paths, a lidR::LAS, SpatVector, or table with X/Y/Z.
Output HDF5 path.
Retained for compatibility; ground returns remain in the waveform.
Return/write a simple ASCII waveform instead of HDF5.
Optional waveform identifiers.
A coordinate pair or matrix of footprint centers.
Text file containing footprint centers.
Optional c(xmin, xmax, ymin, ymax) simulation grid.
Grid spacing in input coordinate units.
Pulse sigma in meters. A negative value derives it from pFWHM.
Pulse full width at half maximum in nanoseconds.
Pulse sampling resolution. The default uses res, matching
gediRat unless its -pRes option is supplied.
Footprint sigma in input coordinate units.
Vertical waveform resolution.
Probability of retaining an ALS return.
Maximum number of waveform bins.
Use count-based returns rather than ALS intensity. Gaussian footprint weights are still applied.
Waveform contribution: "count", "intensity", or
"fraction". countOnly = TRUE selects "count" for compatibility.
Correct for local ALS sampling density, as in the original simulator's default behavior.
Cell size used for sampling-density normalization.
Smallest retained Gaussian footprint weight.
Relative Gaussian noise standard deviation. For example,
noise = 0.03 adds noise with a standard deviation equal to three percent
of the waveform maximum. Zero leaves the waveform unchanged.
Do not overwrite an existing output file.
Optional random seed.
Compatibility arguments accepted from the original simulator.
Hancock et al. (2019) tools:::Rd_expr_doi("10.1029/2018EA000506")