InternalModesTransform
Apply vertical modal transforms and compute vertical modal spectra.
Declaration
classdef InternalModesTransform < CAAnnotatedClassOverview
InternalModesTransform stores forward and inverse vertical
operators for one InternalModesBasis. It works only on vertical
scalar fields or modal coefficients; full wave-vortex state
projectors remain outside this package.
For modal coefficients \(p_j\) and \(q_j\), the vertical cross-spectrum is
\[S[p,q]_j = m\,s_j\,\Re\{p_j q_j^*\},\]where \(s_j\) is the component spectral weight and \(m\) is an optional horizontal multiplicity supplied by the caller.
coefficients = transform.projectVertical(profile,component="G");
spectrum = transform.spectrum(coefficients,component="G");
Topics
- Inspect transform properties
DWater-column depth used by the barotropic F spectral weight.N2Buoyancy frequency squared sampled atz.componentRoleFF component role label.componentRoleGG component role label.conditionNumberFCondition-number diagnostic for the F forward operator.conditionNumberGCondition-number diagnostic for the G forward operator.f0Coriolis parameter used by the source mode solve.forwardFForward F projection matrix from samples to modal coefficients.forwardGForward G projection matrix from samples to modal coefficients.forwardProjectionAvailableFTrue when a canonical F projection exists for this basis.forwardProjectionAvailableGTrue when a canonical G projection exists for this basis.gGravitational acceleration used by the source mode solve.gramErrorFRelative round-trip error for the retained F modes.gramErrorGRelative round-trip error for the retained G modes.hFEquivalent depths for retained F modes.hGEquivalent depths for retained G modes.inverseFInverse F reconstruction matrix from coefficients to samples.inverseGInverse G reconstruction matrix from coefficients to samples.kappaHorizontal wavenumber metadata.nonlinearAliasLimitNumber of modes allowed by the nonlinear aliasing policy.omegaFrequency metadata.problemTypeText label identifying the source vertical eigenvalue problem.projectionResolvedModesNumber of modes accepted by the projection-quality diagnostic.rejectedModesFRejected F mode numbers.rejectedModesGRejected G mode numbers.retainedModesFRetained F mode numbers.retainedModesGRetained G mode numbers.selectionReasonPrefix-selection reason for model-style transforms.sourceDescriptionText label identifying the source solver or factory path.transformStatusFF transform construction status.transformStatusGG transform construction status.weightsFQuadrature weights used to build F numerical projections.weightsGQuadrature weights used to build G numerical projections.zDepth grid for vertical fields acted on by this transform.
- Apply vertical transforms
crossTransformToMap coefficients from a target transform into this transform.forwardReturn a forward vertical projection matrix.inverseReturn an inverse vertical reconstruction matrix.projectVerticalProject vertical samples onto modal coefficients.reconstructVerticalReconstruct vertical samples from modal coefficients.
- Analyze vertical spectra
crossSpectrumCompute a vertical modal cross-spectrum.spectralWeightsFParseval weights used for F modal spectra.spectralWeightsGParseval weights used for G modal spectra.spectrumCompute a vertical modal auto-spectrum.
- Persist vertical transforms
InternalModesTransformCreate a vertical transform from canonical persisted state.
- Other
Developer Topics
These items document internal implementation details and are not part of the primary public API.
- Developer topics
modeFF-mode coordinate used by annotated NetCDF persistence.modeGG-mode coordinate used by annotated NetCDF persistence.withDiagnosticsReturn a copy with updated selection diagnostics.zIndexRow coordinate used by annotated NetCDF persistence.