Skip to contents

Calculates spawning output per recruit at age and year using length-based maturity and fecundity scaling.

Usage

get_phi(log_psi, length_m50, length_m95, length_mu_ysa, length_sd_a, dl_yal)

Arguments

log_psi

Numeric log-scale fecundity scaling exponent.

length_m50

Numeric length (cm) at 50% maturity.

length_m95

Numeric length (cm) at 95% maturity.

length_mu_ysa

A 3D array of expected mean length-at-age with dimensions year by season by age.

length_sd_a

A vector of standard deviations of length-at-age indexed by age.

dl_yal

A 3D array of length distribution weights with dimensions year by age by length bin.

Value

A matrix of normalized spawning output-at-age with dimensions (n_year + 1) by n_age.