sdwba_resample: Resample shape for SDWBA model with piecewise constant radius

View source: R/utilities.R

sdwba_resampleR Documentation

Resample shape for SDWBA model with piecewise constant radius

Description

This function resamples the shape of a fluid-like scatterer (FLS) object for use in stochastic distorted wave Born approximation (SDWBA) calculations. The resampling preserves the overall shape of the scatterer while creating a new representation with the specified number of segments. The radius assignment uses a stepwise algorithm to maintain piecewise constant radius values across segments.

Usage

sdwba_resample(object, n_segments)

Arguments

object

FLS-class object to resample

n_segments

Number of segments in the resampled shape

Value

FLS object with resampled shape


brandynlucca/acousticTS documentation built on July 4, 2025, 12:43 a.m.