seasonder_setFOR_fdown {SeaSondeR}R Documentation

Set FOR Dropoff Threshold (fdown)

Description

This function sets the power dropoff threshold (fdown) used to define the lower limit of the first-order region.

Usage

seasonder_setFOR_fdown(seasonder_cs_object, fdown)

Arguments

seasonder_cs_object

A SeaSondeRCS object with FOR parameters.

fdown

A numeric value specifying the new dropoff threshold.

Value

The updated SeaSondeRCS object with the new fdown value.

Examples

# Set sample file paths
cs_file <- system.file("css_data/CSS_TORA_24_04_04_0700.cs", package = "SeaSondeR")
apm_file <- system.file("css_data/MeasPattern.txt", package = "SeaSondeR")
# Read the antenna pattern file to create a SeaSondeRAPM object
apm_obj <- seasonder_readSeaSondeRAPMFile(apm_file)
# Create a SeaSondeRCS object from a spectral file
cs_obj <- seasonder_createSeaSondeRCS(cs_file, seasonder_apm_object = apm_obj)
cs_obj <- seasonder_setFOR_fdown(cs_obj, 12)

[Package SeaSondeR version 0.2.8 Index]