get_tp

Gets scaled age and length at puberty, birth

Contents

Syntax

varargout = get_tp(p, f, tel_b, tau)

Description

Obtains scaled ages, lengths at puberty, birth for the std model at constant food, temperature; Assumes that scaled reserve density e always equals f; if third input is specified and its second element is not equal to second input (if specified), get_tpm is run.

Input

    or 3-vector with scaled age at birth, reserve density and length at 0
* tau: optional n-vector with scaled times since birth

Output

Remarks

Function get_tp_foetus does the same for foetal development; the result depends on embryonal development. A previous version of get_tp had as optional 3rd input a 2-vector with scaled length, l, and scaled maturity, vH, for a juvenile that is now exposed to f, but previously at another f. Function get_tpm took over this use. Optional inputs might be empty

Example of use

tau_p = get_tp([.5, .1, .1, .01, .2]) or tvel = get_tp([.5, .1, .1, .01, .2],[],[],0:0.014:)