Skip to contents

This function extracts the self-spectra (SSA) data matrix for a given antenna from a SeaSondeRCS object.

Usage

seasonder_getSeaSondeRCS_antenna_SSdata(seasonder_cs_object, antenna)

Arguments

seasonder_cs_object

A SeaSondeRCS object containing spectral data.

antenna

An integer specifying the antenna number (1, 2, or 3).

Value

A matrix containing the self-spectra data for the specified antenna. If the antenna number is invalid, an error is thrown.

Details

The function constructs the matrix name dynamically by appending the antenna number to the prefix "SSA" (e.g., "SSA1", "SSA2", or "SSA3"). It then retrieves the corresponding matrix from the SeaSondeRCS data using seasonder_getSeaSondeRCS_dataMatrix.

See also

seasonder_getSeaSondeRCS_dataMatrix for extracting specific data matrices. seasonder_getSeaSondeRCS_data for retrieving the complete data structure.